MSB Pro SMC Gold
- Indicators
-
Kemal Mustafa Ozkan
Hello,
I am an algorithmic trading developer (MQL4, MQL5, PineScript) and the author of MSB Pro ALGO tools for MetaTrader 5. My focus is market structure, price action and strict risk management: no martingale, no grid.
What I build - Version: 1.40
- Activations: 5
MSB Pro SMC Gold draws the core Smart Money Concepts toolkit on your chart and keeps it up to date bar by bar. It was designed and tested on XAUUSD (gold) and works on any symbol and timeframe.
Everything is calculated on closed bars only. Once a signal, BOS/CHoCH, Order Block or FVG is drawn, it is not removed or redrawn on a later bar. Swing points are confirmed after the right-hand lookback bars have closed, as with every swing-based tool.
MARKET STRUCTURE
- Swing highs/lows with adjustable left/right lookback, labelled HH / HL / LH / LL
- BOS (continuation) and CHoCH (change of character) lines and labels
- Break by candle close (default) or by wick
- Current trend: bullish / bearish
ZONES
- Order Blocks: created at every structure break. Their height is capped by ATR so spike candles do not create oversized zones. They are marked "(m)" when first touched and removed when price breaks through them.
- Fair Value Gaps: three-candle imbalances with an ATR size filter. They shrink while being filled and are removed when fully filled (or on first touch, if you prefer).
- Liquidity sweeps: a wick takes out a swing high/low and the candle closes back inside. Shown as a dotted line and a cross.
- Every zone is labelled at its right end (Bull OB, Bear OB, Bull FVG, Bear FVG), so you always know what you are looking at.
- Colours: blue = bullish OB, maroon = bearish OB, green = bullish FVG, brown = bearish FVG. All colours can be changed.
SIGNALS
- A BUY or SELL arrow appears when price makes its first retest of an untouched Order Block or FVG in the trend direction and the candle closes as a rejection.
- Entry = signal candle close. SL = beyond the zone plus an ATR buffer. TP1 / TP2 / TP3 = adjustable multiples of the risk (default 1R / 2R / 3R).
- 1-5 star confluence score: 1 star for a valid setup, plus 1 each for EMA trend agreement, Order Block + FVG overlap, a recent liquidity sweep in the signal's favour, and entry in discount (buy) / premium (sell). The stars show how many conditions line up. They are not a probability of success.
DASHBOARD
Trend, last structure break, ATR-based momentum, last sweep, active zone counts, and the last signal with its stars, entry, SL and TP1-TP3. The dashboard can be placed in any corner.
ALERTS
Popup, push notification and e-mail alerts for new signals, with a minimum-star filter. Optional alerts for CHoCH and liquidity sweeps. Each alert fires once, when the bar closes, and never while history is loading.
RECOMMENDED USE
- H1 as the working chart. The default settings were chosen on XAUUSD H1.
- H4 for direction: open a second chart on H4 and only take H1 signals that agree with the trend on the H4 dashboard.
- M5-M15: use the structure and zones for context and timing, not as stand-alone entries.
- Treat the signals as a checklist of confluences, not as an automatic trading system. Always apply your own risk management.
FOR EA DEVELOPERS (iCustom buffers, read from bar 1 = last closed bar)
- 0 / 1: Swing High / Swing Low (price)
- 2: Trend (1 bullish, -1 bearish, 0 none)
- 3: Structure event (+/-1 BOS, +/-2 CHoCH)
- 4: Broken level (price)
- 5: New Order Block (+/-1)
- 6: New FVG (+/-1)
- 7: Liquidity sweep (+1 lows swept, -1 highs swept)
- 8 / 9: BUY / SELL arrow (price)
- 10-14: Entry, SL, TP1, TP2, TP3
- 15: Stars (1-5)
- 16: Signal info (16 = Order Block, 32 = FVG; plus 1 EMA, 2 overlap, 4 sweep, 8 discount/premium)
Note: each "input group" separator takes one parameter slot in iCustom (pass "").
IMPORTANT
This indicator is an analysis tool. It does not open trades and does not guarantee any result. Past behaviour on historical data does not predict future market behaviour. Trading leveraged instruments such as gold involves a high level of risk.
