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)
    תמונת-בזק
  • 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.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.