I don't know of any limitations.
When discussing global variables, please make it clear whether you are referring to globally declared variables or Global Variables of the client terminal.
GumRai:
Good point. Sorry. I'm asking about the Global Variables of the client terminal.
I don't know of any limitations.
When discussing global variables, please make it clear whether you are referring to globally declared variables or Global Variables of the client terminal.
I ran this in a script
for(int x=0; x<10000; x++) GlobalVariableSet("GV"+IntegerToString(x),x); GlobalVariablesFlush(); Print("Total GVs=",GlobalVariablesTotal());
It quite surprised me that it took 20 seconds to run the script, quite slow really.
Anyway, I got to over 120,000 GVs

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
No problem with code or anything. Just wondering here before I set off on an adventure (that will probably end in a horrific crash. :) )
Is there any hard and fast limitations on how many global variables that can be set?