OPEN-SOURCE SCRIPT

EWMA Volatility Bands


The EWMA Volatility Bands indicator combines an Exponential Moving Average (EMA) and Exponentially Weighted Moving Average (EWMA) of volatility to create dynamic upper and lower price bands. It helps traders identify trends, measure market volatility, and spot extreme conditions. Key features include:

Centerline (EMA): Tracks the trend based on a user-defined period.
Volatility Bands: Adjusted by the square root of volatility, representing potential price ranges.
Percentile Rank: Highlights extreme volatility (e.g., >99% or <1%) with shaded areas between the bands.
This tool is useful for trend-following, risk assessment, and identifying overbought/oversold conditions.
Bands and Channelsvolatilty

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer