Refresh function on a chart

 

After downloading history data, when we press refresh button, journal displays a message "xxx" bars downloaded.

Can anyone explain what is happening behind the scene? Does it mean that history data had gaps and refresh button brings in additional data

to fill in the gap? And if so where that is coming from?

 
Prataprai Kaneria: when we press refresh button, journal displays a message "xxx" bars downloaded. Can anyone explain what is happening behind the scene? And if so where that is coming from?
The earliest bar to the latest (minimum 2K bars,) from your broker, replaces any bars in that range. It means nothing more.
 
Thanks.
 

My broker is oanda.com (usa). At least once a week I have to do refresh to make sure that data is up-to-date when backtesting. With other brokers that I used before this did not happen.


2017.08.12 23:30:59.609    HistoryCenter: 2 bars imported in 'EURCAD1'
2017.08.12 23:30:59.173    HistoryCenter: synchronize 'EURCAD1'
2017.08.12 23:30:52.672    HistoryCenter: 2 bars imported in 'EURCAD43200'
2017.08.12 23:30:52.373    HistoryCenter: synchronize 'EURCAD43200'
2017.08.12 23:30:45.873    HistoryCenter: 2 bars imported in 'EURCAD10080'
2017.08.12 23:30:45.601    HistoryCenter: synchronize 'EURCAD10080'
2017.08.12 23:30:39.600    HistoryCenter: 4196 bars imported in 'EURCAD1440'
2017.08.12 23:30:39.162    HistoryCenter: synchronize 'EURCAD1440'
2017.08.12 23:30:32.662    HistoryCenter: 7168 bars imported in 'EURCAD240'
2017.08.12 23:30:32.069    HistoryCenter: synchronize 'EURCAD240'
2017.08.12 23:30:24.490    HistoryCenter: 7168 bars imported in 'EURCAD60'
2017.08.12 23:30:23.895    HistoryCenter: synchronize 'EURCAD60'
2017.08.12 23:30:15.894    HistoryCenter: 7168 bars imported in 'EURCAD30'
2017.08.12 23:30:15.310    HistoryCenter: synchronize 'EURCAD30'
2017.08.12 23:30:07.768    HistoryCenter: 7168 bars imported in 'EURCAD15'
2017.08.12 23:30:07.239    HistoryCenter: synchronize 'EURCAD15'
2017.08.12 23:30:01.238    HistoryCenter: 14336 bars imported in 'EURCAD5'
2017.08.12 23:30:00.605    HistoryCenter: synchronize 'EURCAD5'
2017.08.12 23:29:54.104    HistoryCenter: 28672 bars imported in 'EURCAD1'
2017.08.12 23:29:53.223    HistoryCenter: synchronize 'EURCAD1'

 
Prataprai Kaneria: At least once a week I have to do refresh to make sure that data is up-to-date when backtesting.
Unless the current chart is the specific pair/TF referenced, you must handle 4066/4073 errors.
 
Thanks.
Reason: