hajixde

Hi/Lo Swing Index [by hajixde]

hajixde Updated   
Author: Hajixde
This indicator illustrates the High-to-Low variation. It works nicely on shorter time frames.
The index value is calculated based on the observation length (Memory Length). By changing this input, you can have a wider or shorter observation range.
MA Length is the moving average filter length, which smooths out the signal.
There is an additional smoothing function to make the output even smoother (Smoothing Length). Remember, that "Smoothing Length" is better to be less than "MA Length".
You may activate the trend direction.
Release Notes:
In this release, you can change the resolution.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?