I programmed a custom indicator that shows the moving average of ATR. This may help you or others to achieve something similar.0_1496012111333_ma_atr.mq4
Thanks but i have tried it and it still not working , could you plz have a look at the below EA and advise what is missing. https://fxdreema.com/shared/SjYXAjYEb
Arrow disappear and then what? Do you want to buy or sell 2 candles after the latest candle with arrow on it? Because then you can just check whether there is an arrow on candle 2.
Where does that error appear? It sounds familiar to me, but not really.
Somewhere in Condition block you can find Heiken-Ashi indicator. This one is listed with the built-in indicators, but uses external .mq4 file (which comes with MetaTrader anyway). I programmed this, because otherwise it's tricky to work with the buffers from this indicator
hi, using these functions you can do it: https://docs.mql4.com/files
...
look at this function: https://docs.mql4.com/files/fileisexist
it is what you need, it checks existence of specific file
so take condition block and try this:
0_1495288391433_upload-42bfc0da-546a-4834-a532-6322c554c7bd