Tried to develop a simple strategy where if a determined EMA crosses over the middle line of bollinger it opens long and closes it if the price is same or bigger than top band of bollinger or the same EMA crosses bellow the middle bollinger again. The long is only opened if the crossing is above the 200 EMA.
When activating the strategy on a sim account, the plot shows that the position is not getting exited on the cross bellow. Why would that be happening?
Not closing when crossing bellow. (for ilustration reasons i took the condition to close if it touches top bollinger). It basically opens the position and takes it to the EOD.
Afrer that I will create a condition group for it not to close for a variable number of bars.
Also, sometimes the entry is one bar too late, any way to speed it up to the first bar immediately after crossing ? Tried calculating on price and tick changes.
Comment