Forum

Duplicate indicator at timeframe change - MQL5

On Init() indicatoreHandle = iCustom ( _Symbol , TimeFrame, ".\PathUsata\indicatore.ex5" , Periods, Multiplier); // Aggiunge indicatore al grafico ChartIndicatorAdd ( 0 , 0 , indicatoreHandle ); void OnDeinit ( const int reason) { IndicatorRelease (indicatoreHandle ); Hi everyone In

MQL5 Finding values of a candle in an array

Hello To the group I just started studying MQL5 and I found myself having to solve a simple question for those who are more advanced. I have a period during the day definable by inputs. I check if I'm on period or if period has passed but I'm still on the day. I add the data of the candles in an