InRegi TRADING BLOCKS EN · PL Get access
Home / Indicators / 4.2 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.785 of XA (the wick does not touch 0.786).
Point CWick 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 levelX (1.0 XC)
Stop zone1.0–1.131 XC
Invalidation1.131 XC
Invalidated before DA 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.
Targets38.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.

Colours: Bullish #D4E157 with #827717 outline · Bearish #9E9D24 with #827717 outline · B Zone lines #FF9800 (B 0.382 / 0.785, 0.5 and 0.618 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 follows the furthest price inside the zone.
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.
  • 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.886 XC ✓ · Tolerance D Level 0.941 XC ✓ (can be turned off)
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.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