hi! I am having difficulties to implement an index based strategy and need help. It’s not about the pattern, but about the conditional entry that I need help.
Setup of the pattern could be like
- take any condition to be true for the pattern today, e.g. high-low > 5
- when the pattern is true today, enter long tomorrow (and only tomorrow), but only when tomorrow’s high is higher than today’s high.
The condition under 2) is like a stop-entry.
Would be thankful if any of you could guide me with a very short code structure given the info above. Thank you.