Announcement

Collapse
No announcement yet.

Buy over the high(-1)

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

  • Buy over the high(-1)

    Good afternoon.
    I'm trying to build my personal efs.
    I attached here.
    The problem is that I can't to insert in the formula wizard this condition: if all the conditions required will be satisfied, the trading system will go long only over the high(-1) + 1 (point).
    Now, as you can see, the actually strategy in my efs is: MARKET-THIS BAR, and in backtest the system take for the calculation the open price ().
    Can someone help me please?
    Thank you
    Matteo
    Attached Files

  • #2
    Re: Buy over the high(-1)

    Matteo
    The reason the back test is using the Open as the entry price is because you are using Strategy.MARKET.
    To set a specific entry price you need to use either the Strategy.STOP or Strategy.LIMIT methods and set the price to high(-1) + whatever point value you wish to add.
    You may want to review the Back Testing Tutorials 1-3 which are provided in the Help Guides and Tutorials-> Beginner Tutorials folder of the EFS KnowledgeBase and that explain the required logic in detail (together with examples)
    Also try running a search in these forums for either Strategy.STOP or Strategy.LIMIT as there are several examples posted.
    Alex


    Originally posted by principiante1
    Good afternoon.
    I'm trying to build my personal efs.
    I attached here.
    The problem is that I can't to insert in the formula wizard this condition: if all the conditions required will be satisfied, the trading system will go long only over the high(-1) + 1 (point).
    Now, as you can see, the actually strategy in my efs is: MARKET-THIS BAR, and in backtest the system take for the calculation the open price ().
    Can someone help me please?
    Thank you
    Matteo

    Comment

    Working...
    X