Smart Money / ICT Nodes
A deep library of Inner Circle Trader (ICT) and Smart-Money-Concept primitives (fair value gaps, order blocks, liquidity, market structure and more) each designed for bar-by-bar, real-time correctness, not just a snapshot of the latest pattern.
Node families
Fair Value Gaps (FVG)
Detects three-bar imbalances and tracks each gap as it forms, fills, and is consumed, with persistent zones you can see across the whole history, not just at the right edge.
ict_fvgOrder Blocks
Identifies the last opposing candle before an impulsive move and tracks the block until it's mitigated, with active and consumed states.
ict_order_blockEqual Highs / Lows (EQH / EQL)
Clusters swing highs/lows into liquidity levels with configurable tolerance, then tracks each level until it's tapped or swept. Both active and consumed levels stay visible.
ict_eqh · ict_eqlMarket Structure Shift (MSS / BOS)
Flags breaks of structure and changes of character so a strategy can act on a confirmed shift in trend.
structure shiftLiquidity (grabs, sweeps, walls)
Models stop-runs and liquidity sweeps (the grab itself is the signal) with sweep-only consumption so the level isn't consumed before the grab can fire.
liquidity sweep / grabPower of Three (AMD)
Accumulation → Manipulation → Distribution cycles, modelled as discrete phases with a Judas-sweep manipulation leg and expansion confirmation.
ict_power_of_threeStateful by design
Concepts with a history (a gap that forms, persists and is consumed, a level that is tapped or swept) are tracked across bars as persistent records, each with a start and an end. That means the chart shows every historical occurrence, not just the most recent one, and the same state feeds both the strategy signals and the visualization.
Detect → confirm → track end
Each instance moves through forming → active → consumed / invalidated / swept, with the terminal state fixing where the level or zone ends.
One source of truth
The boolean a strategy reads (triggered/valid) and the zones drawn on the chart come from the same internal state, with no 'visible but strategy-blind' outputs.
