OPEN-SOURCE SCRIPT
업데이트됨

Wyckoff Accumulation Phase Map [AGPro Series]

2 138
Wyckoff Accumulation Phase Map [AGPro Series]


🟢 OVERVIEW

Wyckoff Accumulation Phase Map is the bullish counterpart of the Wyckoff Distribution Phase Map and completes the AGPro Wyckoff structural cycle. It is a retrospective structural mapping tool that locates and labels the seven core accumulation events — Preliminary Support (PS), Selling Climax (SC), Automatic Rally (AR), Secondary Test (ST), Spring, Last Point of Support (LPS) and Sign of Strength (SOS) — only after a bullish Change of Character (CHoCH) confirms that the prior downtrend has structurally broken. The indicator frames the active trading range as a shaded zone, plots SC and AR horizontal references, tracks the current phase (A, B, C, D, E) in a dedicated info panel, and introduces three accumulation-specific layers absent from the distribution companion: a Spring Quality Score, a Cause-to-Effect markup projection and a rolling volume footprint classifier.


🟢 COMPANION TO THE DISTRIBUTION PHASE MAP

This indicator is intentionally designed as the symmetric counterpart of Wyckoff Distribution Phase Map [AGPro Series]. The two scripts share a unified AGPro visual language and a CHoCH-gated reveal philosophy, but they operate on opposite market regimes and different event sets:

- Distribution map works on uptrends and draws PSY, BC, AR, UT, SOW and LPSY after a bearish CHoCH.
- Accumulation map works on downtrends and draws PS, SC, AR, ST, Spring, LPS and SOS after a bullish CHoCH.
- Distribution projects a potential markdown line from LPSY.
- Accumulation projects a Cause-to-Effect markup target from SOS.
- Accumulation additionally provides a 0-100 Spring Quality Score, which has no structural equivalent in the distribution schematic.

Both tools are standalone. Users running the full AGPro Wyckoff workflow can apply them together for complete cycle coverage, but neither depends on the other.


🟢 WHAT MAKES IT DIFFERENT

Most Wyckoff scripts on TradingView react to every elevated swing low during a downtrend and label PS / SC / Spring on every modest dip. The result is a noisy chart, often with contradictory events stacked on top of each other. This indicator takes the opposite approach. During a qualified downtrend, the chart remains completely clean. Rolling trackers silently maintain candidate values for SC, PS and AR in memory, while a live Watching row in the panel shows what the engine is currently monitoring. Events are only drawn on the chart after a bullish CHoCH locks the schematic, at which point PS, SC and AR appear together as a confirmed retrospective bundle. ST, Spring, LPS and SOS then populate as post-CHoCH structure unfolds. A multi-tier expiry system closes both incomplete and fully-played-out accumulations, ensuring the active schematic on screen always reflects current market structure and not stale history.


🟢 METHODOLOGY

The engine runs in three coordinated layers.

Layer one qualifies a prior downtrend. A valid Wyckoff accumulation precondition requires four concurrent factors: structural lower highs and lower lows, a minimum ATR-multiple depth from the lookback-window high, a duration sustained across the full lookback window, and price currently located in the lower portion of that window. All four conditions must hold before any candidate can form.

Layer two rolls candidate values during that qualified downtrend. SC candidate is the running lowest pivot low with elevated or climactic volume. PS candidate is the prior elevated swing low that predates the SC. AR candidate is the highest post-SC swing high that remains within a structurally reasonable distance from SC. Candidates are automatically invalidated if price drifts far above the SC without a structural break or if the candidate ages beyond a configurable maximum.

Layer three watches for a bullish Change of Character, defined as the first bar that closes above the qualified AR candidate. On CHoCH confirmation, PS, SC and AR are snapshotted as labeled events, the trading range is drawn, and the state machine advances to forward detection. ST, Spring, LPS and SOS are then detected in sequence using a combination of price-to-SC, price-to-AR and volume-to-average filters. Volume context is computed against a configurable moving-average baseline with separate climactic, elevated and weak thresholds.

The Spring Quality Score blends four components into a 0-100 rating: penetration depth below SC, volume dry-up on the sweep bar, recovery strength measured by close position within the candle range, and close location relative to SC. The Cause-to-Effect projection draws a symmetrical markup target from the SOS bar using the trading range height.


🟢 SIGNALS AND ALERTS

The indicator fires three categories of alerts, all reserved for confirmed structural events:

- CHoCH Confirmation alert triggers when the structural break locks in, including the resolved SC and AR levels.
- Spring alert fires when the Spring is detected, including the Spring Quality score.
- Sign of Strength alert fires when SOS confirms with climactic volume above AR.

No alerts are emitted during the forming phase. This keeps notification volume low and focused on decisive structural moments.


🟢 KEY INPUTS

Core Engine inputs control swing lookback sensitivity, candidate maximum age, post-CHoCH timeout, prior downtrend lookback, minimum downtrend depth in ATR multiples, and the near-lows threshold used in downtrend qualification. Volume Analysis exposes the moving-average length and three separate multipliers for climactic, elevated and weak volume classification. Visual inputs toggle the trading range zone, SC and AR horizontal levels, the CHoCH dashed break line, the Cause-to-Effect projection, the floating summary label and the keep-historical-events mode, with full control over font size and zone transparency. The info panel can be repositioned to six anchor points and switched between dark and light themes.


🟢 HOW TO USE

