MT5 not partially closing trades when LIVE trading
-
Hi all,
I am having an issue where MT5 does not partially close the position and move SL to break even on LIVE trading. I get the following error when an open trade should have partially closed and SL moved:

This issue does not occur during MT5 strategy testing. I suspect the issue to have something to do with the "Slippage" option of the "Close Partially" block.

I would like for my EA to execute the partial close order and move SL to break-even regardless of any slippage. What would be the best way to do this?
Shared Project: https://fxdreema.com/shared/QfB0cqqGd
-
why did you manually set the slippage to 10?
Slippage means you are willing to accept up to a 10 pip slip in price when closing or opening a trade with your broker.
For each trade, thats spread + slippage + fees + connection latency
= min profit target. -
@mooglit Just curious. Whay do you need that 'once per tick' block? Those blocks are on the 'on tick' tab so they will always be executed once per tick.