Architecture view

SMC Code Map

Understand how an SMC indicator is assembled before changing it. This map groups the engine into data, structure, drawing, alerts and rendering layers, with the order in which each layer depends on the next.

Try the tool

Runs locally in your browser. No uploads, no API keys.
1. SeriesOHLC, time, ATR, cumulative range
↓
2. StructurePivots → legs → BOS / CHoCH → trend
↓
3. Liquidity objectsOrder blocks · FVG · EQH/EQL · premium/discount · MTF levels
↓
4. OutputLabels, lines, boxes, candle colours, alerts
↓
5. State and parityClosed-bar commit · rollback · object limits · comparison tests

How to use it

  1. Start with OHLC series and ATR.
  2. Build swings and structure.
  3. Derive order blocks, FVG and zones.
  4. Render objects and fire alerts.

SMC Code Map FAQ

Is this a function-by-function source map?

It is a conceptual architecture map, not a copy of any project source.

Why separate state from rendering?

It makes real-time updates and repaint checks easier to reason about.

Can I use this for an EA?

Yes, as a planning map for the signal and risk layers.

Related SMC tools

These tools are educational calculators. They do not provide trading signals, execute orders or guarantee results. Validate any output independently.

🚀 Invite friends — Earn $5 You both get $5 credit on Go Ad · opencode.ai AI-Powered Coding Agent — Try Free Build apps, fix bugs & ship faster with opencode. Get $5 free credit when you join. × Ad · quo.com QuoPhone — $20 Visa Gift Card Free Sign up to Quo, subscribe 3 months, get a $20 Visa gift card. Atif's referral gift for you. ×