Solve Stoploss Slippage
keep the same stoploss just like demo
A stop loss is a pending order on your broker. They cannot guarantee where it gets hit and you cannot know in advance as the market condition determines slippage.
A stop loss is a pending order on your broker. They cannot guarantee where it gets hit and you cannot know in advance as the market condition determines slippage.
I see, with other trades (online) I've seen stop loss hit the specific stop loss all the time
The code I posted above does not solve my problem, in my EA it consists of breakeven, trailing stops & pending price trail do you think any of these might cause slippage?
Hi all
How do you solve stop loss slippage. On a demo account account the stoploss is hits the stoploss perfectly but on a real account it's a different story (Using the same ECN Broker).
Below I attached images to look at the different Stop loss for demo account:
For real account here here is the stoploss:
How do you solve this in MQL4 code? I know you cannot completely reduce slippage. I just want to know how to keep the same stoploss just like demo. here is my code to solve it in MQL4 but it does not solve the problem.
double SLBuy=Bid-StopLoss*Pips(); SLBuy=AdjustSLForSlippage(OP_BUYSTOP,SLBuy,Slippage);double SLSell=Bid+StopLoss*Pips(); SLSell=AdjustSLForSlippage(OP_SELLSTOP,SLSell,Slippage);