multichart/timeframe scanning : help me with ideas
suppose, Broker offers 260 instruments . Each instruments got 7 time-frames which i want to scan for.(5,15,30,60,240,1440,10080)
for each intruments & each timeframes, i need to save info like :
bool Trading_allowed_on_M5 = true;
Im currently using an array
It may not be a smart way to do it(using arrays), i think there can be simpler ways to achieve this. Maybe class/struct?? but not sure how long they stay alive in memory.
Any simpler ways would be great.
Nothing is more simple then an array.
yes you are right. The code size is getting tremendous --following this traditional ways tho. But i couldn't find any better/simpler ways.
suppose, Broker offers 260 instruments . Each instruments got 7 time-frames which i want to scan for.(5,15,30,60,240,1440,10080)
for each intruments & each timeframes, i need to save info like :
bool Trading_allowed_on_M5 = true;
Im currently using an array
It may not be a smart way to do it(using arrays), i think there can be simpler ways to achieve this. Maybe class/struct?? but not sure how long they stay alive in memory.
Any simpler ways would be great.