How to use a variable from one indicator into another indicator

To add comments, please log in or register
Shailesh Mishra
326
Shailesh Mishra  

Hi all,


I want to import a variable x[i] from indicator1.mq4 file and use it in indicator2.mq4file. Is it possible to do this?

Anthony Garot
1819
Anthony Garot  
Shailesh Mishra:

Hi all,


I want to import a variable x[i] from indicator1.mq4 file and use it in indicator2.mq4file. Is it possible to do this?

https://docs.mql4.com/indicators/icustom


Within indicator2, use iCustom() to get value(s) from indicator1.

To add comments, please log in or register