This is a simple Expert Advisor with an implemented trailing stop. It has only two parameters:  TrailingStop â the distance between the price and the Stop Loss level. TrailingStep â protection against to frequent modification of position. ...
from https://tradingrobots.net/trailingstop-expert-advisor-for-metatrader-5/