InRegi TRADING BLOCKS EN · PL Get access
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 (D Zone respected).
InvalidatedA 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.
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 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

DisplayCompleted ✓ · Invalidated ✗ · 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
ProjectionsPosition projection D Zone: entry 0.786 XC, stop 1.131 XA (wide, default) or 0.886 XC (tight), target 0.618 CD · B→C: 0.382 XA, stop 0.618 XA, target C min 1.272 XA · C→D: 1.272 XA, stop 1.414 XA, target 0.786 XC — off by default