Smart Market Structure Toolkit (MT5)

Complete User Guide & Configuration Manual

The ultimate institutional trading indicator for MetaTrader 5. Features Internal & External Market Structure, BOS/CHoCH Detection, Liquidity Sweeps, Order Blocks, FVG, and Multi-Timeframe Analysis.

Table of Contents

  1. Installation & Setup
  2. Dashboard & Controls
  3. Market Structure (BOS / CHoCH)
  4. PD Arrays: FVG, IFVG, OB, Breaker, Rejection
  5. Liquidity: EQH/EQL & Sweeps
  6. Premium / Discount & OTE Fibonacci
  7. ICT Time Concepts
  8. Key Levels
  9. Multi-Timeframe Analysis
  10. Volume Profile
  11. Confluence Scoring System
  12. AI Trade Scanner
  13. Alerts & Notifications
  14. The Complete Trading Model
  15. Risk Management & Position Sizing
  16. Pro Tips & Best Practices
  17. FAQ & Troubleshooting

1. Installation & Setup

Quick Install

  1. Copy SmartMarketStructure.mq5 to your MT5 MQL5/Indicators/ folder (or a subfolder).
  2. In MetaTrader 5, open the Navigator panel (Ctrl+N).
  3. Right-click on Indicators → Refresh.
  4. Drag the indicator onto any chart.

Recommended Settings

SettingScalping (M1-M5)Intraday (M15-H1)Swing (H4-D1)
External Swing Size5810-15
Internal Swing Size235
Max History5008001000+
Max Zones102030

GMT Offset

Set GMT Offset to match your broker's server time offset from EST/New York. This is critical for Silver Bullet, Macros, CBDR, and NY Midnight Open to work correctly.

How to find your broker's GMT offset: Check your broker's website, or look at the server time shown in MT5's Market Watch. If your broker's server shows 17:00 when it's 12:00 noon in New York, the offset is +5 from EST (so your broker is on UTC+0 / GMT). Set the input to -5 for EST.

2. Dashboard & Controls

The dashboard panel shows real-time information and gives you full control over every feature with toggle buttons.

Information Display

Toggle Buttons

Every feature can be toggled on/off in real-time. Green/colored = ON, Gray = OFF. Click any button to toggle.

ButtonFeatureDescription
StructExternal StructureBOS/CHoCH lines + HH/HL/LH/LL labels
Int.SInternal StructureMinor swing structure for precision entries
FVGFair Value GapsImbalance zones between 3 candles
IFVGInverted FVGsFilled FVGs that become S/R
OBOrder BlocksLast opposing candle before impulse
BreakerBreaker BlocksFailed swing points turned S/R
MitigMitigated ZonesShows zones that have been tested (dashed)
RejectRejection BlocksWick-based rejection zones
P/DPremium/DiscountRange split + OTE fibonacci
EQH/LEqual Highs/LowsLiquidity pools (stop clusters)
SweepsLiquidity SweepsStop hunt detection with reversal
LabelsSwing LabelsHH/HL/LH/LL text labels
SessionsSession BoxesAsia/London/NY session ranges
SBSilver Bullet10-11 AM, 2-3 PM EST windows
MacrosICT Macros9:50, 10:50, etc. reversal windows
CBDRCentral Bank RangeAsian range + SD projections
Prev HLPrevious LevelsPrev Day/Week High/Low/Close
M/W OpenMonthly/Weekly OpenInstitutional reference levels
NY OpenNY Midnight OpenTrue Day Open (00:00 EST)
VolVolume ProfileDaily volume distribution + POC
MTFMulti-TimeframeHTF zones on current chart
ATRATR ProjectionsDaily expected range
+AlertManual AlertPlaces a draggable price alert line

Special Buttons

3. Market Structure (BOS / CHoCH)

Two Levels of Structure

Smart Market Structure Toolkit uses two independent levels of swing detection, which is how institutional traders actually analyze markets:

LevelPurposeColorSetting
External (HTF)Major trend direction. The "big picture."Teal/CoralExternal Swing Bars (default: 8)
Internal (LTF)Entry timing. Precision within the HTF move.Cyan/PinkInternal Swing Bars (default: 3)

BOS vs CHoCH

This is one of the most critical distinctions in Smart Money trading:

TypeLine StyleMeaning
BOS (Break of Structure)Solid lineContinuation. Price breaks a swing point in the direction of the current trend. Confirms trend is intact.
CHoCH (Change of Character)Dashed linePotential reversal. Price breaks a swing point against the current trend. First sign trend may be shifting.

Swing Labels

Live Structure Detection

The indicator performs real-time structure checks. If the current price breaks the most recent swing high/low against the established trend, a "Live CHoCH" line appears immediately — you don't have to wait for a confirmed fractal.

