OPEN-SOURCE SCRIPT
EMA RANGE

EMA RANGE
EMA RANGE is a simple, price-focused indicator that plots an Exponential Moving Average (EMA) with a dynamic ATR-based range above and below it. The ATR bands adapt to market volatility, helping traders visualize normal price movement and identify potential expansion or compression zones.
🔹 Features
Customizable EMA length
ATR range bands plotted above and below the EMA
Adjustable ATR length and multiplier
Toggle to enable or disable ATR ranges
Fully customizable colors and line thickness from the Style tab
🔹 How It Works
The EMA serves as the central trend reference.
The Average True Range (ATR) measures volatility.
Upper and lower bands are calculated as:
EMA ± (ATR × Multiplier)
When price remains inside the range, conditions are considered normal. Moves outside the range may signal increased volatility, momentum expansion, or potential breakout conditions.
🔹 Best Use Cases
Trend continuation and pullback analysis
Volatility-based risk framing
Dynamic support and resistance visualization
Works on any market and timeframe
EMA RANGE is designed to stay clean, responsive, and easy to interpret—making it suitable for both discretionary and systematic traders.
EMA RANGE is a simple, price-focused indicator that plots an Exponential Moving Average (EMA) with a dynamic ATR-based range above and below it. The ATR bands adapt to market volatility, helping traders visualize normal price movement and identify potential expansion or compression zones.
🔹 Features
Customizable EMA length
ATR range bands plotted above and below the EMA
Adjustable ATR length and multiplier
Toggle to enable or disable ATR ranges
Fully customizable colors and line thickness from the Style tab
🔹 How It Works
The EMA serves as the central trend reference.
The Average True Range (ATR) measures volatility.
Upper and lower bands are calculated as:
EMA ± (ATR × Multiplier)
When price remains inside the range, conditions are considered normal. Moves outside the range may signal increased volatility, momentum expansion, or potential breakout conditions.
🔹 Best Use Cases
Trend continuation and pullback analysis
Volatility-based risk framing
Dynamic support and resistance visualization
Works on any market and timeframe
EMA RANGE is designed to stay clean, responsive, and easy to interpret—making it suitable for both discretionary and systematic traders.
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.
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.
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.