Can someone help

 

I have an indicator that I want to trade like an EA. I want it to open trade when the buy signals appears on the screen. The EA should exit buy when a sell signal appears. Afterwards the sell signal should now replace the buy signal. The process continues. Buy, then exit buy when we have sell signal, start selling immediately, then exit sell when we have buy.The should have take profit, trailing stop and lot size. Can someone help me with the code

 
 

First look at the MACD sample EA code.

Subsitute the imacd(....etc....) with icustom(...your indicator...)

The rest of the logic should easily follow. e.g. I have a buy and indicator says sell so close current trade.

Next time around indicator still says sell no trades so places a sell trade and visa versa.

 
ayodele7:
I want it to ... Can someone help me with the code
No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.
Reason: