Script or Command to Synchronize the HistoryCenter

 

Hi there,

From time to time, I have to right click on the price chart and select "REFRESH" to update the HistoryCenter and also the chart price. Is there a command or script that can do this every 30 minutes?

It is rather concerning to get a message like: HistoryCenter: synchronize, 2075 bars imported in "EURUSD1". I leave my computer on 24hours a day; hence, all the data should be synchronized.

 

You can use WinAPI PostMessageA function if you import it: PostMessageA(ChartWindowHandle, 0x0111, 0x822C, 1);

Reason: