OPEN-SOURCE SCRIPT
Updated Gann HiLo Activator

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 Activator as originally developed by Robert Krausz, in a 1998 article in the Stocks & Commodities magazine.
I've also added the option to select the type of Moving Average you would like to use.
Hope you enjoy!
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 Activator as originally developed by Robert Krausz, in a 1998 article in the Stocks & Commodities magazine.
I've also added the option to select the type of Moving Average you would like to use.
Hope you enjoy!
Release Notes
Added alertsRelease Notes
Changed alert settings.Release Notes
Updated to version 5.Release Notes
Updated title.Release Notes
Code refactoringOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.