OPEN-SOURCE SCRIPT

Triangular Hull Moving Average + Volatility [BigBeluga]

42 024
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:
  • 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)
    ảnh chụp nhanh
  • Dynamic Volatility Bands: When enabled, the indicator displays wicks extending from the THMA-based candles. These bands expand and contract based on price volatility.
    ảnh chụp nhanh
  • 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.
    ảnh chụp nhanh
  • Customizable Settings: Users can adjust the THMA length, volatility calculation period, and colors for up/down trends to fit their trading style.
    ảnh chụp nhanh
  • Informative Dashboard: The bottom-right corner displays the current trend direction and volatility percentage, helping traders quickly assess market conditions.
    ảnh chụp nhanh


🔵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.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.