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

No manual measuring

B retracement, C depth and the D Zone measurements are checked automatically on every candle close.

02

See it before it completes

Live preview shows the potential B and C zones and the D Zone while the formation is forming.

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.
X–A measurementTwo options: classic (swing low/high to swing high/low) and Strong Momentum X–A — X at the start of a smooth, impulsive move. Both can produce a valid formation — see Concepts.
Point B0.703–0.835 of XA (precise 0.786). B is measured from the wick; the wick must stay inside the zone.
Point CAt least the AB leg 38.2% retracement (C min); levels 0.5 · 0.618 · 0.707 · 0.786 · 0.886
D Zone (point D)1.272 XA + BC extension + CD=AB. CD=AB base is ×1.272; if that reaches 1.414 XA the base is ×1.0 (×1.155 as possible), and if that also falls outside, ×0.886. BC base follows C (2.24 / 2.0 / 1.618) and is lowered when it falls beyond 1.272 XA.
Possible levelsHigher BC and CD=AB levels that fit before 1.414 XA are drawn as solid lines marked “(possible)”. BC 3.0 / 3.14 / 3.618 appear after 2.24 is touched, up to 1.414 XA.
Stop level1.414 XA (option 1.5)
InvalidationPrice touches 1.618 XA (a close beyond the 1.414 stop does not end the formation)
Targets38.2% and 61.8% AD, measured from the actual D

An extension formation: D completes beyond X. A strict B zone filters out structures that only look similar.

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

Moving the D Zone to a touched level is a change of presentation, not a signal.

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 #36F0D1 · Bearish #F11FA6 · D Zone gold · Stop Zone red

How to use

READY→IN PLAY→COMPLETEDorINVALIDATED
Forming (live preview)Potential B and C zones and the D Zone, including the Precise D Zone, shown before the formation is confirmed.
READYX–A–B–C is valid and the D Zone is projected. 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% AD correction (0.314 AD with the Custom AD Retracement 31.4% option) (D Zone respected).
InvalidatedA rule was broken (invalidation level touched, C beyond A…). Invalidated formations are not drawn on the chart.
PanelD Zone, entry, SL, risk %, R:R.
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 deeper 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 AD levels follow price deeper into the D Zone.
  • When price touches a possible level, it becomes a proper level and the D Zone moves. Once a formation has played out, only proper levels remain.
  • 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.
  • Historical tests of the formation as a mechanical strategy showed no statistical edge after costs. Use the zones for analysis, not as a standalone signal.

Settings

DisplayCompleted ✓ · Live preview ✓ · Formations kept: 5 · Overlapping completed: keep larger / smaller (by XA height) · Formation background with name ✓
C levels0.382 · 0.5 · 0.618 · 0.707 · 0.786 · 0.886 ✓ — 0.414 / 0.941 optional
D ZoneD Zone from 2 measurements: 1.272 XA + BC extension (off by default = 3 measurements including CD=AB)
AD levelsMain: 0.236 · 0.382 ✓ · 0.5 · 0.618 ✓ — Additional: 0.146 · 0.191 · 0.314 · 0.414 · 0.707 · 0.786 · 0.886 (optional). AD lines dotted by default, solid optional
NEWCustom 31.4%Custom AD Retracement 31.4% (off by default): the formation is confirmed already at the 0.314 AD correction — a non-standard level meant for strong trends that make shallower corrections. Green dotted line “AD 0.314 (Custom)”; the AD zone extends to it.
ProjectionsPosition projection D Zone (R:R) — off by default. The C→D projection is not available in this indicator (TradingView code size limit).

Updates

Planned — 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
  • Position projection D Zone (R:R) restored. The C→D projection does not fit the TradingView code size limit.
  • Settings reorganised: Position projection D Zone at the top, followed by Custom 31.4% and Overlapping.
  • 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 AD.
  • NEWCustom AD Retracement 31.4% — the formation can be confirmed already at the 0.314 AD correction.
  • Precise D Zone also while the formation is forming (live preview).
  • “C Zone” label on the C levels background.
  • “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.
14 Nov 2026
  • Overlapping completed formations: keep the larger or the smaller one, compared by XA height.
  • Formation background with the indicator name (can be turned off).
  • Position projections removed (TradingView code size limit).