OPEN-SOURCE SCRIPT
TMA Volatility Bands

TMA Volatility Bands
TMA Volatility Bands is a trend and volatility indicator built around a smoothed Triangular Moving Average (TMA) and dynamically calculated deviation bands.
The indicator is designed to show the current market trend, volatility range, and potential reversal areas through a structured set of expanding TMA bands.
The TMA acts as the central trend reference, while the surrounding bands expand according to the current deviation of price from the TMA. This creates three volatility levels on both sides of the TMA, helping visualize how far price has moved from its smoothed average.
Main Settings
The central TMA provides a smooth representation of the underlying price trend and reduces short-term market noise.
Three band levels are calculated above and below the TMA. The bands automatically adapt to changing price volatility, creating a dynamic market range.
The first band represents the primary volatility boundary, while the middle and outer bands extend progressively farther from the TMA. This makes it easier to identify stronger extensions in price movement.
The TMA changes color according to the direction and strength of its movement relative to ATR-based volatility. Stronger TMA movement produces a stronger color transition, while weaker movement moves toward a neutral color.
The indicator includes automatic reversal-style signals based on price extending beyond the primary volatility band and then forming an opposite-direction candle.
A Buy signal appears when the previous candle moves below the lower primary band and the current candle closes bullish.
A Sell signal appears when the previous candle moves above the upper primary band and the current candle closes bearish.
Adjustable Settings
TMA Volatility Bands is designed to provide a clean visual framework for analyzing trend direction, volatility expansion, price extensions, and potential reversal areas.
The signals should be used as part of a broader trading strategy and confirmed with price action, market structure, or other analysis tools.
TMA Volatility Bands is a trend and volatility indicator built around a smoothed Triangular Moving Average (TMA) and dynamically calculated deviation bands.
The indicator is designed to show the current market trend, volatility range, and potential reversal areas through a structured set of expanding TMA bands.
The TMA acts as the central trend reference, while the surrounding bands expand according to the current deviation of price from the TMA. This creates three volatility levels on both sides of the TMA, helping visualize how far price has moved from its smoothed average.
Main Settings
- TMA Trend Line
The central TMA provides a smooth representation of the underlying price trend and reduces short-term market noise.
- Dynamic Volatility Bands
Three band levels are calculated above and below the TMA. The bands automatically adapt to changing price volatility, creating a dynamic market range.
- Multi-Level Band Structure
The first band represents the primary volatility boundary, while the middle and outer bands extend progressively farther from the TMA. This makes it easier to identify stronger extensions in price movement.
- Trend Strength Gradient
The TMA changes color according to the direction and strength of its movement relative to ATR-based volatility. Stronger TMA movement produces a stronger color transition, while weaker movement moves toward a neutral color.
- Buy and Sell Signals
The indicator includes automatic reversal-style signals based on price extending beyond the primary volatility band and then forming an opposite-direction candle.
A Buy signal appears when the previous candle moves below the lower primary band and the current candle closes bullish.
A Sell signal appears when the previous candle moves above the upper primary band and the current candle closes bearish.
Adjustable Settings
- TMA Period controls the smoothing and responsiveness of the central TMA.
- Band Deviation controls the distance of the primary volatility bands from the TMA.
- Price Source allows the calculation to use the selected price source.
- Trend Threshold controls the sensitivity of the TMA trend-strength gradient.
TMA Volatility Bands is designed to provide a clean visual framework for analyzing trend direction, volatility expansion, price extensions, and potential reversal areas.
The signals should be used as part of a broader trading strategy and confirmed with price action, market structure, or other analysis tools.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。