Hidden Redirect Link

ema ATR


Loading...
$1/Month
The subscription will be paid monthly. Cancel anytime

EMA + ATR Dynamic Levels (Dual + HTF)Multi-Timeframe Trend Analysis & Dynamic Volatility Bands

EMA + ATR Dynamic Levels is a chart overlay indicator that combines Exponential Moving Averages (EMA) with Average True Range (ATR) to create dynamic price levels around the moving average.

The indicator features two independent calculation blocks: one operating on the current chart timeframe and another using a user-selected higher timeframe (HTF).

Its purpose is to visualize trend direction, market volatility, and dynamic price ranges across multiple timeframes.

1. Block 1 — Current Timeframe

The first calculation block operates directly on the active chart timeframe.

It consists of:

  • EMA 1 — customizable moving average.
  • ATR 1 — measures current market volatility.
  • ATR Multiplier 1 — controls the distance between the EMA and its volatility bands.

Three upper and three lower dynamic levels are calculated:

  • Upper / Lower ATR ×1
  • Upper / Lower ATR ×2
  • Upper / Lower ATR ×3

The bands are calculated using the following formulas:

Upper Level = EMA + (ATR × Multiplier × N)

Lower Level = EMA - (ATR × Multiplier × N)

Where N represents 1, 2, or 3.

2. Block 2 — Higher Timeframe (HTF)

The second calculation block applies the same methodology to a selectable higher timeframe.

Available settings include:

  • HTF Timeframe.
  • EMA Length 2.
  • ATR Length 2.
  • ATR Multiplier 2.
  • Source 2.

The HTF values are calculated independently on the selected timeframe and displayed on the current chart.

This allows traders to monitor broader market conditions without switching between multiple charts.

The higher-timeframe block can be independently enabled or disabled.

3. Customizable Price Sources

Both calculation blocks support seven price sources:

  • Open
  • High
  • Low
  • Close
  • HL2
  • HLC3
  • OHLC4

This provides flexibility in choosing the price data used for EMA calculations.

ATR is calculated independently using the standard Average True Range methodology.

4. Dynamic Volatility Bands

Unlike fixed-distance price levels, ATR-based bands automatically adapt to changing market volatility.

When volatility increases, the distance between the EMA and its bands expands.

When volatility decreases, the bands contract.

The three levels provide different volatility ranges:

  • ×1 — inner volatility range.
  • ×2 — intermediate volatility range.
  • ×3 — outer volatility range.

These levels can help visualize how far price has moved relative to its average and current volatility.

5. Visual Structure

The indicator uses separate color schemes to distinguish between the two calculation blocks.

Current Timeframe:

  • Orange — EMA 1.
  • Red — Upper ATR levels.
  • Green — Lower ATR levels.

Higher Timeframe:

  • Blue — EMA 2 HTF.
  • Purple — Upper ATR levels.
  • Teal — Lower ATR levels.

Different transparency levels help distinguish the ×1, ×2, and ×3 bands.

6. Practical Applications

The indicator can be used for:

  • Multi-timeframe trend analysis.
  • Visualizing volatility expansion and contraction.
  • Comparing short-term and higher-timeframe market conditions.
  • Identifying price deviations from the EMA.
  • Studying dynamic price ranges.
  • Monitoring how price behaves around different ATR distances.
  • Building a volatility-based framework for discretionary market analysis.

Default Configuration

ParameterCurrent TFHigher TFEMA Length18180ATR Length18180ATR Multiplier1.01.0TimeframeChart TF1D

Both calculation blocks have independent visibility controls and customizable parameters.

EMA + ATR Dynamic Levels (Dual + HTF)

A flexible multi-timeframe tool for visualizing trend structure and adapting volatility ranges directly on the price chart.

The indicator is designed for technical analysis and does not generate automatic buy or sell signals. The displayed ATR levels represent dynamic volatility ranges, not guaranteed support, resistance, or price targets.

$1/Month
The subscription will be paid monthly. Cancel anytime

Comments

loading