The HiLo Activator study is a trend-following indicator introduced as part of the Gann Swing trading strategy. In addition to indicating the current trend direction, this can be used as both entry signal and trailing stop.
There are many scripts already published for this indicator, but I've found they didn't match the original one.
So here it is the Gann HiLo...