Alberto: I coded a custom indicator who needs tick data to be rendered, so it starts drawing from the current bar onwards.The weird thing is that from time to time the values of the indicator for the previous rendered bars disappear, like if the indicator was restarted. Any hints?
When the bar count limit for the chart is reached, then it resets because old bar data is discarded and the chart indicators have to be recalculated based on the current bar data.
This can also happen when there is a server re-connection!
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
I coded a custom indicator who needs tick data to be rendered, so it starts drawing from the current bar onwards.
The weird thing is that from time to time the values of the indicator for the previous rendered bars disappear, like if the indicator was restarted.
Any hints?