George Mburu / Publications
Forum
How to get the SMA of high-low of every candle.
How can I calculate the simple averaege of high-low of a candle in mql5 ? This does not work inside the onCalculate event. iMA(_Symbol,PERIOD_CURRENT,CandleSpreadMa_Period,0,MODE_SMA,high[0]-low[0]);