Global Variables

 

Hi, The following article 

https://www.metatrader5.com/en/terminal/help/algotrading/service_global

says

"Global variables are used for quick transfer of small amounts of data between Expert Advisors, as well as for providing conflict-free simultaneous operation of several Expert Advisors in the platform"


But only one EA per chart tab is possible, does simultaneous operation refer then to running EA's on different tabs

(each with its own EA) and thus communicating with each other?

Global Variables - Algorithmic Trading, Trading Robots - MetaTrader 5 Help
Global Variables - Algorithmic Trading, Trading Robots - MetaTrader 5 Help
  • www.metatrader5.com
Global variables are used for quick transfer of small amounts of data between Expert Advisors , as well as for providing conflict-free simultaneous...
 
Yes, one EA on one chart.
 
cmarconetti: The following article, https://www.metatrader5.com/en/terminal/help/algotrading/service_global says "Global variables are used for quick transfer of small amounts of data between Expert Advisors, as well as for providing conflict-free simultaneous operation of several Expert Advisors in the platform". But only one EA per chart tab is possible, does simultaneous operation refer then to running EA's on different tabs (each with its own EA) and thus communicating with each other?

The documentation (not an Article), is referring to the fact that EAs (each running on their respective charts) can intercommunicate with each other via the use of Global Terminal Variables.

However, it is not limited to EAs. It can also be used by Indicators, Scripts and Services — "Global variables of the client terminal are accessible simultaneously from all mql5 programs launched in the client terminal."

Documentation on MQL5: Global Variables of the Terminal
Documentation on MQL5: Global Variables of the Terminal
  • www.mql5.com
Global Variables of the Terminal - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: