PROTECTED SOURCE SCRIPT

Keltner Channel Width Percentile

The Keltner Channel Width Percentile (KCWP) is a volatility-focused indicator designed to measure the relative expansion and contraction of the Keltner Channel bands over time. By calculating the width of the Keltner Channels (difference between the upper and lower bands) and normalizing it as a percentage of the channel's basis, the KCWP provides a dynamic view of market conditions.

This indicator tracks how wide or narrow the Keltner Channel bands are relative to historical observations using a percentile-based approach. When the KCWP value is high (near 100%), it signals that the current channel width is at or near its historical maximum, often indicating heightened volatility or a potential reversal. Conversely, when the KCWP is low (near 0%), it suggests that the channel width is contracting, often preceding periods of reduced volatility or consolidation.

Key Features:
Percentile-Based Volatility Ranking: The KCWP assigns a percentile rank to the current Keltner Channel width, providing a clear, visual representation of where current volatility stands relative to the past.

Customizable Keltner Channels:

Length: Defines the period for the channel’s basis (middle line).
ATR Length: Adjusts the Average True Range (ATR) period used for band calculations.
Bands Style: Choose between Average True Range, True Range, or Range for calculating channel widths.
Dynamic Smoothing Options: Includes multiple moving average types (SMA, EMA, WMA, HMA, RMA, VWMA) and smoothing lengths for refining the raw percentile values, reducing noise while retaining responsiveness.

Visual Indicators:

Gradient coloring for the raw percentile line, transitioning from blue (low values) to green (mid-range) to red (high values), helps quickly assess market conditions.
A smoothed line for clarity and actionable signals.
Signal Zones:

80% High Line: Marks historically wide bands, signaling elevated volatility and potential exhaustion or trend continuation.
20% Low Line: Marks historically narrow bands, signaling calm conditions or consolidation, often before a breakout.
How to Use It:
Trend Continuation or Reversals: High KCWP values (above 80%) may indicate overextended volatility, hinting at possible trend exhaustion or continuation. This is often paired with price action for confirmation.
Breakout Readiness: Low KCWP values (below 20%) suggest tightening price ranges and reduced volatility, signaling potential breakout opportunities.
Complement to Keltner Channels: Use the KCWP alongside traditional Keltner Channels for a complete view of volatility and price behavior.
Customization for Your Trading Style:
The KCWP provides several user-adjustable inputs, including:

Percentile Lookback: Adjust how much historical data is used for ranking.
Smoothing Options: Customize the moving average type and length for the percentile line.
Channel and Band Calculations: Fine-tune the channel’s length, ATR length, and multiplier to match your preferred volatility sensitivity.
The Keltner Channel Width Percentile is a versatile and intuitive tool that helps traders monitor volatility dynamics, anticipate market transitions, and refine entry and exit strategies. Whether you're trading breakouts, trends, or consolidations, the KCWP provides actionable insights into the heartbeat of the market.
Bands and ChannelsTrend AnalysisVolatility

Skrip dilindungi

Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.

Ingin menggunakan skrip ini pada carta?

Penafian