SANGBARAN / Publications
Forum
MT5: PositionModify() Fails with Error 4756 While Trying to Move SL to Breakeven on Hedge Trade
Hi all, I'm trying to build a hedge-based EA where: A manual trade is opened (BUY/SELL) If the trade goes into 2-point loss, a hedge trade is opened in the opposite direction Once the hedge trade gains 3+ points, I try to move the hedge trade’s SL to breakeven I am using trade.PositionModify(...) to