HELPS CREATE A CONDITION FOR MY STRATEGY .
-
I would like to open an order after that :
1, the price moves + X pips from the last touch to the moving average .
2. a "pocket" is created and then touch the moving average to open order.download/file.php?mode=view&id=1240&sid=17501b583c345583f52b187f6e5ba645
......
Screenshot_1.png -
EAs are programs that deal with numbers, they don't understand what "pocket" means
People make indicators to detect patterns, but you know... each indicator has it's own way of doing things, his own settings. It's not that simple to say to the EA - detect that "pocket" for me. -
The pocket is to illustrate . You can help with this condition ?
The price moves " x pips" from the last touch with the moving average and doesnt touch again for a minimum of 3 candles from then on, for example. And when this condition has been met and the moving average is touched again, an order opens. I suppose that this would be another condition. Thank you for your fast reply
-
The only block that can iterate through candles and check something is "Indicator moves within limits". This block can check if for X candles the price was > MA and even allow few exceptions, but you can't specify where which candles can be the exceptions. You can detect if within 10 candles, for 3 of them the price was > than MA, but these candles could be #2, #5 and #7 or any other. Only because of that I think this block is not enough. This job is for some indicator that does exactly this or has tons of settings