Communication between indicator and expert advisor

[Deleted]  
Dear Forum,

I'd like to design an expert advisor, that makes decisions based on information from indicators.
For example Indicator01 notices a good opportunity and alerts the expert advisor.
The Expert advisor checks this information with other Indicators, to further estimate chances.

In the API I found no way, how an indicator could alert an expert advisor,
nor how an expert advisor could query an indicator for information.

Is there a way to do this?

Thank You!

shinobi
 
[Deleted]  
RaptorUK:

iCustom . . . .

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


Thank you very much. That should allow an Expert Advisor to call an indicator :)

Is the other way also possible? An indicator alerting an Expert Advisor (waking him up)?
 
You could simply build the Indicator code into your EA.
 
shinobi:
Is the other way also possible? An indicator alerting an Expert Advisor (waking him up)?
No need, the same tick that updated the indicator will call the EA
[Deleted]  
Rapor, Roeder,

thanks for your help!
I think I should be able to pull this one off now.

greets
shinobi