Download MetaTrader 5
To add comments, please log in or register
Register as a seller and start offering your signals!
ninja13
17
ninja13 2014.06.04 15:53 

I would like to use my slow MA current price as Entry point after 2 MA cross. 

But my current MA EA, the entry point is either ask or bid after 2 MA cross.  

The coding to open an order in my EA is shown as below:-

1) Buy Order: 

ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,aStopLoss,aTakeProfit,TicketComment,MagicNumber,0,Green); 

 2) Sell order:

 ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,Slippage,bStopLoss,bTakeProfit,TicketComment,MagicNumber,0,Red);

How to amended it in order to use slow MA current price as Entry point?

Please help on this issue.

Thanks! 

whroeder1
13640
whroeder1 2014.06.04 16:30  
ninja13: How to amended it in order to use slow MA current price as Entry point?
You don't. You have to wait until Bid or Ask is on the correct side of your slow MA, and then open.
ninja13
17
ninja13 2014.06.05 01:22  
WHRoeder:
ninja13: How to amended it in order to use slow MA current price as Entry point?
You don't. You have to wait until Bid or Ask is on the correct side of your slow MA, and then open.


Will try, Thanks a lot....

/
To add comments, please log in or register