Coding question

 

Can an EA read notifications for indicators? If yes, how?

Regards 

 
Your question is unclear. Please provide more details.
 
Alain Verleyen:
Your question is unclear. Please provide more details.

I have a indicator that tells me when to enter a trade

like

BUY EURUSD TP 1.10 SL 1.08

that is a notification

how do I make an EA read it? 

 
John McClark:

I have a indicator that tells me when to enter a trade

like

BUY EURUSD TP 1.10 SL 1.08

that is a notification

how do I make an EA read it? 

No you can't use notification. You need to use iCustom(), or eventually checking objects drawn on the chart. It depends of the indicator.
 

If you attach the indicator to a chart you can see what values it provides in the DataWindow. You can grip these values with iCustom(..).

If it places objects you can get them as well but this is quite cpu-time consuming.

Reason: