OPEN-SOURCE SCRIPT
업데이트됨

Value Shift Ladder [AGPro Series]

740
Value Shift Ladder [AGPro Series]

🔹 Overview

Value Shift Ladder is a market-structure mapping tool that extracts the most volume-accepted price shelves from a rolling lookback window and arranges them, in creation order, as the rungs of a ladder. Each rung is a volume-weighted zone where the market has recently spent the most time and traded the most contracts. The script then tracks how price interacts with every rung through a full Held → Broken → Reclaimed lifecycle and summarizes the entire chain into one readable ladder state: Rising, Falling, Mixed, Broken, Reclaiming, Building, or Neutral.

The goal is not to predict direction and not to produce buy or sell signals. The goal is to give the chart reader a continuously updated answer to one question: where is the market's current fair-value region, how is that region moving over time, and which prior value shelves are still relevant versus which have been abandoned. This makes the tool useful as a structural reference for volume-profile readers, auction-theory traders, and anyone who builds a bias from accepted-value migration rather than from trend lines or moving averages.


🔸 Unique Edge

Most volume-based tools either draw a single static profile snapshot, or plot every candidate level and leave the reader to filter. Value Shift Ladder does three things differently:

Multi-shelf chronological ladder. Instead of producing one value band, the script maintains a ranked set of up to eight volume-accepted shelves and arranges them in the order they were first registered. This preserves the migration history of accepted value instead of collapsing it into one average.

Proximity-gated visualization. Only shelves within a configurable ATR distance from current price are drawn on the chart, counted in the panel, and fed into the ladder direction state. Distant historical shelves exist in memory but do not clutter the chart or bias the readout — the ladder always reflects the value structure that is actually relevant to the current bar.

Adaptive, confidence-aware breaks. A shelf is not broken on a single close outside its band. Young shelves are strongly protected (3.0 × ATR), maturing shelves require a medium distance (1.5 × ATR), and fully-aged shelves use the user-defined break distance. Shelves that have been re-confirmed multiple times gain a 2× confidence multiplier on top of that, preventing established value regions from being lost to a single volatility spike.


🔸 Methodology

1) Volume Profile Construction
The script divides the rolling lookback window into equal price bins and distributes each bar's volume across every bin it touches, proportional to range coverage. Zero-range bars are assigned to their single bin. This produces a volume-weighted histogram of the lookback period.

2) Shelf Extraction
The top-K bins by volume are selected iteratively. After each pick, the chosen bin and its ATR-neighborhood are zeroed out before the next pick, enforcing a minimum separation between shelves and preventing a single high-volume cluster from dominating every rung. Each surviving bin becomes a shelf, anchored at its bin-center price.

3) Shelf Merging and Confidence
On every refresh, newly extracted shelves are checked against existing ones. If a new shelf falls within the ATR separation of an existing non-broken shelf, the existing shelf's volume is refreshed and its confidence score is incremented. Otherwise a new shelf is registered. Confidence is capped at ten and used downstream to scale break tolerance.

4) Lifecycle State Machine
Each shelf carries one of three states — Held, Broken, or Reclaimed. Held flips to Broken when price closes beyond an adaptive break distance for three recent bars. Broken flips to Reclaimed when price dwells back inside the band for a user-defined number of bars. Reclaimed auto-promotes to Held once the shelf has stabilized past a short age threshold.

5) Ladder Direction
Proximity-filtered active shelves are sorted by creation order. The last one, two, or three rungs are compared to produce a single state: Rising if the sequence is monotonically higher, Falling if lower, Mixed if non-monotonic, plus transient overrides for Broken, Reclaiming, Building, or Neutral conditions.

6) Pruning
Stale broken shelves expire after a timeframe-aware window. A hard cap of ten active shelves is enforced, with broken shelves removed first when the cap is hit.


🔹 Signals and Alerts

The script provides four deterministic state-change alerts, all tied to closed-bar transitions:

— New Ladder Step Formed: fires when a new volume-accepted shelf is first registered.
— Ladder Step Held: fires when an existing shelf is re-confirmed by the rolling profile.
— Ladder Step Broken: fires when a held shelf transitions to broken.
— Ladder Step Reclaimed: fires when a broken shelf transitions back to reclaimed.

