InRegi TRADING BLOCKS Join waiting list
Home / Indicators / 4.1 InRegi XABCD
01

No manual measuring

B retracement, the C extension beyond A and the D Zone on XC are checked automatically on every candle close.

02

C beyond A

Covers formations where C goes past A — the regular sets reject them. The C candle close rules are checked for you.

03

One alert, then walk away

A "price touched D Zone" alert fires in real time, once per formation.

How it works

Swing pointsDetected on closed candles and confirmed after a short delay, so points never appear in hindsight.
Point B0.382–0.618 of XA. The wick may go beyond 0.618, but B candles close before 0.618. B is the furthest point (wick).
Point CWick at 1.272 XA or beyond (C min 1.272 XA); the C candle closes below 1.414 XA (“C close max 1.414 XA”). The wick may exceed 1.414.
D Zone (point D)Main level 0.786 XC; Tolerance D Level 0.886 XC (a level price may reach; if it turns back before the invalidation level, the formation stays valid). D is confirmed only when price breaks the B low (wick included) — red dotted line “D Min. Validation”. Targets are calculated after confirmation.
Stop levelX (1.0 XA)
Stop zone1.0–1.131 XA
Invalidation1.131 XA — the formation stays in play until 1.131 XA
Invalidated before DA C candle close at or beyond 1.414 XA.
Targets38.2% and 61.8% CD (50% optional), measured from the actual D

D sits at 0.786 of XC — the leg from C back to X — not of XA. Because C is beyond A, this is the shallowest D in Set 4.

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.

Colours: Bullish #69F0AE · Bearish #2E7D32 · B Zone lines #9C27B0 (B 0.382 / 0.618, 0.5 inside) · C grid #FF9800 (C min green) · C max / invalidation line #9C27B0 · Stop Zone pink

How to use

READY→IN PLAY→COMPLETEDorINVALIDATED
Live previewNot available in this version — the formation is drawn once C is set.
READYX–A–B–C is valid (C beyond A) and the D Zone is projected on XC. Wait for price.
IN PLAYPrice has touched the D Zone. D is confirmed only after price breaks the B low (wick included); targets are calculated from then on.
CompletedAfter the D Zone, price reached at least the 38.2% CD correction (0.314 CD with the Custom AD Retracement 31.4% option) (D Zone respected).
InvalidatedA rule was broken (invalidation level touched, C candle closed beyond its limit…). Invalidated formations are not drawn on the chart.
PanelFormation, status, D Zone (price and XC level), entry, SL with risk %, CD levels reached, R:R to the first CD level, Forming.
AlertSet frequency to "Once per bar". After an indicator update, delete and recreate the alert.

Repainting & limitations

All formation logic runs on closed candles only — no future data, no lookahead, no higher-timeframe requests. Below is every case where the drawing can still change, so nothing surprises you.

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.
  • D is confirmed only after the B low is broken; until then no targets are drawn.
  • Invalidated formations are not drawn.
  • 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

DisplayCompleted ✓ · Formations kept: 5 · Overlapping completed: keep larger / smaller (by XA height) · Formation background with name ✓ (covers the whole formation)
D Zone0.786 XC ✓ · Tolerance D Level 0.886 XC
C levelsC grid with background up to the C max line
CD levels0.382 ✓ · 0.5 · 0.618 ✓ — additional levels optional
NEWCustom 31.4%Custom AD Retracement 31.4% (off by default): the formation is confirmed already at the 0.314 CD correction — a non-standard level meant for strong trends that make shallower corrections. Green dotted line “AD 0.314 (Custom)”; the CD zone extends to it.
ProjectionsPosition projection D Zone: entry 0.786 XC, stop 1.131 XA (wide, default) or 0.886 XC (tight), target 0.618 CD · C→D: 1.272 XA, stop 1.414 XA, target 0.786 XC — off by default

Updates

Planned — Next release (in preparation): the C→D projection will be removed; Position projection D Zone stays. The B→C and C→D projections may return in a future version if the TradingView code size limit allows.
22 Nov 2026
  • “Show Extended Levels AD/CD” removed from this indicator — planned as a separate indicator.
16 Nov 2026, 12:10 UTC
  • Settings reorganised: Position projection D Zone and the C→D projection at the top, followed by Custom 31.4% and Overlapping.
  • B→C projection removed — trading from the potential B zone carries the highest risk.
  • Extended Levels zones now extend 25 bars to the right (previously 3).
16 Nov 2026, 00:30 UTC
  • NEWShow Extended Levels AD/CD — continuation levels after a completed formation in four zones: Regular, Extended, OverExtended and Extreme, up to 5.0 CD.
  • NEWCustom AD Retracement 31.4% — the formation can be confirmed already at the 0.314 CD correction.
  • “C Zone” label on the C levels background.
  • Thicker C min line; B 0.5 / 0.618 XA labels inside the B Zone.
  • Settings: “Alternative D level” renamed to “Tolerance D Level”.
  • “Show invalidated formations” removed — invalidated formations are no longer drawn.
15 Nov 2026
  • The formation background now covers the whole formation: all levels and lines.
  • C limit line renamed to “C close max 1.414 XA”, drawn from B together with the C levels.
  • Invalidation at 1.131 XA.
  • Tolerance D Level: 0.886 XC.
  • Position projection D Zone, B→C and C→D projections added (off by default).
  • Position projection D Zone: choice of stop — 1.131 XA (wide, default) or 0.886 XC (tight).
14 Nov 2026
  • First release. D is validated only after price breaks the B low (“D Min. Validation”).