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
//+----------------------------------------------+
//| Expert Advisor input parameters |
//+----------------------------------------------+
input uint TralingStop=500; //position stop loss in points
input uint Deviation_=10; //max price deviation in points
//+----------------------------------------------+