Is it possible to pass variable data from an Indicator to an EA? If so, can someone provide and example of how is it done?
the "iCustom" or actually assigning the indicator's value to a variable inside the EA is how this is done...
examples:
double variable.a=iCustom(/*variable parameters*/);
double rsi=iRSI(Symbol(),1440,14,PRICE_CLOSE,0);
in MetaEditor, open the navigator window, click on the search tab, then type "iCustom()", then hit enter. In the toolbox window, the definition for the function "iCustom()" will be displayed.
hope this helps...
the "iCustom" or actually assigning the indicator's value to a variable inside the EA is how this is done...
examples:
double variable.a=iCustom(/*variable parameters*/);
double rsi=iRSI(Symbol(),1440,14,PRICE_CLOSE,0);
in MetaEditor, open the navigator window, click on the search tab, then type "iCustom()", then hit enter. In the toolbox window, the definition for the function "iCustom()" will be displayed.
hope this helps...Thanks for the reply, and the info!
-c

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello everyone,
Is it possible to pass variable data from an Indicator to an EA?
If so, can someone provide and example of how is it done?
Thanks!
-c