Pro Tip: Use External Structure to determine your trade direction (only trade with the HTF trend), then use Internal Structure CHoCH as your actual entry trigger.

4. PD Arrays: FVG, IFVG, OB, Breaker

Fair Value Gaps (FVG)

An FVG is a 3-candle pattern where the wick of candle 1 doesn't overlap with the wick of candle 3, creating an imbalance. Price has a natural tendency to return and fill these gaps.

Fresh FVGs are shown with filled rectangles. Mitigated FVGs (already tested) are shown with dashed outlines when the "Mitig" toggle is on.

Inverted FVGs (IFVG)

When an FVG gets completely filled (price trades through the entire gap), it "inverts" and becomes a support/resistance zone in the opposite direction.

Order Blocks (OB)

The last opposing candle before an impulse move. This is where institutions placed their orders.

A midline is drawn through each fresh OB at the 50% level — this is often the precise reaction point.

View Modes

ModeDescription
AllShow all order blocks (default)
NearestOnly show the closest OB above and below current price
Bullish OnlyOnly show bullish OBs
Bearish OnlyOnly show bearish OBs

Breaker Blocks

When a swing point fails (gets broken through), the level becomes a Breaker Block. It flips from resistance to support (or vice versa). These are drawn with gold-colored zones.

Zone States

StateAppearanceMeaning
FreshFilled rectangle + midlineUntested. High probability reaction zone.
MitigatedDashed outline, no fillAlready tested. Lower probability but can still react.
InvalidatedGray dashed (or hidden)Price closed through it. No longer valid.

5. Liquidity: EQH/EQL & Sweeps

Equal Highs & Equal Lows (EQH/EQL)

When two swing highs (or lows) form at nearly the same price, it creates a liquidity pool. Retail traders place stop losses above equal highs and below equal lows. Institutions target these levels.

Liquidity Sweeps (Stop Hunts)

This is one of the highest-probability signals in ICT trading. A sweep occurs when:

  1. Price moves beyond a swing high/low (taking out stops).
  2. Price then reverses and closes back inside the range.
  3. The reversal candle has significant size (measured against ATR).

Sweeps are marked with a bold "x" symbol and a dotted line to the swept level.

Critical: A liquidity sweep followed by a CHoCH on internal structure is one of the most reliable entry setups in the entire ICT methodology. When the AI Scanner detects a recent sweep, it adds +2 to the confluence score.

6. Premium / Discount & OTE Fibonacci

The Dealing Range

The indicator automatically identifies the current dealing range using the most recent external swing high and swing low. The range expands live as price makes new highs/lows.

ZoneRangeColorAction
PremiumAbove 50% (EQ)Red tintLook for SELLS only
DiscountBelow 50% (EQ)Green tintLook for BUYS only
Equilibrium (EQ)Exactly 50%White dotted lineAvoid entries at 50%

OTE Fibonacci (Optimal Trade Entry)

The golden highlighted zone between the 61.8% and 78.6% Fibonacci retracement levels. This is the "sweet spot" for institutional entries.

LevelSignificance
0.618 (61.8%)Start of OTE zone. First potential reaction.
0.705 (70.5%)The "sweet spot". Highest probability reaction level.
0.786 (78.6%)End of OTE zone. If price goes past here, the move may be invalidated.
How OTE Works: In a bullish trend, wait for price to retrace into the OTE zone of the dealing range (discount side). This is where smart money refills orders. In a bearish trend, wait for price to retrace up into the OTE zone (premium side).

Additional Fibonacci Levels

The 25% and 75% levels are also drawn to help gauge price position within the range. These are shown as subtle gray dotted lines.

7. ICT Time Concepts

ICT trading is as much about when as it is about where. These time-based tools are critical for filtering setups.

NY Midnight Open (True Day Open)

The price at 00:00 EST (New York midnight) is the True Day Open. ICT considers this the real start of the trading day, not the broker's daily candle open. Shown as a blue horizontal line.

Silver Bullet Windows

ICT's Silver Bullet model identifies specific 1-hour windows where FVG entries have the highest probability:

WindowTime (EST)Notes
AM Silver Bullet10:00 - 11:00 AMAfter NY open manipulation. Best for continuation.
PM Silver Bullet2:00 - 3:00 PMAfternoon reversal window. Often the day's final move.

Shown as gold-bordered rectangles on the chart.

ICT Macros

Short 20-minute windows where significant price movements and reversals tend to cluster:

CBDR (Central Bank Dealer Range)

The range established during the Asian session (approximately 2:00 PM - 8:00 PM EST). This range sets up the framework for the next day's moves.

CBDR Strategy: Measure the Asian range. During London/NY, expect price to move 1-2.5x the CBDR range in one direction. Use the SD projections as profit targets.

