Announcement

Collapse
No announcement yet.

Creating Buy / Sell conditions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating Buy / Sell conditions

    Hi I am new to esignal and programming and needed help with creating buy and sell conditions.

    The knowledge base has how to create indicators, graphics, and backtesting I didnt see anything that mentions buy/sell (if MA is positive and stoch 10,3,3 is below 20 and price doesnt make new low is previous 3 bars BUY) as an example.....and the formula wizard only uses the built in studies.

    can anyone lead me on how to create buy and sell conditions for a newbie to programming???? really appreciate it.
    ilcaa

  • #2
    ilcaa
    You may want to read through the Guide to Developing eSignal Strategies
    Alex

    Comment


    • #3
      thanks Alex, but that guide says how to tell the programming when to buy the price not what conditions trigger the buying..there is a difference...
      ilcaa

      Comment


      • #4
        ilcaa
        The conditions that trigger a strategy event will depend on the indicators you are using and/or on other events you are taking into consideration. There are several examples of strategies available in these forums and some simple examples are also provided in the BackTesting subfolder of Formulas.
        If you are new to programming in general and/or in efs then perhaps you may want to spend some time using the Formula Wizard (even if it only uses builtin studies) so that you can get acquainted with the syntax and construct required to create a strategy.
        Alex

        Comment


        • #5
          Hello iclaa,

          In the guide that Alex pointed you to there are links to download two complete working examples. You must have missed them on your first pass. Look for Sample_ProfitTargets.efs and Sample_TargetStop.efs.
          Jason K.
          Project Manager
          eSignal - an Interactive Data company

          EFS KnowledgeBase
          JavaScript for EFS Video Series
          EFS Beginner Tutorial Series
          EFS Glossary
          Custom EFS Development Policy

          New User Orientation

          Comment

          Working...
          X