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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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!