Session Killzones

Colored boxes showing the high/low range of each major trading session:

8. Key Levels

Previous Day/Week Levels

LevelAbbreviationSignificance
Previous Day HighPDHMajor liquidity target. Stops above yesterday's high.
Previous Day LowPDLMajor liquidity target. Stops below yesterday's low.
Previous Day ClosePDCInstitutional reference. Gap fills target this.
Previous Week HighPWHWeekly liquidity target (higher timeframe).
Previous Week LowPWLWeekly liquidity target (higher timeframe).

Monthly & Weekly Opens

Level Hierarchy: Monthly Open > Weekly Open > Previous Week High/Low > Previous Day High/Low > NY Midnight Open. Higher-timeframe levels are stronger and more likely to produce reactions.

9. Multi-Timeframe Analysis

The MTF feature draws Higher Timeframe zones directly on your current chart. This is critical because HTF zones are significantly stronger than LTF zones.

How It Works

  1. Set HTF Period for MTF Analysis to your desired higher timeframe (e.g., H4 while on M15).
  2. Toggle "MTF" button on the dashboard.
  3. HTF Order Blocks and FVGs appear on your chart with thicker borders.

Recommended MTF Pairings

Trading TFHTF for MTFUse Case
M1-M5M15-H1Scalping with intraday context
M15-H1H4-D1Intraday with swing context
H4-D1W1-MN1Swing with macro context
The Power of Confluence: When an HTF Order Block overlaps with an LTF FVG in the OTE zone during a Silver Bullet window — that's a textbook A+ setup. The AI Scanner detects these confluences automatically.

10. Volume Profile

A simplified daily volume profile showing where the most trading activity has occurred.

Key Elements

Volume Profile Strategy

11. Confluence Scoring System

The indicator calculates a real-time confluence score from 0 to 10 that rates the current setup quality. This is displayed on the dashboard and in the AI Scanner.

Scoring Breakdown

FactorPointsDescription
Trend Alignment+2External structure confirms direction
Premium/Discount+2Price is in the correct zone (discount for buys, premium for sells)
In Order Block+2Current price is touching an unmitigated OB
In FVG+1Current price is inside an unmitigated FVG
Killzone Time+1Currently in London or NY session
Silver Bullet+1Currently in a Silver Bullet window
Liquidity Sweep+2Recent sweep detected in your trade direction

Score Interpretation

ScoreRatingColorAction
0-3LowRedNo trade. Wait for better conditions.
4-6MediumGoldPossible trade with strict risk management.
7-10HighGreenHigh probability setup. Execute with confidence.
Rule of Thumb: Never take a trade with a confluence score below 5. The best setups score 7+. Patience is the edge.

12. AI Trade Scanner

Click the "AI Scan" button to run a comprehensive multi-factor analysis of the current market.

What It Analyzes

  1. External market structure trend direction
  2. Current position in Premium/Discount range
  3. Proximity to OTE fibonacci zone
  4. Nearest unmitigated Point of Interest (OB/FVG/Breaker)
  5. Recent liquidity sweep events
  6. Current trading session/time window
  7. Overall confluence score

Signals

SignalMeaningPanel Color
BUYActive buy setup. Confluence ≥ 5. Entry/SL/TP shown.Green
SELLActive sell setup. Confluence ≥ 5. Entry/SL/TP shown.Red
WAITDirection identified but conditions not met. Levels shown as targets.Gray
NONENo clear trend or setup. Stay flat.Dark gray

Position Size Calculator

The AI panel automatically calculates the optimal lot size based on:

It also shows the dollar risk and potential dollar reward.

Backtest

Click "Backtest" in the AI panel to test the OTE strategy on the last 50 swing cycles. It shows:

13. Alerts & Notifications

Automatic Alerts

EventInput SettingDescription
BOSAlert on BOSFires when a Break of Structure is confirmed
CHoCHAlert on CHoCHFires when a Change of Character occurs (potential reversal)
Liquidity SweepAlert on SweepFires when a stop hunt is detected with reversal
OB TouchAlert on OB TouchFires when price enters an unmitigated order block

Alert Delivery

Manual Alerts

Click "+Alert" on the dashboard to place a yellow horizontal line at the current price. Drag it to your desired level. When price crosses the line:

14. The Complete Trading Model

This is the step-by-step process for finding and executing A+ setups using the Smart Market Structure Toolkit:

Step 1: Determine Bias (HTF Analysis)

  1. Look at External Structure. Is it making HH/HL (bullish) or LH/LL (bearish)?
  2. Check the Monthly and Weekly Opens. Is price above or below?
  3. Note the previous day/week high/low as liquidity targets.

