Moving Average Current Price as Entry Point

 

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! 

 
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.
 
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....

Reason: