XD-RangeSwitch - indicator MetaTrader 5

Real author: vic2008 Trend indicator. Trend reversal is calculated by the number of candlesticks set in the indicator input parameters. It can be used for setting stop levels. The indicator has been calculated for H2 chart with the input parameter value N=4. ...

from https://tradingrobots.net/xd-rangeswitch-indicator-for-metatrader-5/