Is there a danger in using too many global variables? That is, will it degrade the speed of the ea? Are global variables, declared at the beginning before start(), always global in scope, or if having too many global variables, will they not maintain their global scope characteristic, that is, will they not always be recognized in any part of the program including all functions?
- Global variable resettable
- Thank you WHRoeder
- Questions from Beginners MQL5 MT5 MetaTrader 5
No, no, always.
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