How to get data from my technical indicator to my EA?

 

The documentation my MQL4 seems to not be very clear on this: how does my EA get data from my custom technical indicator? Is there an example? I have been making good progress writing my EA and writing my indicator, but I just completely hit a wall when it comes to the EA accessing the buy/sell signal from my indicator. Is this even possible?

I do wish to keep the indicator and the EA separate.

I know the EA calls iCustom to invoke the indicator, but I can't for the life of me figure out how the indicator passes a value back to the EA. If someone can point out what docs cover this specifically or better yet an example EA/indicator combo that does this I'd really appreciate it. And if my EA ever goes live, you can run it for free.

Yes I have posted this message under both EA and indicators, as it seems to blur the line between them.

 
Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I have moved your topic to the MQL4 and Metatrader 4 section.