Geeze! Must have been a late night last night. Can't believe I missed that one!
Thanks Slawa :)
Thanks Slawa :)
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
I see there is a GlobalVariablesTotal() function, but I can't see a way to enumerate them.
Is this possible, where "GVars[i]" is an array of the names of the global variables?:
string gvarName; for(int i=1;i<=GlobalVariablesTotal();i++) { gvarName=GVars[i]; // get the name of the global variable in position [i] in the list of global variables if(StringFind(gvarName, "myGVarPrefix", 0)>0) // this is one of the global variables I'm looking for { // do something with it here } }So, is there something that does what GVars[] does in my example?
Thank you,
Christian