icustom uses old chart history

 

Hello :-)

I use iCustom to get zigzag values of a predefined list of pairs. The ci cycles through the list and is calling icustom with each pair listed. Opening the chart and refreshing the history (right click on chart -> refresh) leads icustom to get me a different result compared to a not opened and refreshed chart. That occurs not with every pair but frequently with some. How can I refresh all history without opening every chart step by step?

Thanks in advance for any hint.

 
APeng:

Hello :-)

I use iCustom to get zigzag values of a predefined list of pairs. The ci cycles through the list and is calling icustom with each pair listed. Opening the chart and refreshing the history (right click on chart -> refresh) leads icustom to get me a different result compared to a not opened and refreshed chart. That occurs not with every pair but frequently with some. How can I refresh all history without opening every chart step by step?

Thanks in advance for any hint.

Search the forum for error 4066 and do some reading . .
 
So I can refesh history from closed charts with ArrayCopyRates(), right?
Reason: