I want to make a simple strategy that fades the opening gap but I can't find a way to look only at the first candle of the open as compared to the last of previous close, take opposite position (fade) and then when reached previous close to close position.
In addition when the opening gap is >2% I wish to follow and if it is <2% to fade it
I will use session 09:30-16:15 on TF future
Any hints on how I could set this up for testing?

Comment