MQL4 EAs vis-a-vis Custom Indicators

Everything related to MT4

MQL4 EAs vis-a-vis Custom Indicators

Postby LunaPark29 » Thu Jul 05, 2012 3:30 am

Here is my question...

If a custom indicator is running on a chart to which an EA is attached, can the EA access the custom indicator's information, and if so, how? I figure it has to be in one of these ways...

(a) it can directly reference the custom indicator's parameter values on the chart for any bar thereon. (If so, how is this referencing done?)
(b) The indicator executable has to be included in the EA via an #include statement, and then the EA is able to reference custom indicator's parameter values. (If so, how is this referencing done?)
(c) The indicator source code has to be cut-and-pasted and "woven into" the source code of the EA.

Which one is it? The more detail there is in your answers, the better. Thanks in advance!

-Luna.
LunaPark29
 
Posts: 2
Joined: Thu Jul 05, 2012 3:14 am

Return to MetaTrader 4



cron