> ## Documentation Index
> Fetch the complete documentation index at: https://takeprofit.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Smart Money Concepts

> The free built-in SMC indicator: market structure (BOS, CHoCH, MSS), order blocks and breakers, fair value gaps, liquidity and sweeps, premium and discount, and previous day, week and month levels, with presets, event alerts that work under every setting, and data outputs.

**Smart Money Concepts** (SMC) is a free built-in indicator that marks price-action structure on the chart: where the trend broke or changed, the zones the moves started from, the gaps they left, and the levels where stop orders tend to collect. It draws over the price and is listed as **Smart Money Concepts** in the indicator library; on the chart its name is **SMC**.

Every rule is applied to closed bars only, the same way in history and live, so what you see on past bars is what the indicator showed at the time. Every event has an alert, and **an alert keeps working whatever the indicator shows**: settings change what is drawn, never whether an event exists.

> [card] [Market structure](#market-structure)
>
> BOS, CHoCH, CHoCH+ and MSS on swing and internal pivots, strong and weak highs and lows.

> [card] [Order blocks](#order-blocks)
>
> The candle a break started from, tracked until mitigated, broken or turned into a breaker.

> [card] [Fair value gaps](#fair-value-gaps)
>
> Three-candle gaps, shrinking as they fill, with inverse FVGs.

> [card] [Liquidity](#liquidity)
>
> Equal highs and lows, and sweeps of them, of swing points and of key levels.

> [card] [Premium / discount](#premium-and-discount)
>
> The upper and lower halves of the current swing range.

> [card] [Key levels](#key-levels)
>
> Previous day, week and month high and low.

## Add it to a chart

Open the **f** icon in the chart's top control panel, search for **Smart Money Concepts** and apply it. The gear next to **SMC** above the chart opens its settings. See [Indicators](https://takeprofit.com/docs/guide/platform/indicators/indicators-overview#add-an-indicator-to-a-chart) for the general steps.

It starts with the **Standard** [preset](#presets): swing structure, the order blocks nearest to price, the last fair value gaps and the previous day's high and low. Pick another preset for more or less on the chart, or **Custom** to set every input yourself.

## Presets

**Preset** decides what is drawn and how things are detected. Every preset detects everything (structure on both layers, order blocks, gaps, liquidity, premium / discount and all key levels), so every [alert](#alerts) and [data output](#data-outputs) works under every preset, also for the things the preset doesn't draw.

| Preset | What it draws |
| - | - |
| **Standard** (default) | Swing structure with strong / weak high and low, the order blocks nearest to price (up to 2 per side within 8 ATRs), the last 2 fair value gaps per direction, previous day high / low. A clean chart for most timeframes. |
| **Structure** | Structure only: swing structure, strong / weak high and low, previous day high / low. Order blocks, gaps, liquidity and premium / discount are detected with Standard's settings and fire their alerts, but are not drawn. |
| **ICT Strict** | Strict ICT definitions: MSS and order blocks need a liquidity sweep, order blocks need displacement and are mitigated at 50%, gaps are filled at their CE. Internal structure, swing labels, breakers, inverse FVGs, equal highs / lows, sweeps, premium / discount, previous day and week levels. |
| **Scalper** | Shorter pivots for low timeframes, and **breaks confirmed by the wick**: a BOS or CHoCH comes on the bar whose high or low crosses the level, earlier than with a close. Internal structure, the nearest order blocks, small gaps, equal highs / lows and sweeps; no strong / weak levels. |
| **Full** | Everything: internal structure, swing labels, every kept order block and breaker, inverse FVGs, liquidity, premium / discount, previous day, week and month levels. |
| **Custom** | Shows every input; the indicator uses them as you set them. |

The settings each preset uses:

| Setting | Standard | Structure | ICT Strict | Scalper | Full |
| - | - | - | - | - | - |
| Definitions | Classic | Classic | **Strict ICT** | Classic | Classic |
| Swing pivot: left / right bars | 50 / 10 | 50 / 10 | 50 / 10 | 20 / 5 | 50 / 10 |
| Internal structure drawn, pivot left / right bars | no, 5 / 5 | no, 5 / 5 | yes, 5 / 5 | yes, 3 / 3 | yes, 5 / 5 |
| Break confirmed by | Close | Close | Close | **Wick** | Close |
| MSS displacement: body ≥ (× ATR) | 1.0 | 1.0 | 1.0 | 0.8 | 1.0 |
| Swing labels HH / HL / LH / LL | off | off | on | off | on |
| Strong / weak high and low | on | on | on | off | on |
| Present mode: last structure breaks per layer | 3 | 3 | 5 | 5 | 10 |
| Order blocks drawn | nearest 2 per side within 8 ATRs | none | every kept block | nearest 2 per side within 8 ATRs | every kept block |
| Order blocks kept per direction, swing / internal | 5 / 5 | 5 / 5 | 3 / 3 | 5 / 5 | 5 / 5 |
| Order block candle | Last opposite candle | Last opposite candle | Last opposite candle | Leg extreme | Last opposite candle |
| Only after displacement | off | off | on | off | off |
| Mitigated by / invalidated by | Wick / Close | Wick / Close | 50% / Close | Wick / Wick | Wick / Close |
| Mitigated order blocks | Keep | Keep | Recolor | Recolor | Recolor |
| Invalidated OB becomes breaker | off | off | on | off | on |
| Fair value gaps drawn | yes | no | yes | yes | yes |
| FVG minimum size (× ATR), kept per direction | 0.5, 2 | 0.5, 2 | 0.25, 5 | 0.1, 5 | 0.25, 10 |
| FVG filled when | Wick (full) | Wick (full) | CE (50%) | Wick (full) | Wick (full) |
| CE (50%) line, inverse FVGs drawn | off, off | off, off | on, on | on, off | on, on |
| Equal highs / lows drawn, pivot bars, within (× ATR) | no, 3, 0.1 | no, 3, 0.1 | yes, 3, 0.1 | yes, 2, 0.15 | yes, 3, 0.1 |
| Sweeps drawn, close back within (bars) | no, 0 | no, 0 | yes, 1 | yes, 0 | yes, 1 |
| Premium / discount zones drawn | no | no | yes | no | yes |
| Key levels drawn (day / week / month) | day | day | day, week | day | day, week, month |
| Any-event alert: include internal BOS / CHoCH | off | off | on | on | on |

All other settings take their default value under every preset (see [Inputs](#inputs)).

## The settings dialog

With any preset other than **Custom**, the dialog shows only the inputs that presets never change:

* **General**: **Preset**, **Mode**.
* **Style**: **Label text**, **Label size**, **Bullish**, **Bearish**, **Candle trend**.
* **Alerts**: **Any-event alert: events**, **Any-event alert: direction**.

Choose **Custom** to see the rest. A feature's own options appear only while the feature is on: turn on **Internal structure** and its pivot inputs appear below it. The Custom inputs start from their defaults, which equal the **Standard** preset, not from the preset you had selected before.

The show toggles (**Swing structure**, **Internal structure**, **Swing order blocks**, **Internal order blocks**, **Fair value gaps**, **Show inverse FVGs**, **Equal highs / lows**, **Liquidity sweeps**, **Premium / discount zones**, **Strong / weak high and low**, **Swing labels HH / HL / LH / LL** and the three key levels) only decide what is drawn. **Off hides the drawing; the alerts and data outputs keep working.** A feature's detail inputs (pivot bars, minimum size, sweep sources and so on) still apply while its drawing is off, even though the dialog hides them.

## What it draws

| Object | Label (Full / Short) | What it marks |
| - | - | - |
| Structure break, swing layer | `BOS`, `CHoCH`, `CHoCH+`, `MSS`, `MSS+` (same in Short) | A line from the broken swing to the bar that broke it. Solid for BOS, dashed for CHoCH. |
| Structure break, internal layer | `iBOS`, `iCHoCH`, `iCHoCH+`, `iMSS`, `iMSS+` / `b`, `c`, `c+`, `m`, `m+` | The same on the short pivots, thinner and dashed or dotted. |
| Swing points | `HH`, `HL`, `LH`, `LL` | Each new swing high or low compared with the previous one. |
| Strong / weak high and low | `Strong High`, `Weak Low`, … / `Strong H`, `Weak L`, … | Lines at the top and bottom of the current swing range, extended to the right. |
| Order block | `OB` (swing), `iOB` (internal), `Breaker` / no label | A box over the order block candle, extended to the right while it is live. Internal blocks and breakers have a dashed border. |
| Fair value gap | `FVG`, `IFVG` / no label | A box over the gap; optionally a dotted line at its middle (CE), extended to the right. |
| Equal highs / lows | `EQH`, `EQL`, `EQH ×3` / `=H`, `=L`, `=H3` | A dotted level through two or more matching highs or lows, extended to the right. |
| Liquidity sweep | `BSL ×`, `SSL ×` / `×`; key levels `PDH ×` … `PML ×` in both | The bar that took a level and closed back. A swept key level is named, like the key level labels. |
| Premium / discount | `Premium`, `Equilibrium`, `Discount` / `P`, `EQ`, `D` | Two boxes and a middle line over the current swing range, extended to the right. |
| Key levels | `PDH`, `PDL`, `PWH`, `PWL`, `PMH`, `PML` | Previous day, week and month highs and lows as lines extended to the right. |

**Label text** in the Style group switches between **Short** (default), **Full** and **Off**. With **Short**, order blocks and gaps carry no label (their color tells them apart). With **Off** only the key level names stay, since the lines mean little without them. Key levels read `PDH` … `PML` in every mode. Label text changes only the text: every mode draws the same boxes and lines.

The colors come from **Bullish** and **Bearish** in the Style group: structure, order blocks (light fill), breakers (lighter, dashed), liquidity and premium / discount; internal structure uses them slightly transparent. Under **Custom** you can also set **Bullish FVG**, **Bearish FVG** and **Neutral** (key levels, label text, mitigated order blocks, equilibrium). **Label size** is **Tiny**, **Small** (default), **Normal** or **Large**; internal structure, order block and gap labels are one step smaller.

## How confirmation works

SMC calculates on **closed bars only**. While a bar is still forming, nothing new is drawn, no alert fires and every data output keeps its value from the previous closed bar. An event appears on the bar whose close confirmed it, and a closed bar is never recalculated into a different result.

**Breaks need a close** in every preset except **Scalper**. A bullish break needs a close above the swing high; with **Break confirmed by** set to **Wick** (Scalper), the high is enough. **Break buffer (× ATR)** (Custom) adds a margin: the close (or wick) has to clear the level by that many ATRs. 0 by default.

**Pivots are confirmed late, and the indicator says so.** A swing high is the highest bar among the bars around it, so it can only be known after the bars to its right have closed. With the default swing pivot of 50 left / 10 right bars, a swing high is confirmed 10 bars after the bar that made it; internal pivots (5 / 5) are confirmed 5 bars later. That is why the **right bars** inputs are labeled **(confirmation lag)**.

By default the indicator draws objects **where they occurred** — a structure line starts at the swing it broke, an order block box starts at its candle — which is the usual way these concepts are drawn. On history this shows each object from a point where it was not yet known. **Draw objects from** (Custom) lets you see the lag:

* **At origin** (default) — objects start where they occurred.
* **At confirmation** — objects start at the bar on which they became known. Scrolling back through history then shows only what was knowable on each bar.
* **At confirmation + ghost** — as **At confirmation**, plus a thin dotted line from the origin to the confirmation bar, so you see both where the object formed and how much later it was confirmed.

Alerts and data outputs always fire on the confirmation bar, whichever option you pick.

> [!NOTE]
>
> Thresholds are measured in ATRs, using **ATR length (for thresholds)** (14 by default). During the first bars, before the ATR has enough history, size filters reject every gap and equal highs and lows must match exactly.

## Market structure

Structure is read on two layers, each with its own pivot lengths:

* **Swing** — long pivots, 50 bars to the left and 10 to the right by default. The bigger picture.
* **Internal** — short pivots, 5 and 5 by default. The moves inside the swing legs. Detected in every preset; drawn by ICT Strict, Scalper and Full.

On each layer the indicator tracks the latest swing high and swing low and a trend: bullish, bearish or not yet set. A break of a swing level is one of:

* **BOS** (break of structure) — a break in the direction of the trend, or the first break on the chart.
* **CHoCH** (change of character) — the first break against the trend. The trend flips.
* **CHoCH+** — a CHoCH that had a warning: before a bullish CHoCH the last swing low was already higher than the one before it (mirrored for bearish). Turn off **Mark CHoCH+** (Custom) to label these as plain CHoCH.
* **MSS** (market structure shift) — a CHoCH whose move displaced: from the leg's extreme to the break, a candle had a body of at least **MSS displacement: body ≥ (× ATR)**, or the move left a fair value gap. Under [Strict ICT](#classic-and-strict-ict) the leg must also have swept the previous swing. An MSS is labeled `MSS` instead of `CHoCH`.

Each swing level can be broken once. When a break happens, the extreme of the move becomes the new opposite swing straight away, so the level that would flip the trend back is known on the break bar.

**Swing: show** and **Internal: show** (Custom) limit what is drawn to **BOS** or **CHoCH** breaks. They only affect the chart: alerts and data outputs still see every break.

**Hide internal breaks at swing levels** (on by default) drops an internal break that lands on the same level as a swing break or the current swing level, within one tick, so the same level is not marked twice. A dropped break is not drawn, has no alert and creates no order block, but the internal trend still changes.

A bar that breaks both the swing high and the swing low fires both events. The trend then follows the bar's body: bearish if it closed below its open, bullish otherwise.

**Strong / weak high and low** label the top and bottom of the current swing range. In a bearish trend the top is the **Strong High**, the level the downtrend has to hold, and the bottom is the **Weak Low**, the one the trend is expected to take next. In a bullish trend it is the other way round. They are part of the swing structure: with **Swing structure** off they are hidden too.

### Trend candles

SMC can paint the chart's candles by trend: **Bullish** color while the trend is bullish, **Bearish** while it is bearish, the chart's own colors before the first trend. It is off by default. Turn it on with the eye icon of the **Trend candles** output in the indicator's settings (Outputs); the same eye turns it off again.

**Candle trend** (Style) picks which trend colors the candles: **Swing** (default) or **Internal**. Internal-trend candles use the same colors at 70% opacity.

Trend candles have no alert of their own. To alert on a trend change, use the **Swing trend** or **Internal trend** [data output](#data-outputs).

## Order blocks

An order block is created on each structure break, on both layers, whether or not the layer's blocks are drawn (**Swing order blocks**, **Internal order blocks**).

**Order block candle** picks the zone:

* **Last opposite candle** (default) — the last down candle before a bullish move (the last up candle before a bearish one), between the broken swing and the move's extreme. If there is none, the extreme's candle.
* **Leg extreme** — the candle at the move's extreme (Scalper).

The zone is that candle's high to low. **Only after displacement** keeps only the order blocks whose move displaced, by the same test as MSS. When a swing break picks the same candle as an internal one, they are one order block, counted as a swing block.

After it is created, an order block is tracked on every closed bar (bullish shown; bearish mirrors):

| Stage | When | Set by |
| - | - | - |
| **Entered** | The bar's range overlaps the zone after a bar that did not. Every new entry counts. | — |
| **Mitigated** | Once: the low reaches the top (**Wick**), the close reaches the top (**Close**), or the low reaches the middle (**50%**). | **Mitigated when price reaches it by** |
| **Broken** | A close below the bottom (**Close**) or a low below it (**Wick**). | **Invalidated by** |

**Mitigated order blocks** sets what happens to the box: **Keep** it as it is (Standard), **Recolor** it gray, or **Hide** it. A hidden block is still tracked and still alerts.

With **Invalidated OB becomes breaker** on (ICT Strict, Full), a broken order block becomes a **breaker** with the opposite polarity: a broken bullish block now acts as resistance, and entering it fires the bearish option of the entry alert. A breaker ends when price closes back through its far side. With the option off, a broken block simply ends.

**Which blocks are kept and drawn.** **Swing: keep last (per direction)** and **Internal: keep last (per direction)** cap the live blocks per layer and direction, breakers included; the oldest goes first. **Overlapping order blocks**: **Hide older** (default) retires the older blocks of the same layer and direction that a new block overlaps; **Keep all** leaves them. Of the kept blocks, **Show nearest 2 within (× ATR, 0 = all)** draws only the 2 per side nearest to the close and none farther than that many ATRs (8 in Standard and Scalper), so the chart shows the blocks price is trading against; with 0 (ICT Strict, Full) every kept block is drawn. A side is what the block acts as: bullish blocks and bearish breakers are support below, the others resistance above. The selection only affects the chart: alerts and data outputs see every kept block. **50% line** adds a line at the middle of each box.

## Fair value gaps

A fair value gap is a three-candle gap: a bullish one when the third candle's low is above the first candle's high, a bearish one when the third candle's high is below the first candle's low. The box covers the gap, starts at the middle candle and is confirmed on the third.

* **Minimum size (× ATR, 0 = any)** drops gaps smaller than that many ATRs. 0.5 by default.
* **Filled when** — the gap is filled when the low reaches its bottom (**Wick (full)**, default), the close reaches its bottom (**Close (full)**), or the low reaches its middle (**CE (50%)**). Bearish gaps mirror. A filled gap ends.
* **Shrink as it fills** — the box shrinks to the part of the gap price has not traded into yet.
* **CE (50%) line** — a dotted line at the gap's original middle. It stays where it is when the box shrinks.
* **Inverse FVGs** — a filled gap that then closes beyond its far side (on the fill bar or later) becomes an **inverse FVG** with the opposite polarity: a bullish gap closed through downward becomes a bearish IFVG. It ends on a close back through. Inverse FVGs are always detected and alerted; **Show inverse FVGs** decides whether they are drawn.
* **Keep last unfilled (per direction)** caps the active gaps per direction, and separately the filled gaps waiting to invert and the inverse gaps.

Price entering a gap is reported once per gap, the first time it trades into it.

## Liquidity

Liquidity is where stop orders tend to sit: **buy-side** above highs and **sell-side** below lows.

**Equal highs and lows.** Highs found with **Equal highs / lows pivot bars** on each side are grouped when they are within **Equal within (× ATR)** of each other. Once a group reaches **Minimum touches** (2 by default), it counts as equal highs (or lows) and, when **Equal highs / lows** is on, is drawn as a dotted level from its first high, labeled `EQH` (or `EQL`), with `×3`, `×4`… from three touches.

**Sweeps.** A sweep is a bar that trades through a level and closes back on the other side of it: for buy-side, a high above the level and a close at or below it. When **Liquidity sweeps** is on, the bar is marked `BSL ×` or `SSL ×`; a sweep of a key level is marked with its name instead, such as `PWH ×`. If the bar closes beyond the level, the level is taken and no sweep is reported, unless **Close back inside within (bars, 0 = same bar)** gives price up to 3 more bars to close back.

Three kinds of level can be swept, each with its own switch (all on by default and in every preset):

* **Sweeps of equal highs / lows** — groups that reached the minimum touches.
* **Sweeps of swing points** — every swing high and low of the swing layer.
* **Sweeps of key levels** — the previous day, week and month highs and lows, [whether or not they are drawn](#key-levels).

**Equal highs / lows** and **Liquidity sweeps** only control the drawing; the alerts fire either way. Turning all three sweep sources off counts as all three on, so the sweep alert always has levels to watch.

## Premium and discount

The current swing range runs from the latest swing low to the latest swing high, widened by every bar since. Its upper half is **premium**, its lower half **discount**, and the middle is **equilibrium**. **Equilibrium band (% of range, 0 = line)** turns the middle line into a band.

The zones are always computed: the premium / discount alert and the **Position in range (0 bottom, 1 top)** data output work in every preset. **Premium / discount zones** (ICT Strict, Full) only decides whether they are drawn; they are drawn on the last bar only.

## Key levels

The high and low of the last completed day, week and month, labeled `PDH` `PDL`, `PWH` `PWL`, `PMH` `PML`. **Previous day high / low**, **Previous week high / low** and **Previous month high / low** decide which are drawn, as lines in the **Line style** you pick (dashed by default). Each line starts at the bar where that period's high or low was made and runs to the right (if the chart's bars don't contain that exact price, at the bar nearest to it; if the period is too long to look back over, such as a month on a 1-minute chart, at the first bar of the new period); its label sits at the last bar, just right of price, so it stays clear of the candles and the structure labels. In **History** mode a finished period's line ends where the next period starts and keeps its label at its own start. All six are read whatever is drawn: the data outputs and the sweeps of key levels use them in every preset. So under **Standard**, which draws only the previous day, a sweep of the previous week's high still fires the sweep alert. With sweeps drawn, the sweep label names the level (`PWH ×`), so it reads even when the level's line isn't shown. When levels coincide (a previous day high that is also the previous week high), the label names the longer period.

A level is fixed when its period starts and never changes afterwards, in history or live. A level needs a period above the chart's timeframe, and the indicator reads them from at most one extra data set:

| Chart timeframe | Levels available | Read from |
| - | - | - |
| Below 1D (minutes, hours) | day, week, month | one daily data set |
| 1D up to 1W (1D, 2D, …) | week, month | the chart's own bars |
| 1W up to 1M | month | one monthly data set |
| 1M and above | none | — |

Weeks run Monday to Sunday and months are calendar months, built from daily bars; a session that opens late in the UTC day (forex or futures on Sunday evening) counts for the next day. If the chart's history starts in the middle of a week or month, that first period has no level and the levels start with the next one.

## Classic and Strict ICT

**Definitions** (Custom; **ICT Strict** uses Strict ICT) switches a few rules at once:

| | **Classic** (default) | **Strict ICT** |
| - | - | - |
| MSS | CHoCH with displacement | CHoCH with displacement **and** a sweep of the previous swing |
| Order blocks | On every break | Only when the breaking move swept the previous swing |
| Breakers | Any broken order block | Only blocks whose move swept |
| Fair value gaps | Gap and size threshold | Also the middle candle must close in the gap's direction |

## Present and History modes

**Mode** decides what happens to objects that are finished — a mitigated-and-hidden or broken order block, a filled gap, a taken liquidity level:

* **Present** (default) — finished objects are removed. The chart shows what is live now, plus the last structure breaks per layer (**Present mode: last structure breaks per layer**: 3 in Standard, up to 10 in Full) and their swing labels.
* **History** — finished objects stay, cut at the bar where they ended and faded. Every structure break stays. Use it to review how zones played out.

History mode draws many more objects, so it needs much more memory and is slower to load; see [Limits](#limits).

## Inputs

Under a preset, only the inputs marked **always** are shown. The others appear with **Preset** = **Custom**, and those listed "when … is on" appear only while that toggle is on. Every default below equals the **Standard** preset.

### General

| Input | Default | Options / range | Shown |
| - | - | - | - |
| Preset | Standard | Standard, Structure, ICT Strict, Scalper, Full, Custom | always |
| Mode | Present | Present, History | always |
| Draw objects from | At origin | At origin, At confirmation, At confirmation + ghost | Custom |
| Definitions | Classic | Classic, Strict ICT | Custom |
| ATR length (for thresholds) | 14 | 1–500 | Custom |

### Market structure

| Input | Default | Options / range | Shown |
| - | - | - | - |
| Swing structure | on | | Custom |
| Swing pivot: left bars | 50 | 2–500 | when Swing structure is on |
| Swing pivot: right bars (confirmation lag) | 10 | 1–500 | when Swing structure is on |
| Swing: show | All | All, BOS, CHoCH | when Swing structure is on |
| Swing labels HH / HL / LH / LL | off | | when Swing structure is on |
| Strong / weak high and low | on | | when Swing structure is on |
| Internal structure | off | | Custom |
| Internal pivot: left bars | 5 | 1–100 | when Internal structure is on |
| Internal pivot: right bars (confirmation lag) | 5 | 1–100 | when Internal structure is on |
| Internal: show | All | All, BOS, CHoCH | when Internal structure is on |
| Hide internal breaks at swing levels | on | | when Internal structure is on |
| Break confirmed by | Close | Close, Wick | Custom |
| Break buffer (× ATR) | 0 | 0–5 | Custom |
| MSS displacement: body ≥ (× ATR) | 1.0 | 0–10 | Custom |
| Mark CHoCH+ | on | | Custom |
| Present mode: last structure breaks per layer | 3 | 1–50 | Custom |

### Order blocks

| Input | Default | Options / range | Shown |
| - | - | - | - |
| Swing order blocks | on | | Custom |
| Swing: keep last (per direction) | 5 | 1–10 | when Swing order blocks is on |
| Internal order blocks | on | | Custom |
| Internal: keep last (per direction) | 5 | 1–10 | when Internal order blocks is on |
| Order block candle | Last opposite candle | Last opposite candle, Leg extreme | Custom |
| Only after displacement | off | | Custom |
| Mitigated when price reaches it by | Wick | Wick, Close, 50% | Custom |
| Mitigated order blocks | Keep | Keep, Recolor, Hide | Custom |
| Invalidated by | Close | Close, Wick | Custom |
| Invalidated OB becomes breaker | off | | Custom |
| Overlapping order blocks | Hide older | Keep all, Hide older | Custom |
| 50% line | off | | Custom |
| Show nearest 2 within (× ATR, 0 = all) | 8 | 0–100 | Custom |

### Fair value gaps

| Input | Default | Options / range | Shown |
| - | - | - | - |
| Fair value gaps | on | | Custom |
| Minimum size (× ATR, 0 = any) | 0.5 | 0–5 | when Fair value gaps is on |
| Keep last unfilled (per direction) | 2 | 1–15 | when Fair value gaps is on |
| Filled when | Wick (full) | Wick (full), Close (full), CE (50%) | when Fair value gaps is on |
| Shrink as it fills | on | | when Fair value gaps is on |
| CE (50%) line | off | | when Fair value gaps is on |
| Show inverse FVGs | off | | when Fair value gaps is on |

### Liquidity

| Input | Default | Options / range | Shown |
| - | - | - | - |
| Equal highs / lows | off | | Custom |
| Equal highs / lows pivot bars | 3 | 1–50 | when Equal highs / lows is on |
| Equal within (× ATR) | 0.1 | 0–2 | when Equal highs / lows is on |
| Minimum touches | 2 | 2–10 | when Equal highs / lows is on |
| Liquidity sweeps | off | | Custom |
| Close back inside within (bars, 0 = same bar) | 0 | 0–3 | when Liquidity sweeps is on |
| Sweeps of equal highs / lows | on | | when Liquidity sweeps is on |
| Sweeps of swing points | on | | when Liquidity sweeps is on |
| Sweeps of key levels | on | | when Liquidity sweeps is on |

### Premium / discount

| Input | Default | Options / range | Shown |
| - | - | - | - |
| Premium / discount zones | off | | Custom |
| Equilibrium band (% of range, 0 = line) | 0 | 0–20 | when Premium / discount zones is on |

### Key levels

| Input | Default | Options / range | Shown |
| - | - | - | - |
| Previous day high / low | on | | Custom |
| Previous week high / low | off | | Custom |
| Previous month high / low | off | | Custom |
| Line style | Dashed | Solid, Dashed, Dotted | Custom |

### Style

| Input | Default | Options | Shown |
| - | - | - | - |
| Label text | Short | Off, Short, Full | always |
| Label size | Small | Tiny, Small, Normal, Large | always |
| Bullish | green | color | always |
| Bearish | red | color | always |
| Candle trend | Swing | Swing, Internal | always |
| Bullish FVG | cyan, 25% opacity | color | when Fair value gaps is on |
| Bearish FVG | pink, 25% opacity | color | when Fair value gaps is on |
| Neutral | gray | color | Custom |

### Alerts

These inputs choose what the **Any selected event** output reacts to. See [One alert for several events](#one-alert-for-several-events).

| Input | Default | Options | Shown |
| - | - | - | - |
| Any-event alert: events | Structure breaks + zone entry | Structure breaks + zone entry, Structure breaks, Zone entry, Liquidity, All events, Custom | always |
| Any-event alert: direction | Both | Both, Bullish, Bearish | always |
| Any-event alert: include internal BOS / CHoCH | off | | Custom |
| … BOS | on | | when events = Custom |
| … CHoCH / CHoCH+ / MSS | on | | when events = Custom |
| … new order block | off | | when events = Custom |
| … price enters an order block | on | | when events = Custom |
| … order block mitigated | off | | when events = Custom |
| … order block broken | off | | when events = Custom |
| … new FVG | off | | when events = Custom |
| … price enters an FVG | on | | when events = Custom |
| … FVG filled | off | | when events = Custom |
| … inverse FVG | off | | when events = Custom |
| … equal highs / lows formed | off | | when events = Custom |
| … liquidity sweep | off | | when events = Custom |
| … enters premium / discount | off | | when events = Custom |

## Alerts

Every event SMC detects has its own **event output**. Event outputs are not drawn and don't appear in the legend; they are listed as sources in the alert dialog. **Each one works under every preset and every setting**, also for objects the chart doesn't show: the show toggles only hide drawings.

To alert on an event:

1. Create an alert with **Source** set to the SMC indicator on the chart, and pick the event, for example **Swing CHoCH**.
2. Under **Event**, pick one of its two options, such as **Bullish swing CHoCH**, or **Any** for both.
3. Keep the frequency the dialog picks for events, **Once Per Bar close**: SMC reports events on closed bars.

| Event | Option 1 | Option 2 |
| - | - | - |
| Internal BOS | Bullish internal BOS | Bearish internal BOS |
| Internal CHoCH | Bullish internal CHoCH | Bearish internal CHoCH |
| Swing BOS | Bullish swing BOS | Bearish swing BOS |
| Swing CHoCH | Bullish swing CHoCH | Bearish swing CHoCH |
| MSS | Bullish MSS | Bearish MSS |
| New order block | New bullish OB | New bearish OB |
| Price enters order block | Enters bullish OB / breaker | Enters bearish OB / breaker |
| Order block mitigated | Bullish OB mitigated | Bearish OB mitigated |
| Order block broken | Bullish OB broken (price down) | Bearish OB broken (price up) |
| New FVG | New bullish FVG | New bearish FVG |
| Price enters FVG | Enters bullish FVG | Enters bearish FVG |
| FVG filled | Bullish FVG filled (price down) | Bearish FVG filled (price up) |
| New inverse FVG | New bullish inverse FVG | New bearish inverse FVG |
| Equal highs / lows | Equal lows formed | Equal highs formed |
| Liquidity sweep | Sell-side sweep (lows) | Buy-side sweep (highs) |
| Premium / discount | Enters discount | Enters premium |
| Any selected event | single event, no options | |

How to read the names:

* The CHoCH events include CHoCH+ and MSS; **MSS** is MSS only, on either layer.
* Order block and gap options are named by the zone: **Bullish OB mitigated** is price coming down into a bullish block, the bullish setup. Breaking or filling a zone is a move against it, so those options name the move: **Bullish OB broken (price down)**, **Bearish FVG filled (price up)**.
* A breaker counts with its new polarity: a broken bearish order block is a bullish breaker (support), so entering it is **Enters bullish OB / breaker**.
* An inverse FVG is named by the side it now acts for: a bearish gap closed through upward is a **New bullish inverse FVG**.
* For liquidity and premium / discount, option 1 is the lower side: equal lows, a sweep of lows, entering discount.

### One alert for several events

**Any selected event** fires when any event of the families chosen in **Any-event alert: events** fires, in the direction chosen by **Any-event alert: direction**. On a plan with a small number of [indicator alerts](https://takeprofit.com/docs/guide/alerts/Alert-limitations-delivery-history.md), this covers your setup with one alert.

| Any-event alert: events | Covers |
| - | - |
| **Structure breaks + zone entry** (default) | BOS, CHoCH / CHoCH+ / MSS, price enters an order block or FVG |
| **Structure breaks** | BOS, CHoCH / CHoCH+ / MSS |
| **Zone entry** | Price enters an order block or FVG |
| **Liquidity** | Equal highs / lows formed, liquidity sweeps |
| **All events** | Every event |
| **Custom** | The events you check in the list below it |

Swing BOS and CHoCH always count, and MSS counts on both layers. Whether internal BOS and CHoCH count too depends on the preset, not on what is drawn: no under **Standard** and **Structure**, yes under **ICT Strict**, **Scalper** and **Full**. Under **Custom**, **Any-event alert: include internal BOS / CHoCH** decides (off by default). This holds for every choice of events, **Custom** included, and hiding or showing internal structure never changes it. The separate **Internal BOS** and **Internal CHoCH** events fire either way.

**Any-event alert: direction** filters by the signal's bias, which is the direction price is expected to go:

| Events | Bullish | Bearish |
| - | - | - |
| BOS, CHoCH, MSS | bullish breaks | bearish breaks |
| New order block, enters order block, order block mitigated | bullish order blocks (entries: also bullish breakers) | bearish order blocks and breakers |
| Order block broken | bearish OB broken (price up) | bullish OB broken (price down) |
| New FVG, enters FVG | bullish gaps | bearish gaps |
| FVG filled | bearish FVG filled (price up) | bullish FVG filled (price down) |
| Inverse FVG | new bullish inverse FVG | new bearish inverse FVG |
| Equal highs / lows | equal lows | equal highs |
| Liquidity sweep | sell-side sweep (lows) | buy-side sweep (highs) |
| Premium / discount | enters discount | enters premium |

### Good to know

* **An alert keeps working whatever the chart shows.** Hiding order blocks, gaps, zones or levels, or switching presets, never stops an event from existing. The settings that can silence an event do so by their meaning: **Invalidated OB becomes breaker** off means no breaker entries (order block entries still fire), and **Any-event alert: events** = **Custom** with nothing checked selects nothing. Strict definitions make some events rare: Strict ICT order blocks and MSS need a sweep, and **Only after displacement** and a large **Minimum size** filter many out.
* **An alert keeps the settings it was created with.** Changing SMC's inputs or preset on the chart doesn't change existing alerts; create the alert again to use the new settings.
* **When a bar has both a bullish and a bearish event of the same kind** (a bar that breaks both sides), the event output shows option 1; **Any selected event** sees both.
* **Any selected event** doesn't say which event fired: its notification is the same for every event. Open the chart to see what happened, or set an alert on the event's own output when you need to know which one it was.
* The alert message can't carry a price. Levels are in the [data outputs](#data-outputs).

## Data outputs

SMC also exports its state as hidden data outputs, listed under **Values** in the plot list of an alert condition and available as alert sources with the usual [trigger criteria](https://takeprofit.com/docs/guide/alerts/Alert-trigger-criteria.md). They change only on closed bars, are computed under every preset and setting, and are empty (no value) only when the thing doesn't exist, for example no bullish order block below the price.

| Output | Value |
| - | - |
| Swing trend (+1 / −1 / 0), Internal trend (+1 / −1 / 0) | +1 bullish, −1 bearish, 0 not set yet |
| Range top, Range bottom | The current swing range |
| Position in range (0 bottom, 1 top) | Where the close is in the range: 0 at the bottom, 1 at the top, 0.5 at equilibrium |
| Nearest bullish order block top | The highest top among live bullish order blocks that start at or below the close (the close may be inside the block) |
| Nearest bearish order block bottom | The lowest bottom among live bearish order blocks that end at or above the close (the close may be inside the block) |
| Nearest bullish FVG top (unfilled) | The unfilled edge of the nearest active bullish FVG |
| Nearest bearish FVG bottom (unfilled) | The unfilled edge of the nearest active bearish FVG |
| Nearest buy-side liquidity | The nearest untaken liquidity level at or above the close |
| Nearest sell-side liquidity | The nearest untaken liquidity level at or below the close |
| Previous day high, Previous day low, and the same for week and month | The [key levels](#key-levels), whether or not they are drawn; empty when the level isn't available on the chart's timeframe |

The nearest order block values include mitigated blocks but not breakers, and every kept block, not only the drawn ones.

## Limits

* **History mode needs a lot of memory.** It keeps every finished object, several times as many as Present mode. On a long low-timeframe history (tens of thousands of 1-minute bars) it may fail to load; use Present mode there, or a higher timeframe.
* **One extra data set.** The key levels are read from at most one extra data set (daily below 1D, monthly on weekly charts), in every preset and whatever is drawn.
* **Up to 100 drawing changes per bar.** When one bar would create or change more objects than that, typically when a long history is drawn at once, the rest are drawn on the next bars. Alerts and data outputs are not delayed.
* **Object caps.** Live order blocks: up to 10 per layer and direction. Fair value gaps: up to 15 per direction in each state (active, filled, inverse). Liquidity: the 10 equal-level and swing pools per side nearest to price. In Present mode: up to 50 structure breaks per layer, and the last 10 sweep labels.
* **Long moves.** The search for an order block candle, displacement and the move's extreme looks back at most 1000 bars from the break.
* **Smallest step is the chart's.** SMC sees bars of the chart's timeframe only; an event inside a bar is reported at that bar's close.

## A common way to read it

SMC describes structure; it doesn't predict. Traders who use these concepts often work like this:

1. Take the direction from the **swing trend**, often on a higher timeframe chart.
2. Wait for price to pull back into an **order block** or **fair value gap** on the side of that trend, ideally in the **discount** half of the range for longs (**premium** for shorts).
3. Look for a **sweep** of nearby liquidity and an **internal CHoCH** or **MSS** in the trend's direction as the trigger.
4. Treat the opposite **weak high or low**, **equal highs or lows** and the **previous day's levels** as targets.

The same rules are applied to every bar, live and in history, so you can scroll back with **At confirmation** and check how a setup looked when it formed, or set the alerts and see how they fire. Past behavior on the chart is not a forecast.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.