Dear all,
How can I run some code on candle opening/closing or once per candle? I am building an EA based on moving average crossover, but a crossover can happen multiple times in one period (one 4H candle for example) and I want to open only one trade, not multiple trades (one every time the crossover happens).
Thank you in advance!!!