Andriy Moraru:
I have an indicator that needs to gather data from several trading instruments before calculating.
It uses OnTimer event to make sure everything is updated.
However, if the market is closed and the indicator failed to update all the necessary data before the first (and the only one) OnCalculate event is generated, there is no way to generate OnCalculate event and update the indicator's display.
Or am I missing something?
Hey, have you managed to find a solution?
![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
I have an indicator that needs to gather data from several trading instruments before calculating.
It uses OnTimer event to make sure everything is updated.
However, if the market is closed and the indicator failed to update all the necessary data before the first (and the only one) OnCalculate event is generated, there is no way to generate OnCalculate event and update the indicator's display.
Or am I missing something?