These alerts describe structural state changes inside the indicator logic. They are not trade signals and do not imply expected profitability, win rate, or directional certainty.


🔸 Key Inputs

— Profile Mode (Auto / Manual): Auto derives lookback and refresh from the chart timeframe. Manual exposes both for full control.
— Manual Lookback (bars): Size of the rolling window used to build the profile.
— Manual Refresh Interval (bars): How often the profile is rebuilt.
— Profile Resolution (bins): Number of price bins the range is divided into.
— Target Shelf Count: Maximum number of shelves kept active.
— Min Volume Ratio: Minimum fraction of the top-bin volume a bin must hold to qualify as a shelf.
— Min Shelf Separation (ATR): Minimum ATR distance between two shelves.
— Break Distance (ATR): Fully-aged break tolerance.
— Reclaim Dwell Bars: Bars needed inside the band to flip Broken to Reclaimed.
— Max Visible Distance (ATR): Proximity gate for drawing and counting shelves.
— Display options: panel position, panel font size, on-chart label size, alerts toggle.


🔹 How to Use

Value Shift Ladder is designed as a structural reference rather than a signal engine. Typical reading workflows include:

— Bias framing. Read the Ladder state first. Rising or Falling indicates a one-sided migration of accepted value; Mixed indicates balance; Broken or Reclaiming highlights an active transition.
— Dominant reference. The Dominant row in the panel highlights the nearest held or reclaimed shelf within two ATR of price. Use it as the closest structural reference for scenario planning, not as an execution level.
— Proximity discipline. Because shelves more than the configured ATR distance away are not drawn, the ladder always reflects value structure that is currently relevant. When no shelves are visible, the market is between value regions — a context in which mean-reversion assumptions weaken.
— Confluence. The tool is designed to be combined with independent confirmation such as session structure, higher-timeframe bias, or volume analysis. It is not meant to stand alone as a decision source.


🔸 Limitations and Transparency

— Volume profile quality depends on the instrument's volume reporting. On symbols with unreliable or synthetic volume, shelf placement may drift.
— The profile is recomputed on the close of refresh bars. Intrabar readings on the current bar can change until the bar closes; state transitions evaluate the last three bars for breaks and the reclaim-dwell window for reclaims, so fresh transitions can flip until those bars close.
— On extremely illiquid sessions or instruments with frequent volatility spikes, the adaptive-break logic can delay transitions by design. This is a tradeoff in favor of stability.
— Past structural behavior at a shelf does not guarantee future behavior. The tool does not forecast direction and is not a trading strategy.


🔹 Risk Disclosure

This script is a structural visualization tool provided for educational and analytical purposes. It is not financial advice, not a trading strategy, and not a signal service. All trading involves risk of loss. Past market behavior is not indicative of future results. Users are fully responsible for their own trading decisions and for independently verifying the tool's behavior on their chosen instruments and timeframes before relying on it for any purpose.
릴리즈 노트
🔧 UPDATE NOTES - V2.2

This update focuses on visual clarity, ladder readability, interface structure, and publication-quality usability.

The core purpose of the script remains unchanged.
This release improves how the existing accepted-value ladder logic is presented, organized, and interpreted on the chart.

This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.


------------------------
What Changed
------------------------

• Refined the publication identity
The script title now follows the updated AGPro Series naming standard while the panel title keeps the AG Pro brand format.

• Added a Dominant Value Band
The nearest active accepted-value shelf is now highlighted as a soft value band, helping users identify the most relevant shelf around current price.

• Added a centered ladder-state label
The dominant value band now includes a centered label showing the current ladder state and dominant value level.

• Improved ladder connectors
Visible shelves are connected chronologically so users can read whether accepted value is migrating upward, downward, or becoming mixed.

• Added confidence context
The panel now includes average shelf confidence, making it easier to distinguish early shelves from more repeatedly confirmed accepted-value areas.

• Reduced default event label density
Historical event labels are now more selective by default. Broken-event labels are disabled by default because broken shelves already remain visible on the right edge.


------------------------
Visual Improvements
------------------------

