Forum

Missing data when restarting MT4 after some time.

I made an indicator an indicator to plot vlines on every candle but when closing the MT4 and opening it again after some time, there is also gap where there is no plotted vlines. See image below: I closed the MT4 then open it again after 3 minutes. Here is the code: #property copyright "Copyright

Indicator Buffer issue

I have an indicator that adds values to the previous value of the buffer. My formula is: buffer[i] = buffer[i+1] + some_values Now the problem is after sometime when attaching the indicator to the chart, all the values indicator repaint. See images below: After attaching to chart: After sometime or