I'm trying to set up a strategy/backtest where it goes long when a new column of blue X's begins. It'll go short when a new column of red O's begins.
The stop loss & target would be N number of ticks.
Can someone help me out with this?
The problem I'm having is that I can't make it recognize when it starts a new column of X's or O's. In the attached screen shot, I'm using box size = 1, reversal = 3.
Seems like a condition stating when price moves 4 ticks down in a rising column of blue X's or 4 ticks up in a falling column of red O's would do it but can't quite get it.
I thank you in advance, JM
Comment