am sending an order using this statement
TicketOrderBuy=OrderSend(Symbol(), OP_BUY, OrderQuantity, Ask, Slippage, Ask-StopLossPips*Point*PointFactor,
Ask+TakeProfitPips*Point*PointFactor,"", 1, 0, Green);
where in this case PointFactor =1 , stoplevel =0 , StopLossPips and TakeProfitPips are 10
at stoploss argument i am having a differnce of 10 pips from Ask but still am receiving an error of invalid stops . i would be grateful if any will help me getting rid of this error
where in this case PointFactor =1 , stoplevel =0 , StopLossPips and TakeProfitPips are 0
I had a similar problem a couple of days ago and was showed how to fix.
Run this test:
Tell me what the result was, if grey or not.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.