I tried to code a strategy based on the Open Range Breakout using the previous daily range as a reference: Buy the Open + 0.50 of the previous daily range.
I noticed that on Mondays, the previous daily range (Friday in this case) is not taken into consideration, and the strategy sometimes executes the trade but not at the predefined 0.50 value.
Note: I tried to define MyRange with High[1] of Data2 - Low[1] of Data2 since Data2 are daily bars, but the same issue persists, thank you.
Can you help answer these questions from other members on futures io?
are you trading futures... if you are then any reference to yesterday on monday will reference sunday's open where the futures market opens sunday afternoon... so on monday, yesterday is sunday, not friday.
cheers
toucan
The following user says Thank You to toucan94506bm for this post: