OPEN-SOURCE SCRIPT
Triangular Hull Moving Average + Volatility [BigBeluga]

This indicator combines the Triangular Hull Moving Average (THMA) with a volatility overlay to provide a smoother trend-following tool while dynamically visualizing market volatility.
🔵Key Features:
🔵Usage:
This tool is ideal for traders who want a responsive moving average with volatility insights to enhance their trend-following strategies.
🔵Key Features:
- THMA-Based Trend Detection: The indicator applies a Triangular Hull Moving Average (THMA) to smooth price data, reducing lag while maintaining responsiveness to trend changes.Pine Script®// THMA
thma(_src, _length) =>
ta.wma(ta.wma(_src,_length / 3) * 3 - ta.wma(_src, _length / 2) - ta.wma(_src, _length), _length) - Dynamic Volatility Bands: When enabled, the indicator displays wicks extending from the THMA-based candles. These bands expand and contract based on price volatility.
- Trend Reversal Signals The indicator marks trend shifts using triangle-shaped signals:
- Upward triangles appear when the THMA trend shifts to bullish.
- Downward triangles appear when the THMA trend shifts to bearish. - Customizable Settings: Users can adjust the THMA length, volatility calculation period, and colors for up/down trends to fit their trading style.
- Informative Dashboard: The bottom-right corner displays the current trend direction and volatility percentage, helping traders quickly assess market conditions.
🔵Usage:
- Trend Trading: The colored candles indicate whether the market is trending up or down. Traders can follow the trend direction and use trend reversals for entry or exit points.
- Volatility Monitoring: When the volatility feature is enabled, the expanding or contracting wicks help visualize market momentum and potential breakout strength.
- Signal Confirmation: The triangle signals can be used to confirm potential entry points when the trend shifts.
This tool is ideal for traders who want a responsive moving average with volatility insights to enhance their trend-following strategies.
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.
For quick access on a chart, add this script to your favorites — learn more here.
🔵Gain access to our powerful tools : bigbeluga.com
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
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.
For quick access on a chart, add this script to your favorites — learn more here.
🔵Gain access to our powerful tools : bigbeluga.com
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
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.