Download MetaTrader 5

how can i attach indicator to EA

To add comments, please log in or register
Mohammad Aghaali
1094
Mohammad Aghaali  

Hello

I have an indicator that for example send alert for buy or sell

How can i use it to EA for auto following of indicator ?

I mean how can i force EA to follow indicator alert ?

For example:

if(indicator-test-alert==sell)
ordersend(buy position)

else 
if (indicator-test-alert==buy)
ordersend(sell position)
Thanks
Mladen Rakic
61918
Mladen Rakic  
trader92:

Hello

I have an indicator that for example send alert for buy or sell

How can i use it to EA for auto following of indicator ?

I mean how can i force EA to follow indicator alert ?

For example:

Thanks
iCustom()
whroeder1
15923
whroeder1  
Just get the value of the indicator into the EA and do what you want with it. See Detailed explanation of iCustom - MQL4 forum
To add comments, please log in or register