Trailing stop Percentage EA
It looks like there is an error on line 71
it should be:
if (sl >= MarketInfo(OrderSymbol(),MODE_ASK)+MarketInfo(Symbol(),MODE_STOPLEVEL)*MarketInfo(Symbol(),MODE_POINT) && ((OrderStopLoss() == 0) || OrderStopLoss() > sl)) OrderModify(OrderTicket(),OrderOpenPrice(),sl,0,0);
for sell position new SL must be less than previous.
Hello everyone,
Is somebody kind enough to please help me.
Here's a code that sets up a trailing stop once a profit is reached (10 pips by example), but for example if I put 50% trailing being set up once and then he stopped moving, I would like that It will update if profit becomes larger only, thank you.
(excuse my english )