Download MetaTrader 5

taking variables

To add comments, please log in or register
pascalboy
238
pascalboy  
Hi,
Is it possible to take variables from scripts,indicator or expert files for using in an other program(ea)?
darksideofthemoon
57
darksideofthemoon  

Your question is ambiguous.

If you mean that a variable is available across programs, then yes, use global variables of the terminal.

Simon Gniadkowski
Moderator
18023
Simon Gniadkowski  
pascalboy:
Hi,
Is it possible to take variables from scripts,indicator or expert files for using in an other program(ea)?

No you cannot except for buffer values from Indicators, you can get these using iCustom().

You can pass data from Indicators, EAs and Scripts using GlobalVariables for numeric data not for strings or files for all variable types.

To add comments, please log in or register