How "deviation" works ?
- Who can help me?
- The Efficiency of MQL5 Indicators
- How can I trade stocks on Metatrader?
ZeroMemory(request);
request.action=TRADE_ACTION_PENDING;
request.symbol=_Symbol;
request.volume=Lots;
request.type=ORDER_TYPE_BUY_STOP;
request.type_filling=ORDER_FILLING_FOK;
request.deviation=100;
request.sl=NormalizeDouble(last_tick.bid-Safety*_Point+Way*_Point,_Digits);
request.price=NormalizeDouble(last_tick.ask+Way*_Point,_Digits);
hello, i am new to mql5
Can someone help me?
How "request.deviation=100" works here?
then price goes up through buy stop level, can buy dealed price be more than request.price+ 100*_Point?