Forum

Indicator not updating with new candles

Hello everyone, I found this MT5 indicator: //+------------------------------------------------------------------+ //| Volume_Delta.mq5 | //+------------------------------------------------------------------+ #property copyright "avoitenko" #property

Indicator not updating with new candles

Hello everyone, I found an MQL5 indicator however it has an issue, it doesn't update the values in the data window with new candles. I have a feeling this has to do with the for loop in OnCalculate() and I tried replacing it with int from2= MathMax ( 0 ,prev_calculated- 1 ); for ( int

Failing to convert very simple indicator from MQL4 into MQL5

Hello everyone, I have an extremely simple mq4 indicator that displays the upticks and downticks in the buffers for each candle. I am not competent with MQL5 and consequently have failed at converting the indicator into an MQ5 file. I would appreciate a clear explanation and solution as to what I am