Step 2: Identify the Dealing Range

  1. Enable P/D zones. Note the Premium/Discount boundary (EQ).
  2. For buys: Wait for price to pull back into the Discount zone.
  3. For sells: Wait for price to rally into the Premium zone.

Step 3: Find the Entry Zone

  1. Look for a confluent POI in the correct zone: OB + FVG overlap, or OB in OTE zone.
  2. The ideal entry has an unmitigated OB inside the OTE (61.8-78.6%) zone with an FVG nearby.
  3. Check if an MTF (HTF) zone aligns with your entry zone for extra confirmation.

Step 4: Wait for Entry Trigger

  1. Drop to lower timeframe (or use Internal Structure).
  2. Wait for a CHoCH on internal structure in your trade direction.
  3. Ideally, enter during a Silver Bullet window or Killzone.
  4. A liquidity sweep before your entry is the strongest confirmation.

Step 5: Manage the Trade

  1. Stop Loss: Below/above the POI zone (order block low/high).
  2. Take Profit: Target the opposing liquidity — EQH, EQL, PDH, PDL, or the other end of the dealing range.
  3. Minimum R:R: 1:3 or better. Never risk more than the AI-calculated lot size.
The A+ Setup Checklist:
✓ External trend confirmed (BOS direction)
✓ Price in correct P/D zone (Discount for buys / Premium for sells)
✓ Unmitigated OB or FVG in OTE zone
✓ Internal structure CHoCH in trade direction
✓ Inside a Killzone or Silver Bullet window
✓ Recent liquidity sweep (bonus)
✓ Confluence score ≥ 7
✓ R:R ≥ 1:3

15. Risk Management & Position Sizing

The 1% Rule

Never risk more than 1-2% of your account balance on a single trade. The AI Scanner automatically calculates the correct lot size based on your risk input.

How Position Sizing Works

The formula used by the AI Scanner:

The result is automatically capped between the broker's minimum and maximum lot sizes.

R:R Guidelines

Confluence ScoreMinimum R:RNotes
7-101:2High probability. Slightly lower R:R acceptable.
5-61:3Standard. Need good reward to compensate.
0-4Do not tradeWait for better conditions.
Golden Rule: No single trade should ever make or break your account. The best traders in the world have a 55-65% win rate. Your edge comes from consistent position sizing and favorable R:R, not from winning every trade.

16. Pro Tips & Best Practices

Chart Setup

Feature Combinations

StyleEnableDisable
MinimalistStruct, FVG, OB, P/DEverything else
ICT ModelStruct, FVG, OB, P/D, OTE, SB, NY Open, SweepsVol, IFVG, Macros
Full AnalysisEverythingNothing
ScalpingInt.S, FVG, OB, Sweeps, Sessions, SBExt.S, P/D, MTF, Vol

Common Mistakes to Avoid

  1. Trading against the HTF trend. Always align with external structure.
  2. Entering at 50% (Equilibrium). Never enter at the EQ line. Wait for Discount/Premium.
  3. Trading mitigated zones. Fresh zones are significantly more reliable.
  4. Ignoring time. A perfect price setup during off-hours is still a bad trade.
  5. Over-leveraging. Stick to the 1% rule no matter what.
  6. Not waiting for confirmation. Price at a zone is not an entry. A CHoCH at a zone is.

Keyboard Shortcuts

17. FAQ & Troubleshooting

Q: The indicator is slow / chart is lagging

Reduce "Max History Bars" to 500 or less. Disable features you don't need (especially Volume Profile and MTF). Close the AI panel when not in use.

Q: Silver Bullet / Macros / CBDR times look wrong

Check your "GMT Offset" input. It should reflect the difference between EST (New York time) and your broker's server time. Most brokers use UTC+2 or UTC+3, which means the offset should be -5 (EST) relative to that.

Q: Zones appear but quickly disappear

If "Hide Invalidated" is ON, zones that price has closed through will be removed. Turn it OFF or enable "Mitig" to see mitigated/invalidated zones.

Q: No BOS/CHoCH lines showing

Increase "Max History Bars" or reduce "External Swing Bars" size. You need enough data for the indicator to detect swings and structure breaks.

Q: AI Scanner says "WAIT" all the time

This is normal and actually a good sign — it means the indicator is properly filtering setups. A+ setups don't occur on every chart at every moment. Try different timeframes or symbols.

Q: Can I use this on multiple timeframes simultaneously?

Yes. Add the indicator to multiple charts. Each instance is independent. Use the MTF feature to see higher timeframe zones on your trading timeframe.

Q: How do I update the indicator?

Replace the .mq5 file in your Indicators folder, then right-click on Indicators in Navigator and click "Refresh". Re-apply the indicator to your charts.