Updating indicator display when market is closed

 

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?

 
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?

Reason: