Download MetaTrader 5

Updating indicator display when market is closed

To add comments, please log in or register
Andriy Moraru
1258
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?

To add comments, please log in or register