Tusher Ahmed:
Nothing is more simple then an array.
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.
Alain Verleyen:
Nothing is more simple then an array.
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.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.