Skip to content
StatePath
Tool Atlascalc.fibonacci_projection

Tool

Trend-Based Fib Extension / Expansion (ABC)

calc.fibonacci_projection

CalculationFibonacci

Inputs

legBundle (untagged)

The A→B impulse as one leg bundle — A is the leg’s start, B its end. Used by the default leg_plus_point mode.

point_aBundle (untagged)

The first pivot (start of the impulse) as a zigzag bundle. Used by three_points mode.

point_bBundle (untagged)

The second pivot (end of the impulse) as a zigzag bundle. The A→B distance is what gets projected.

point_cBundle (untagged)

The launch pivot C — the end of the retracement against A→B; every target anchors on it. Used by leg_plus_point and three_points.

price_aBuffer (time series)

A raw price for point A in three_prices mode.

price_bBuffer (time series)

A raw price for point B in three_prices mode.

price_cBuffer (time series)

A raw price for point C in three_prices mode — the level the targets project from.

Outputs

Bundle (untagged)

A bundle of projected target levels — each ratio paired with the price it projects to from C — ready to use as take-profit levels or as zones to watch for reversals.

Trend-Based Fib Extension takes a three-point A-B-C move and projects extension targets beyond it — price levels like 0.618, 1.0 and 1.618 of the A→B swing measured from C. This is the tool TradingView calls “Trend-Based Fib Extension” and MetaTrader calls “Fibonacci Expansion”. Traders use these as profit targets and likely turning points.

Trend-Based Fib Extension / Expansion (ABC) overview diagram0.3820.6181.01.6182.618

How it works

Given an impulse A→B and a corrective pullback to C, the node measures the A→B distance and lays out projection ratios from C: 1.0 means the move from C equals A→B, 1.618 means it runs a golden extension further, and so on — DiNapoli traders know 0.618 / 1.0 / 1.618 as COP, OP and XOP. Ratios here are plain ratio units (0.618 = 61.8%), unlike the retracement and OTE tools, which configure their levels in percent. The `mode` picker chooses how the geometry is supplied — one leg bundle plus the launch point C (default), three zigzag pivot points, or raw prices; `ratio_count` sets how many projection levels to draw, and the per-level `ratio_N` knobs set each multiple. The output bundle carries every projected target price.

Modes

Mode options

Leg + launch pointleg_plus_point

Supplies the A→B impulse as one leg bundle plus the launch pivot C — the same 3-point geometry with one wire fewer.

Leg + launch point diagramABCtarget

When to use: The default — pair a fibonacci anchor’s leg with a retrace pivot and project from C.

Three pointsthree_points

Supplies A, B and C as zigzag pivot bundles; the node measures A→B, then projects the ratio targets forward from C.

Three points diagramABCtarget

When to use: The usual setup — wire three swing pivots from a zigzag so the projection follows real market structure.

Three pricesthree_prices

Supplies A, B and C as raw price numbers instead of pivot bundles, then lays out the projection ladder from those values.

Three prices diagram1.01.6182.618

When to use: When your A/B/C levels come from constants or computed prices rather than zigzag bundles.

Ratio count options

11
22
33
44
55
66
77
88

Configuration

modeenum

How the A-B-C geometry is supplied: ‘leg_plus_point’ (one leg bundle for A→B plus the launch pivot C — the default), ‘three_points’ (pivots A, B and C), or ‘three_prices’ (raw prices A, B and C). The inspector greys out the inputs that don’t apply to the chosen mode.

Choices:leg_plus_pointthree_pointsthree_prices
ratio_countenum

How many projection levels to draw, from 1 up to 8. More levels give a fuller target ladder (e.g. 0.618, 1.0, 1.618, 2.618) while fewer keep just the key extensions. Only the first `ratio_count` of the `ratio_N` values are used.

Choices:12345678
ratio_count diagram0.3820.6181.01.6182.618
ratio_0scalar

The 1st projection multiple of the A→B move, measured from C. A common value is 0.382.

ratio_1scalar

The 2nd projection multiple. A common value is 0.618.

ratio_2scalar

The 3rd projection multiple. 1.0 means the move from C equals the A→B distance.

ratio_3scalar

The 4th projection multiple. The 1.618 golden extension is the classic target.

ratio_4scalar

The 5th projection multiple. A common value is 2.0.

ratio_5scalar

The 6th projection multiple. A common value is 2.618.

ratio_6scalar

The 7th projection multiple, a deeper extension such as 3.618.

ratio_7scalar

The 8th projection multiple, a far extension such as 4.236.

Connects to

Reads from
Feeds into

Examples

  • Take-profit: in three_points mode, project from the last A-B-C swing and place the first target at the 1.618 extension of the impulse.
  • Reversal watch: gate short setups to bars where price reaches the 2.618 projection of an extended up-move.

Common mistakes

  • Confusing projection with retracement — projection extends targets BEYOND the move from C, while retracement marks pullback levels inside the leg; use calc.fibonacci_retracement for the latter.
  • Setting `ratio_count` larger than the `ratio_N` values you configured, so unused slots fall back to defaults.

See also