Apply the indicator to any liquid instrument and any timeframe. During downtrends, observe the Watching row in the panel to monitor the forming SC candidate. When CHoCH prints, the full PS, SC and AR bundle appears and the trading range is shaded. From that point, use the Next Expected row to track what the engine is waiting for. The Confidence score progresses from 70 at CHoCH to 97 at SOS. The Spring Quality Score becomes populated when a Spring is detected and quantifies the character of the sweep. The Volume Footprint row rolls through Range forming, Supply exhausting, Weak hands shaken, Supply absorbed and Demand in control as the schematic matures. The floating summary label on the right edge of the chart provides an at-a-glance status even when the primary event labels are scrolled off to the left. The indicator works standalone but is designed to complement any market structure, order flow or supply-and-demand workflow.


🟢 LIMITATIONS AND TRANSPARENCY

This tool is a pattern-recognition and labeling engine, not a strategy or a trading signal generator. All events are detected retrospectively after their confirming bar has closed plus the swing lookback period. This is by design to eliminate redrawing. The Wyckoff schematic is a framework, not a deterministic forecast. Not every accumulation completes the full seven-event sequence, and markets frequently fail schematics entirely and resume the prior downtrend. The volume analysis assumes reliable reported volume, so thin or fragmented markets may produce weaker classification. The Spring Quality Score and Confidence score are internal heuristics tied to event progression and are not statistical probabilities. The Cause-to-Effect projection is a classical Wyckoff reference line derived from range height, not a mechanical target guaranteed to be reached. Past schematic completions do not predict future market behavior.


🟢 RISK DISCLOSURE

This indicator is published for educational and analytical purposes only. It does not constitute financial advice, a trading recommendation or an investment solicitation. Trading any financial instrument involves substantial risk, including the potential loss of principal. Past performance does not guarantee future results. Users are solely responsible for their own trading decisions, risk management and independent research. Always backtest thoroughly and trade within a risk framework you understand.
릴리즈 노트
🔧 UPDATE NOTES - V2.1

This update focuses on visual clarity, panel standardization, and publication polish.

The core purpose of the script remains unchanged.
This release improves how the accumulation range, Wyckoff phase state, event labels, and panel context are presented 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 centered accumulation range badge
The active Wyckoff range can now display a separate centered ACCUMULATION RANGE badge for stronger first-glance readability.

• Standardized panel controls
Panel visibility, location, theme, and font-size controls have been aligned with current AGPro interface standards.

• Expanded panel locations
Panel locations now include top, middle, and bottom center options.

• Expanded font-size controls
Label and panel font controls now support Tiny, Small, Normal, Large, and Huge.

• Preserved core Wyckoff logic
CHoCH gating, SC / AR snapshotting, ST, Spring, LPS, SOS detection, Spring Quality, cause-to-effect projection, and volume footprint context remain intact.


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

• Improved range readability with a separate centered range badge

• Preserved event labels while improving visual hierarchy around the trading range

• Refined panel theme behavior for dark, slate, and light chart environments

• Kept the panel header as one merged blue row with the script name only


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

• Added live panel position updates

• Added Elite Dark, Slate, and Clean Light panel themes

• Preserved optional summary label behavior

• Improved user control over chart density without changing core schematic logic


------------------------
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.


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

The script remains a rule-based analytical tool.

Wyckoff schematics can vary by timeframe, volatility, liquidity, and swing sensitivity.

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 - v2.3

This update sharpens the Wyckoff Accumulation Phase Map into a decision-ready
planner. The CHoCH-gated schematic engine is unchanged; this release frames the
range boundaries as an explicit target and invalidation, adds a stop-aware spring
follow-through proof rate, and improves on-chart legibility.

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
------------------------

• Target (AR) and Invalidation (SC) rows
The AR range high and SC range low are now framed as the markup target and the
structural invalidation, making the decision context explicit while keeping the
Wyckoff terms intact.

• Stop-aware Proof rate
A new Proof statistic validates the core long thesis. When a spring (shakeout)
forms, the script measures whether price reaches the AR range high before closing
back under the spring low. It is confirmed-bar gated, unresolved springs time out
uncounted at the end of the post-CHoCH window, and the panel shows "Building (n)"
until at least six completed samples accumulate.

• Breakout-above-AR read
When price clears the range top without a textbook spring, the Next Expected
row now reads "Breakout above AR (no spring)" instead of pointing at a Secondary
Test inside the range, so the panel no longer reads as if it is behind price.

• Confidence and Spring Quality readouts
Both scores continue to read as "score / 100" and stay tier-colored.


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

• Improved chart readability with a luminance-aware text-contrast routine applied
to every event label (PS, SC, AR, ST, Spring, LPS, SOS) and the centered range
badge, so text stays legible on bright fills (amber, teal) and dark fills alike.

• Kept event-label density controlled and the accumulation range anchored by a
single centered badge, preserving a clean premium first-glance read.


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

• Optimized panel layout so the decision layer (Target, Invalidation, Proof) sits
beneath the existing schematic context (Schema, Phase, Confidence, Spring
Quality, Volume Footprint, Next Expected).

• Hardened the internal ATR reference so early bars and thin instruments no longer
produce gaps in label spacing or range geometry.

• Retained the independent label and panel font-size settings.

• Enhanced overall user experience without changing the core schematic logic.


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

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

CHoCH gating, candidate tracking, event detection (SC, AR, ST, Spring, LPS, SOS),
and the cause-to-effect projection behave as before. The target/invalidation
framing and the proof are presentation and evaluation layers built on top of the
existing outputs.

Users should interpret outputs the same way as before, now with a clearer risk and
markup-target read and an honest, stop-aware proof statistic.


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

The script remains a rule-based, retrospective analytical tool.

Wyckoff schematics, spring quality, and markup follow-through vary with timeframe,
volume profile, volatility, and liquidity. The Proof rate is a descriptive
statistic of past springs on the current symbol and timeframe; it is not a
forward-looking expectation, and completed schematics are relatively rare, so the
sample builds slowly.

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.

면책사항

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