OPEN-SOURCE SCRIPT

Multi-TF Keltner Heatmap

396
# Multi-TF Keltner Heatmap

A multi-timeframe volatility structure indicator designed to show where momentum pivots are forming across timeframes.

Instead of plotting a single Keltner Channel, this script overlays Keltner envelopes from 12 timeframes simultaneously, allowing traders to see when lower timeframe volatility begins pivoting relative to higher timeframe structure.

For options traders, these pivot points often represent the moments where momentum changes fastest while options are still relatively cheap.

The goal is to identify the earliest structural shift in volatility expansion before the larger move becomes obvious.

## Core Idea

Momentum rarely appears suddenly on higher timeframes.

Instead, it typically builds from smaller timeframes upward.

Lower timeframes begin expanding volatility until they interact with or surpass the volatility boundaries of larger timeframes.

When this occurs, the script identifies it as a pivot event.

A pivot means the shorter timeframe volatility envelope has reached or crossed the adjacent higher timeframe envelope, indicating that momentum pressure is shifting.

As these pivots propagate upward through the timeframe ladder, a momentum chain forms.

This chain represents how many layers of the market structure are currently shifting direction.

## Timeframes Included

The script pulls Keltner Channel data from the following timeframes:

- 1 Minute
- 3 Minute
- 5 Minute
- 10 Minute
- 15 Minute
- 30 Minute
- 45 Minute
- 1 Hour
- 2 Hour
- 4 Hour
- 1 Day
- 1 Week

These timeframes together create a stacked volatility structure showing how pressure builds through the market.

## Keltner Channel Construction

Each timeframe uses the same parameters.

Basis
EMA (default length: 200)

Volatility Envelope
ATR (default length: 200)

Bandwidth Multiplier
ATR × 8

These intentionally large settings create structural volatility envelopes rather than short-term reactive channels.

The focus is on major volatility shifts rather than micro fluctuations.

## Visual Structure

The indicator uses color to separate layers of the timeframe hierarchy.

### White Bands (1m – 15m)

These represent short-term market microstructure.

They allow traders to see:

- short-term compression
- micro volatility expansion
- early directional pressure

Opacity is reduced so these bands remain informational rather than dominant.

### Intermediate Layer (30m / 45m)

Upper bands are colored green.

Lower bands are colored red.

These timeframes often act as the bridge between intraday volatility and higher timeframe momentum.

When price begins interacting strongly with these bands, it often signals that pressure is building toward a larger pivot.

### Higher Timeframe Bands (1H – 1W)

Higher timeframe bands are hidden by default.

They only appear when a pivot condition occurs.

A pivot occurs when:

Shorter timeframe upper band ≥ adjacent higher timeframe upper band

or

Shorter timeframe lower band ≤ adjacent higher timeframe lower band

Example:

45m upper ≥ 1H upper

When this happens, the 1H upper band becomes visible.

This signals that short-term volatility is now interacting with higher timeframe structure.

## Pivot Chain

Momentum shifts are tracked using adjacent timeframe pivots.

Upper band pivots follow this sequence:

- 45m → 1H
- 1H → 2H
- 2H → 4H
- 4H → 1D
- 1D → 1W

Lower band pivots follow the same sequence.

This adjacency logic reflects how momentum realistically propagates through the market rather than skipping timeframes.

## Pivot Chain Depth

The indicator calculates two values shown in the status line and data window.

Bull Chain

Number of upward pivot steps currently active.

Example:

45m pivoting above 1H
1H pivoting above 2H
2H pivoting above 4H

Bull Chain = 3

Bear Chain

Number of downward pivot steps currently active.

Example:

45m pivoting below 1H
1H pivoting below 2H
2H pivoting below 4H

Bear Chain = 3

## Interpreting Chain Depth

Lower chain values typically indicate:

- localized volatility
- range conditions
- early momentum shifts

Higher chain values indicate:

- stronger structural alignment
- expanding volatility
- sustained directional momentum

Deep pivot chains are relatively rare and often occur during:

- breakouts
- strong trend continuation
- macro directional moves

## Why This Matters for Options

Options traders benefit most when they can identify large momentum shifts early, before volatility expansion fully develops.

When lower timeframes begin pivoting relative to higher timeframe envelopes, it often means:

- directional pressure is building
- volatility expansion may follow
- option pricing has not fully reacted yet

This creates the opportunity to enter positions before volatility and delta expansion make contracts expensive.

## Practical Uses

This indicator can help traders:

- identify early momentum pivots
- visualize multi-timeframe volatility alignment
- detect volatility expansion before breakouts
- confirm trend continuation across timeframes

It is particularly useful when looking for high momentum opportunities while options remain relatively inexpensive.

## Conceptual Summary

Momentum builds from smaller timeframes upward.

When lower timeframe volatility begins interacting with and pivoting against larger timeframe envelopes, the market is often entering a structural shift phase.

This indicator visualizes that process so traders can see momentum transitions while they are still forming.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.