• Improved chart readability by separating shelf lines, dominant value band, right-edge shelf labels, and event labels

• Reduced visual clutter with a Minimal default label density, wider event spacing, and optional broken-event labels

• Refined the visual hierarchy so dominant value stands out without hiding candles

• Adjusted label placement to keep important event labels outside candle bodies

• Improved shelf state colors for Held, Broken, and Reclaimed conditions


------------------------
Interface & Usability
------------------------

• Rebuilt the panel with the standard single merged blue header row

• Added configurable panel theme, panel position, panel font size, and label font size

• Reorganized the panel into Ladder, Active Steps, Dominant Value, Confidence, and Last Event

• Added a cleaner default layout designed for public screenshots and first-glance interpretation

• Preserved alert coverage for New Step, Held, Broken, and Reclaimed events


------------------------
Behavior Notes
------------------------

This update does not change the core analytical logic of the script.

The goal is to improve clarity and usability, not to introduce new predictive behavior.

Users should interpret outputs the same way as before, but with improved visual structure and stronger ladder context.


------------------------
Limitations Reminder
------------------------

The script remains a rule-based analytical tool.

Market conditions such as volatility, liquidity, timeframe differences, and volume-data quality may affect how shelves appear or transition between states.

Outputs should always be interpreted within broader market context.


------------------------
Risk Reminder
------------------------

This script is for educational and analytical purposes only.

It does not provide financial advice or guaranteed trading outcomes.

Users remain responsible for their own decisions.
릴리즈 노트
🔧 UPDATE NOTES - VERSION 2.3

This update focuses on visual clarity, panel control, label efficiency, and dominant value-band readability.

The core purpose of the script remains unchanged.
This release improves how the existing value shelf and ladder-state logic is presented, organized, and interpreted on the chart.

This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.


------------------------
What Changed
------------------------

• Added complete panel location support
The panel now supports top, middle, bottom, left, center, and right anchor positions.

• Improved panel lifecycle behavior
The panel rebuilds cleanly when location or theme settings change.

• Reworked the panel flow
The panel now starts with Workflow, then shows Ladder state, Active Steps, Dominant Value, Confidence, and Last Event.

• Reduced chart label load
Default event-label retention and visible shelf tag pressure were tightened to keep the public preset lighter.

• Shortened shelf and event labels
Long right-edge tags and historical event labels were replaced with shorter premium labels such as DOM, HOLD, RECL, BRK, NEW STEP, BREAK, and RECLAIM.

• Added higher-timeframe tag control
Daily and weekly views now keep fewer right-edge shelf tags and apply light lane spacing to reduce overlap.


------------------------
Visual Improvements
------------------------

• Dominant value band now uses a centered solid badge instead of long multi-line label text.

• The dominant band badge was shortened further for cleaner publication screenshots.

• Zone text is no longer handled as native box text.

• Shelf tags are shorter and easier to scan on both dark and light charts.

• The active value band remains visually clear without overwhelming price action.

• The default label load is reduced while preserving enough chart story for publication screenshots.


------------------------
Interface & Usability
------------------------

• Panel header remains a single merged blue row with only the script name.

• Panel show / hide, location, theme, and font-size controls are available.

• Workflow wording is action-oriented but non-promising: Track Value Up, Track Value Down, Review Reclaim, Review Break, Map Rotation, Build Ladder, and Wait Value.

• Dominant shelf, confidence, and latest ladder event are easier to read at first glance.


------------------------
Behavior Notes
------------------------

This update does not change the core analytical logic of the script.

The rolling volume profile, shelf selection, shelf merge logic, held / broken / reclaimed transitions, active shelf selection, and ladder-state model remain based on the same method.

The goal is to improve clarity and usability, not to introduce predictive behavior.


------------------------
Limitations Reminder
------------------------

The script remains a rule-based analytical tool.

Market conditions such as volume quality, liquidity, volatility, timeframe selection, and profile-window structure may affect how shelves and ladder states appear.

Outputs should always be interpreted within broader market context.


------------------------
Risk Reminder
------------------------

This script is for educational and analytical purposes only.

It does not provide financial advice, trade instructions, or guaranteed trading outcomes.

Users remain responsible for their own decisions.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.