Schematic drawing of the structure, not a chart. The bearish version is its mirror image.
No manual measuring
B retracement, the C extension beyond A and the D Zone on XC are checked automatically on every candle close.
C beyond A
Covers formations where C goes past A — the regular sets reject them. The C candle close rules are checked for you.
One alert, then walk away
A "price touched D Zone" alert fires in real time, once per formation.
How it works
| Swing points | Detected on closed candles and confirmed after a short delay, so points never appear in hindsight. |
| Point B | 0.382–0.785 of XA (the wick does not touch 0.786). |
| Point C | Wick from 1.131 to below 1.618 XA (C max 1.618 XA); the C candle closes below 1.272 XA. If the C wick touches 1.272 XA, the close must be below 1.131 XA. |
| D Zone (point D) | Main level 0.886 XC (green); Tolerance D Level 0.941 XC (orange, can be turned off) — a level price may reach; if it turns back before the invalidation level, the formation stays valid. |
| Stop level | X (1.0 XC) |
| Stop zone | 1.0–1.131 XC |
| Invalidation | 1.131 XC |
| Invalidated before D | A close at or beyond 1.272 XA after C, or a wick touching 1.618 XA. When the close rule breaks, only a potential 4.1 can remain. |
| Targets | 38.2% and 61.8% CD (50% optional), measured from the actual D |
D is measured on XC — the leg from C back to X. The rule for the C candle close keeps the formation separate from 4.1: when the C wick reaches 1.272 XA, the chart can also show a potential 4.1.
The stop level does not end the formation — the invalidation level does. That gives you a clear distinction between "my stop was hit" and "this formation is no longer valid".
In the theory of XABCD formations, formations with a similar number of candles between X→B and B→D (time symmetry) are considered more reliable. The indicator does not measure time symmetry.
How to use
| Live preview | Not available in this version — the formation is drawn once C is set. |
| READY | X–A–B–C is valid (C beyond A) and the D Zone is projected on XC. Wait for price. |
| IN PLAY | Price has touched the D Zone. D follows the furthest price inside the zone. |
| Completed | After the D Zone, price reached at least the 38.2% CD correction (D Zone respected). |
| Invalidated | A rule was broken (invalidation level touched, C candle closed beyond its limit…). Hidden by default — turn on "Show invalidated formations" to see them with the reason. |
| Panel | Formation, status, D Zone (price and XC level), entry, SL with risk %, CD levels reached, R:R to the first CD level, Forming. |
| Alert | Set frequency to "Once per bar". After an indicator update, delete and recreate the alert. |
Repainting & limitations
Can change after a candle closes
- Before C reaches C min, a further extreme in the B zone moves B.
- In READY, a close beyond C (before the D Zone) moves C and redraws the D Zone.
- In IN PLAY, D and the CD levels follow price deeper into the D Zone.
- Invalidated formations are hidden by default.
- Old drawings are removed by "Number of recent formations kept" (5) and TradingView limits.
Fixed
- X and A — once the swing is confirmed.
- B — once C min is reached.
- C — once the formation is IN PLAY.
- Everything — after Completed / Invalidated.
Limits
- Any market and timeframe with OHLC data.
- This formation has not been tested as a mechanical strategy. Use the zones for analysis, not as a standalone signal.
Settings
| Display | Completed ✓ · Invalidated ✗ · Formations kept: 5 · Overlapping completed: keep larger / smaller (by XA height) · Formation background with name ✓ (covers the whole formation) |
| D Zone | 0.886 XC ✓ · Tolerance D Level 0.941 XC ✓ (can be turned off) |
| C levels | C grid with background up to the C max line |
| CD levels | 0.382 ✓ · 0.5 · 0.618 ✓ — additional levels optional |
| Projections | Position projection D Zone: entry 0.886 XC, stop 1.131 XC, target 0.618 CD · B→C: 0.382 XA, stop 0.786 XA, target 1.131 XA · C→D: 1.131 XA, stop 1.618 XA, target 0.886 XC — off by default |