PROTECTED SOURCE SCRIPT
Güncellendi

Key Candle Range [NextPercent]

53
Key Candle Range [NextPercent]

This indicator draws persistent horizontal levels from a user-selected candle on any chosen timeframe. It is designed to mark a key reference range and project it forward, allowing traders to monitor reactions to that candle’s high and low.

Features:
• Select any specific candle by date and time
• Works on a custom timeframe independent of the chart
• Automatically projects the selected candle’s high and low into the future
• Fully customizable line color, width, and style
• Clean visual reference for breakout, rejection, or range trading

How it works:
The script finds the candle that matches the chosen timestamp on the selected timeframe. Once identified, it draws two horizontal lines at that candle’s high and low and extends them to the right. These levels remain visible as long-term structural references.

Use cases:
• Marking important session candles (open range, news candle, etc.)
• Tracking breakout levels
• Identifying support and resistance zones
• Anchoring trade bias to a key event candle

Tip:
Use higher timeframes to mark major structural levels, or intraday timeframes to track session-based ranges.
Sürüm Notları
[BB][B]Release Notes — Key Candle Range [NextPercent][/B][/BB]

[BB]This update expands the original single-zone indicator into a more flexible and production-ready tool.[/BB]

[BB][B]What’s New[/B][/BB]

[BB][B]1. Multi-Zone Support[/B][/BB]
[BB]- Expanded from 1 fixed zone to [B]up to 5 independent zones[/B][/BB]
[BB]- Each zone is anchored to its own selectable timestamp[/BB]
[BB]- Zones coexist instead of replacing each other[/BB]

[BB][B]2. Zone Enable / Disable[/B][/BB]
[BB]- Each zone can be individually toggled ON/OFF[/BB]
[BB]- Disabled zones do not execute or draw (no hidden artifacts)[/BB]

[BB][B]3. Limited Extend-Right Control[/B][/BB]
[BB]- Infinite extend.right replaced with bar-based extension[/BB]
[BB]- User-defined number of bars to extend to the right[/BB]
[BB]- Default: [B]5 bars[/B][/BB]
[BB]- Reduces clutter and improves chart readability[/BB]

[BB][B]4. Per-Zone Native Styling[/B][/BB]
[BB]- Each zone has independent control over:[/BB]
[BB] • High line color[/BB]
[BB] • Low line color[/BB]
[BB] • Line width[/BB]
[BB] • Line style (Solid / Dashed / Dotted)[/BB]
[BB]- Uses TradingView native input controls[/BB]

[BB][B]5. Global Style Override (Optional)[/B][/BB]
[BB]- Added a Global Style section[/BB]
[BB]- When enabled, one style is applied to all zones[/BB]
[BB]- When disabled, zones revert to individual styles[/BB]

[BB][B]6. Clean & Organized Settings Panel[/B][/BB]
[BB]- Inputs grouped logically:[/BB]
[BB] • General[/BB]
[BB] • Global Style[/BB]
[BB] • Zone 1 … Zone 5[/BB]
[BB]- Faster configuration and better usability[/BB]

[BB][B]What Stayed the Same[/B][/BB]
[BB]- Original HTF/LTF candle-matching logic[/BB]
[BB]- Exact high/low range calculation[/BB]
[BB]- IPO-safe (no historical dependency)[/BB]
[BB]- Deterministic drawing with no repaint side effects[/BB]

[BB][B]Summary[/B][/BB]
[BB]This release upgrades the script from a single-timestamp utility into a fully configurable, multi-zone range-mapping system while preserving accuracy and Pine best practices.[/BB]
Sürüm Notları
Release Notes — Key Candle Range [NextPercent]

This update expands the original single-zone indicator into a more flexible and production-ready tool.

What’s New

1. Multi-Zone Support
Expanded from 1 fixed zone to up to 5 independent zones
Each zone is anchored to its own selectable timestamp
Zones coexist instead of replacing each other

2. Zone Enable / Disable
Each zone can be individually toggled ON/OFF
Disabled zones do not execute or draw (no hidden artifacts)

3. Limited Extend-Right Control
Infinite extend.right replaced with bar-based extension
User can define how many bars the zone extends to the right
Default: 5 bars
Reduces clutter and improves chart readability

4. Per-Zone Native Styling
Each zone has independent control over:
– High line color
– Low line color
– Line width
– Line style (Solid / Dashed / Dotted)
Uses TradingView native styling controls

5. Global Style Override (Optional)
Global style section added
When enabled, one style is applied to all zones
When disabled, zones revert to individual styles

6. Clean & Organized Settings Panel
Inputs grouped logically:
– General
– Global Style
– Zone 1 … Zone 5
Faster configuration and improved usability

What Stayed the Same
Original HTF/LTF candle-matching logic
Exact high/low range calculation
IPO-safe (no historical dependency)
Deterministic drawing with no repaint side effects

Summary
This release upgrades the script from a single-timestamp utility into a fully configurable, multi-zone range-mapping system while preserving accuracy and Pine best practices.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.