Stepwise implementation of strategy
-
Hey there,
I am working on a strategy which looks for several conditions to be met in order to open a buy or sell position. When the first condition is met (in the first ID candle), you should wait for the second condition to be met in the up coming candles. However, it may take an unknown number of candles to see the second condition happen. maybe the second condition happens right after the first condition, maybe it happens 20 candles later.
I was wondering if this is possible to implement this strategy in fxdreema.Albeit, I can set a maximum number of candles to look for after the first condition is met. For instance, I can tell the expert: Hey! when the first condition is met, please wait for 20 candles and see if the second condition happens or not. If it happens, then please open a buy/ sell position for me, If it doesn't, then forget about the whole thing.
-
Set up a test using a flag, one that responds to the 1st condition happening, then reacts to when this wants cancelling, once this works you can add other conditions to place trade.