Download MetaTrader 5

taking variables

To add comments, please log in or register
Add our channel to friends and follow the news!
pascalboy
238
pascalboy 2014.02.04 21:05 
Hi,
Is it possible to take variables from scripts,indicator or expert files for using in an other program(ea)?
darksideofthemoon
57
darksideofthemoon 2014.02.04 21:47  

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
17998
Simon Gniadkowski 2014.02.04 22:45  
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