[MT5] MTF Indicator Trick on weekends. - page 3

 
Ziheng Zhuang:



The OnInit() is not called,so there is no re-initialization of indicator.

I should have written "update" instead of "re-initialization". OnInit() doesn't have to be called, that's normal as nothing changed except the data availability.
 
Alain Verleyen:
I should have written "update" instead of "re-initialization". OnInit() doesn't have to be called, that's normal as nothing changed except the data availability.


OK,I see.

Becasue I use ChartSetSymbolPeriod(0,NULL,0) ,the symbol/tf is not changed  so there is no re-initialization.

Thank you for your time.

Reason: