# SMC & ICT Indicators

Order blocks, fair value gaps, breaker blocks, liquidity sweeps, and institutional structure tools. This category documents **14** MetaTrader 5 library indicators.

[← Back to Indicator Library Reference](/indicators/library/intro.md) · [Interactive Indicator Showcase](/indicators/.md)

## Quick Index[​](#quick-index "Direct link to Quick Index")

| Indicator                                                           | Placement            | Version | Summary                                                   |
| ------------------------------------------------------------------- | -------------------- | ------- | --------------------------------------------------------- |
| [AIMS Order Block Detector](#aims-order-block-detector)             | Main-Chart Overlay   | `1.00`  | AIMS Order Block Detector MT5 (Volume Pivot & Mitigation) |
| [AIMS Inversion FVG](#aims-inversion-fvg)                           | Main-Chart Overlay   | `1.00`  | AIMS Inversion Fair Value Gaps (IFVG) MT5                 |
| [AIMS Breaker Blocks](#aims-breaker-blocks)                         | Main-Chart Overlay   | `1.00`  | AIMS Breaker Blocks with Signals MT5                      |
| [AIMS ICT NWOG NDOG](#aims-ict-nwog-ndog)                           | Main-Chart Overlay   | `1.00`  | AIMS ICT NWOG / NDOG & EHPDA Opening Gaps MT5             |
| [AIMS Immediate Rebalance](#aims-immediate-rebalance)               | Main-Chart Overlay   | `1.00`  | AIMS ICT Immediate Rebalance Detector MT5                 |
| [AIMS Buyside Sellside Liquidity](#aims-buyside-sellside-liquidity) | Main-Chart Overlay   | `1.00`  | AIMS Buyside & Sellside Liquidity Pools MT5               |
| [AIMS FVG Trailing Stop](#aims-fvg-trailing-stop)                   | Main-Chart Overlay   | `1.00`  | Fair Value Gap Trailing Stop                              |
| [AIMS FVG Positioning Avg](#aims-fvg-positioning-avg)               | Main-Chart Overlay   | `1.00`  | FVG Positioning Average                                   |
| [AIMS FVG Channel](#aims-fvg-channel)                               | Main-Chart Overlay   | `1.00`  | Unmitigated Fair Value Gap Channel                        |
| [AIMS FVG Mitigation Osc](#aims-fvg-mitigation-osc)                 | Subwindow Oscillator | `1.00`  | Fair Value Gaps Mitigation Oscillator                     |
| [AIMS FVG Instant Mitigation](#aims-fvg-instant-mitigation)         | Main-Chart Overlay   | `1.00`  | FVG Instantaneous Mitigation Signals                      |
| [AIMS Institutional Trap](#aims-institutional-trap)                 | Main-Chart Overlay   | `1.00`  | 3-Step Institutional Trap (Sweep-Reject-Shift)            |
| [AIMS Dynamic Order Blocks](#aims-dynamic-order-blocks)             | Main-Chart Overlay   | `1.00`  | Dynamic Order Blocks & Liquidity Sweeps                   |
| [AIMS FVG Sweep CISD](#aims-fvg-sweep-cisd)                         | Main-Chart Overlay   | `1.00`  | FVG + Liquidity Sweep + CISD Entry Signals                |

***

## Indicator Specifications[​](#indicator-specifications "Direct link to Indicator Specifications")

### AIMS Order Block Detector[​](#aims-order-block-detector "Direct link to AIMS Order Block Detector")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** AIMS Order Block Detector MT5 (Volume Pivot & Mitigation)
* **Plot Labels:** `Bullish OB Formed`, `Bearish OB Formed`

#### Parameters[​](#parameters "Direct link to Parameters")

| Parameter              | Variable         | Type                 | Default        |
| ---------------------- | ---------------- | -------------------- | -------------- |
| Volume Pivot Length    | `InpLength`      | `int`                | `5`            |
| Max Active Bullish OBs | `InpBullExtLast` | `int`                | `3`            |
| Max Active Bearish OBs | `InpBearExtLast` | `int`                | `3`            |
| Mitigation Method      | `InpMitigation`  | `ENUM_OB_MITIGATION` | `OB_MIT_WICK`  |
| Bullish OB Color       | `InpBullColor`   | `color`              | `clrSeaGreen`  |
| Bearish OB Color       | `InpBearColor`   | `color`              | `clrCrimson`   |
| Midpoint Line Color    | `InpAvgColor`    | `color`              | `clrSlateGray` |

***

### AIMS Inversion FVG[​](#aims-inversion-fvg "Direct link to AIMS Inversion FVG")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** AIMS Inversion Fair Value Gaps (IFVG) MT5
* **Plot Labels:** `Bullish IFVG Signal`, `Bearish IFVG Signal`

#### Parameters[​](#parameters-1 "Direct link to Parameters")

| Parameter               | Variable     | Type                 | Default          |
| ----------------------- | ------------ | -------------------- | ---------------- |
| Show Last N Pairs       | `InpDispNum` | `int`                | `5`              |
| Signal Preference       | `InpSigPref` | `ENUM_IFVG_SIG_PREF` | `IFVG_SIG_CLOSE` |
| Min FVG Size (ATR Mult) | `InpAtrMult` | `double`             | `0.25`           |
| Bullish IFVG Color      | `InpBullClr` | `color`              | `clrSeaGreen`    |
| Bearish IFVG Color      | `InpBearClr` | `color`              | `clrCrimson`     |
| Midline Color           | `InpMidClr`  | `color`              | `clrSlateGray`   |

***

### AIMS Breaker Blocks[​](#aims-breaker-blocks "Direct link to AIMS Breaker Blocks")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** AIMS Breaker Blocks with Signals MT5
* **Plot Labels:** `Bullish Breaker Formed`, `Bearish Breaker Formed`

#### Parameters[​](#parameters-2 "Direct link to Parameters")

| Parameter                | Variable       | Type    | Default       |
| ------------------------ | -------------- | ------- | ------------- |
| Swing Pivot Length       | `InpSwingLen`  | `int`   | `5`           |
| Max Active Breaker Pairs | `InpShowLast`  | `int`   | `3`           |
| Use Candle Body Only     | `InpBodyOnly`  | `bool`  | `false`       |
| Bullish Breaker Color    | `InpBullColor` | `color` | `clrSeaGreen` |
| Bearish Breaker Color    | `InpBearColor` | `color` | `clrCrimson`  |

***

### AIMS ICT NWOG NDOG[​](#aims-ict-nwog-ndog "Direct link to AIMS ICT NWOG NDOG")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** AIMS ICT NWOG / NDOG & EHPDA Opening Gaps MT5
* **Plot Labels:** Chart objects only (no numeric plot buffers)

#### Parameters[​](#parameters-3 "Direct link to Parameters")

| Parameter                              | Variable      | Type           | Default           |
| -------------------------------------- | ------------- | -------------- | ----------------- |
| Opening Gap Mode                       | `InpMode`     | `ENUM_OG_MODE` | `OG_NWOG`         |
| Max Gaps to Display                    | `InpShowLast` | `int`          | `5`               |
| Show Gap Consequent Encroachment (50%) | `InpShowMid`  | `bool`         | `true`            |
| Gap Up Color                           | `InpBullClr`  | `color`        | `clrDodgerBlue`   |
| Gap Down Color                         | `InpBearClr`  | `color`        | `clrMediumOrchid` |

***

### AIMS Immediate Rebalance[​](#aims-immediate-rebalance "Direct link to AIMS Immediate Rebalance")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** AIMS ICT Immediate Rebalance Detector MT5
* **Plot Labels:** `Bullish Immediate Rebalance`, `Bearish Immediate Rebalance`

#### Parameters[​](#parameters-4 "Direct link to Parameters")

| Parameter                  | Variable         | Type    | Default         |
| -------------------------- | ---------------- | ------- | --------------- |
| Confirmation Bars          | `InpConfirmBars` | `int`   | `2`             |
| Max Active Rebalance Zones | `InpShowLast`    | `int`   | `6`             |
| Bullish IR Color           | `InpBullColor`   | `color` | `clrDodgerBlue` |
| Bearish IR Color           | `InpBearColor`   | `color` | `clrOrange`     |

***

### AIMS Buyside Sellside Liquidity[​](#aims-buyside-sellside-liquidity "Direct link to AIMS Buyside Sellside Liquidity")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** AIMS Buyside & Sellside Liquidity Pools MT5
* **Plot Labels:** `Buyside Liquidity Swept`, `Sellside Liquidity Swept`

#### Parameters[​](#parameters-5 "Direct link to Parameters")

| Parameter                           | Variable      | Type     | Default       |
| ----------------------------------- | ------------- | -------- | ------------- |
| Swing Pivot Left Bars               | `InpPivotLen` | `int`    | `7`           |
| Clustering Tolerance (ATR / Margin) | `InpMargin`   | `double` | `6.9`         |
| Max Active Liquidity Pools Per Side | `InpVisLiq`   | `int`    | `3`           |
| Buyside Liquidity Color             | `InpBuyClr`   | `color`  | `clrSeaGreen` |
| Sellside Liquidity Color            | `InpSellClr`  | `color`  | `clrCrimson`  |

***

### AIMS FVG Trailing Stop[​](#aims-fvg-trailing-stop "Direct link to AIMS FVG Trailing Stop")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** Fair Value Gap Trailing Stop
* **Plot Labels:** `FVG Trailing Stop`, `Bull FVG Band`, `Bear FVG Band`, `Trend Flip`

#### Parameters[​](#parameters-6 "Direct link to Parameters")

| Parameter                | Variable         | Type   | Default |
| ------------------------ | ---------------- | ------ | ------- |
| Unmitigated FVG Lookback | `InpFvgLookback` | `int`  | `5`     |
| Smoothing Length         | `InpSmoothLen`   | `int`  | `9`     |
| Reset on Cross           | `InpResetCross`  | `bool` | `false` |

***

### AIMS FVG Positioning Avg[​](#aims-fvg-positioning-avg "Direct link to AIMS FVG Positioning Avg")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** FVG Positioning Average
* **Plot Labels:** `Bull FVG Average`, `Bear FVG Average`

#### Parameters[​](#parameters-7 "Direct link to Parameters")

| Parameter              | Variable      | Type            | Default         |
| ---------------------- | ------------- | --------------- | --------------- |
| FVG Lookback           | `InpLookback` | `int`           | `30`            |
| Lookback Type          | `InpMode`     | `ENUM_FPA_MODE` | `FPA_BAR_COUNT` |
| Min FVG ATR Multiplier | `InpAtrMult`  | `double`        | `0.25`          |

***

### AIMS FVG Channel[​](#aims-fvg-channel "Direct link to AIMS FVG Channel")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** Unmitigated Fair Value Gap Channel
* **Plot Labels:** `Upper Extreme`, `Lower Extreme`, `Mid Point`, `Bullish Signal`, `Bearish Signal`

#### Parameters[​](#parameters-8 "Direct link to Parameters")

| Parameter                | Variable         | Type  | Default |
| ------------------------ | ---------------- | ----- | ------- |
| Unmitigated FVG Lookback | `InpFvgLookback` | `int` | `14`    |
| Smoothing Length         | `InpSmoothLen`   | `int` | `9`     |

***

### AIMS FVG Mitigation Osc[​](#aims-fvg-mitigation-osc "Direct link to AIMS FVG Mitigation Osc")

* **Placement:** Subwindow Oscillator
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** Fair Value Gaps Mitigation Oscillator
* **Plot Labels:** `Net FVG Balance`, `Bullish Unmitigated`, `Bearish Unmitigated`

#### Parameters[​](#parameters-9 "Direct link to Parameters")

| Parameter          | Variable         | Type  | Default |
| ------------------ | ---------------- | ----- | ------- |
| FVG Lookback Count | `InpFvgLookback` | `int` | `10`    |

***

### AIMS FVG Instant Mitigation[​](#aims-fvg-instant-mitigation "Direct link to AIMS FVG Instant Mitigation")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** FVG Instantaneous Mitigation Signals
* **Plot Labels:** `IMFVG Trailing Stop`, `Bullish IMFVG Signal`, `Bearish IMFVG Signal`

#### Parameters[​](#parameters-10 "Direct link to Parameters")

| Parameter                    | Variable         | Type               | Default             |
| ---------------------------- | ---------------- | ------------------ | ------------------- |
| FVG Width Filter (ATR Mult)  | `InpFilterWidth` | `double`           | `0.0`               |
| Reset Trailing Stop          | `InpTsReset`     | `ENUM_IMFVG_RESET` | `IMFVG_RESET_EVERY` |
| Trailing Stop ATR Multiplier | `InpTsMult`      | `double`           | `3.0`               |
| Draw FVG Imbalance Boxes     | `InpShowBoxes`   | `bool`             | `true`              |
| Max FVG Boxes                | `InpMaxBoxes`    | `int`              | `30`                |

***

### AIMS Institutional Trap[​](#aims-institutional-trap "Direct link to AIMS Institutional Trap")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** 3-Step Institutional Trap (Sweep-Reject-Shift)
* **Plot Labels:** `Recent High`, `Recent Low`, `Trap Buy Signal`, `Trap Sell Signal`

#### Parameters[​](#parameters-11 "Direct link to Parameters")

| Parameter                       | Variable         | Type  | Default |
| ------------------------------- | ---------------- | ----- | ------- |
| Lookback Period                 | `InpLookback`    | `int` | `20`    |
| Max Bars for Rejection (Step 2) | `InpStep2Window` | `int` | `3`     |
| Max Bars for Shift (Step 3)     | `InpStep3Window` | `int` | `10`    |

***

### AIMS Dynamic Order Blocks[​](#aims-dynamic-order-blocks "Direct link to AIMS Dynamic Order Blocks")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** Dynamic Order Blocks & Liquidity Sweeps
* **Plot Labels:** `Bullish OB Top`, `Bullish OB Bottom`, `Bearish OB Top`, `Bearish OB Bottom`, `OB Mid Average`, `Bullish OB Sweep`, `Bearish OB Sweep`

#### Parameters[​](#parameters-12 "Direct link to Parameters")

| Parameter                     | Variable     | Type   | Default |
| ----------------------------- | ------------ | ------ | ------- |
| Swing Lookback                | `InpLength`  | `int`  | `10`    |
| Use Candle Body for OB Bounds | `InpUseBody` | `bool` | `true`  |

***

### AIMS FVG Sweep CISD[​](#aims-fvg-sweep-cisd "Direct link to AIMS FVG Sweep CISD")

* **Placement:** Main-Chart Overlay
* **Version:** `1.00`
* **Platform:** MetaTrader 5 (MQL5)
* **Summary:** FVG + Liquidity Sweep + CISD Entry Signals
* **Plot Labels:** `Bullish FVG-Sweep-CISD Entry`, `Bearish FVG-Sweep-CISD Entry`

#### Parameters[​](#parameters-13 "Direct link to Parameters")

| Parameter                    | Variable         | Type     | Default |
| ---------------------------- | ---------------- | -------- | ------- |
| FVG ATR Volatility Threshold | `InpVolMult`     | `double` | `0.5`   |
| Max FVG Extension (Bars)     | `InpMaxFvgBars`  | `int`    | `20`    |
| Liquidity Sweep Lookback     | `InpLiqLookback` | `int`    | `20`    |

***
