Announcement

Collapse
No announcement yet.

Strategy.doLong question

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

  • Strategy.doLong question

    How do I set up an entry to occur, only if the nextbar after my trigger bar, goes above the trigger bars high? For example, on the ES if my trigger bar's high was 1113, then I only want to trigger an entry if the next bar goes to 1113.25.

    Thanks for any help,

    Steve

  • #2
    Steve
    An easier way around may be to check if the prior bar meets the conditions for a trigger and if it does then go Long on Strategy.THISBAR using Strategy.STOP and setting the entry price at high(-1)+0.25.
    This would also allow you to use the efs for both back testing and real time as you would not be using Strategy.NEXTBAR
    Alex

    Comment

    Working...
    X