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
Ok, so your statement is about indicator buffers, not about regular timeseries (quotes), which are supported by the terminal in such a way, that upon any shrinking of bars the recent part is kept and outdated is removed.
You want MQ to do the same thing for custom indicator buffers, but I'm not sure this is doable/applicable for any indicator. For example, I have an indicator which shows bar numbers. If MT5 would simply cut off starting bars, the numbering would be incorrect because it become starting from a non-zero. Other use-cases also could vote for complete recalculation.
For the sake of memory efficiency it would be even better to implement all timeseries as a ring buffer, allocated only once for the predefined number of bars. But it would again break some custom indicators, so I doubt either suggestion would ever be implemented in MT5.