Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | Exp TralingStop

MetaTrader Experts, Indicators, Scripts and Libraries

The EA moves a stop loss (pushing it closer to the price) to a predefined fixed distance from the current price.

//+----------------------------------------------+
//| Expert Advisor input parameters              |
//+----------------------------------------------+
input uint   TralingStop=500;     //position stop loss in points
input uint    Deviation_=10;      //max price deviation in points
//+----------------------------------------------+
16830

Best MetaTrader Indicators + Profitable Expert Advisors