teepuu

Exponential Moving Average with ADR band

Indicator: Exponential Moving Average with ADR Band

This TradingView script calculates and displays an Exponential Moving Average (EMA) along with an Average Daily Range (ADR) band around it. The indicator helps traders identify potential dynamic support and resistance levels adjusted for market volatility. Especially significant moves that originate from the ZONE and reach outside should be taken seriously.

Key Features:

EMA Calculation: The script computes the Exponential Moving Average (EMA) of the closing prices over a user-defined period.

ADR Band: It calculates the Average Daily Range (ADR) using a Simple Moving Average (SMA) of the daily high-low range over the same period.

Adjustable Parameters:

Length: The period for both the EMA and the ADR calculation, which can be set by the user (default is 20).

Multiple: A multiplier for the ADR to adjust the width of the bands around the EMA (default is 1).
Plotting: The EMA is plotted as an orange line. The upper and lower ADR bands are plotted around the EMA, and the area between these bands is filled with a translucent orange color to highlight the channel.

How It Works:

EMA Calculation: The script computes the EMA of the closing prices using the specified length.

ADR Calculation: The daily range (high-low) is averaged over the same length to get the ADR.

Band Creation: The upper band is created by adding the ADR (multiplied by the user-defined multiple) to the EMA. The lower band is created by subtracting the ADR (multiplied by the user-defined multiple) from the EMA.

Visualization: The EMA and ADR bands are plotted, and the area between the bands is filled to create a clear visual representation of the ADR channel.

Usage:

This indicator can be used to gauge market volatility and potential support/resistance zones.
The ADR band provides a dynamic range that adjusts with market conditions, helping traders identify potential breakout and reversal points.

To customize the indicator, adjust the 'Length' and 'ADR multiple' parameters to suit your trading style and the specific characteristics of the asset you are analyzing.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?