Hello!
I have a tool (currently an expert, but later it will become an indicator). It works on 28 currency pairs at the same time and on several time planes.
Unfortunately, it sometimes happens that the data of all currency pairs is not updated in the background (charts are not opened).
How can I ensure that all 28 currency pairs and all necessary time frames are stored with fresh data?
Thanks!
I have a tool (currently an expert, but later it will become an indicator). It works on 28 currency pairs at the same time and on several time planes.
Unfortunately, it sometimes happens that the data of all currency pairs is not updated in the background (charts are not opened).
How can I ensure that all 28 currency pairs and all necessary time frames are stored with fresh data?
Thanks!
Inserted Code
int usedTimeFrames[6] = {1, 5, 15, 30, 60, 240};
string pairs[28] =
{
"AUDCAD","AUDCHF","AUDJPY","AUDNZD","AUDUSD","CADCHF","CADJPY",
"CHFJPY","EURAUD","EURCAD","EURCHF","EURGBP","EURJPY","EURNZD",
"EURUSD","GBPAUD","GBPCAD","GBPCHF","GBPJPY","GBPNZD","GBPUSD",
"NZDCAD","NZDCHF","NZDJPY","NZDUSD","USDCAD","USDCHF","USDJPY"
};