OPEN-SOURCE SCRIPT

OMA-Filtered, Gann HiLo Activator [Loxx]

OMA-Filtered, Gann HiLo Activator [Loxx] is a Gann HiLo activator that uses OMA filtering instead SMA filtering. This GHA calculation also includes a variable for close period to further tune the indicator.

What is Gann HiLo?
The HiLo Activator study is a trend-following indicator introduced by Robert Krausz 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.

Here is how the HiLo Activator is calculated:

1. The system calculates the moving averages of the high and low prices over the last several candles. By default, the average is calculated using the last three candles.

2. If the close price falls below the average low or rises above the average high, the system plots the opposite moving average. For example, if the price crosses above the average high, the system will plot the average low. If the price crosses below the average low afterward, the system will stop plotting the average low and will start plotting the average high, and so forth .

The plot of the HiLo Activator thus consists of sections on the top and bottom of the price plot. The sections on the bottom signify bullish trending conditions. Vice versa, those on the top signify the bearish conditions.

Included
-Toggle bar color on/off
Bands and ChannelsGanngannhiloHILOomaonemoremovingaverage

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Also on:

Disclaimer