New free code from MQL5: indicators, EAs, and scripts for traders.
The real author:
CrushD
The indicator to trail the stop levels in the Expert Advisors. Up and low boundaries of the channel have individual input parameters for setting:
Capture price channel breakouts with the Price Channel Expert Advisor. Precise entries and exits. Explore now.
input uint UpTrailPeriods=5; //The period of search for high input uint DnTrailPeriods=5; //The period of search for low
This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 28.10.2007.

Fig.1 The CandleStop indicator
Build better strategies with RobotFX professional tools – check them out.
1407