SnR FVG Sweep Levels
- Göstergeler
- Stephen Muriithi Muraguri
- Sürüm: 1.10
SNR + FVG + HTF Sweeps Levels
Indicator Documentation — Version 71.10
Smart Money Concepts (SMC) / Inner Circle Trader (ICT) Methodology
By Ultimate Trader
OverviewThis indicator combines three institutional trading concepts into a single chart overlay for MetaTrader 5. It identifies where institutions sweep liquidity at key structural levels, detects the displacement (Fair Value Gap) that follows, and maps the support and resistance zones where these events occur. The result is a high-probability reversal framework that automates the core ICT/SMC workflow directly on your chart.
The indicator recalculates on each new bar and performs real-time alert checks on every tick. All chart objects are drawn in the background layer so they do not interfere with normal price action reading.
How the Strategy WorksStep 1: Identify HTF Liquidity Sweep. The indicator scans the higher timeframe (controlled by InpHTFTimeframe) for swing highs and swing lows using a 2-bar pivot method across InpSweepLookback bars. When a candle wicks beyond a swing point but closes back inside it, and the wick exceeds InpSweepMinWick points, it is flagged as a BSL (buy-side liquidity) or SSL (sell-side liquidity) sweep.
Step 2: Wait for FVG Displacement. After the sweep, the indicator looks for a strong 3-candle imbalance pattern on the current chart timeframe within InpFVGLookback bars. A bullish FVG exists when candle[i].low is above candle[i-2].high; a bearish FVG when candle[i-2].low is above candle[i].high. The gap must exceed InpMinFVGSize points (or 5 points if set to auto). If the FVG forms within 4 hours of a sweep, it is marked High Probability and highlighted in InpHighProbFVGColor.
Step 3: Entry on Retest at SNR. The indicator draws multi-timeframe support and resistance levels (D1, H4, H1) using swing pivots detected over InpSNRLookback bars. A limit order is placed at the FVG edge where it aligns with an SNR level. Stop-loss goes beyond the sweep wick; take-profit targets the opposing HTF liquidity.
Module 1: Support & Resistance (SNR)The SNR module detects swing pivot highs and lows across three timeframes: Daily, 4-Hour, and 1-Hour. A swing high requires the bar's high to exceed the two bars on either side; a swing low requires the bar's low to be below both neighbours. Levels within InpSNRMergePips points of each other are merged to reduce clutter. Each level tracks how many times price has touched it; levels with more than two touches are marked "unfresh" and drawn in InpUnfreshColor (gray). Per-timeframe colour coding makes it easy to distinguish Daily resistance (dark red) from H1 support (midnight blue) at a glance.
Module 2: Fair Value Gaps (FVG)The FVG module scans the current chart for 3-candle imbalance patterns that signal strong institutional displacement. A bullish FVG is the gap between candle[i-2] high and candle[i] low when the middle candle closes strongly bullish (body > 40% of range). A bearish FVG is the mirror image. Each zone is drawn as a filled rectangle from its formation time to the current bar. If price later returns and fills the gap completely, the zone is marked "Filled" and either hidden or greyed out depending on InpShowFilledFVG. FVGs that form within a 4-hour window after a liquidity sweep are tagged High Probability and rendered in green, alerting the trader to the highest-confluence setups.
Module 3: Higher-Timeframe Candle OverlayThis module draws higher-timeframe candle bodies and wicks directly on your lower-timeframe chart so you can see the HTF structure without switching timeframes. The candle body is rendered as a filled rectangle spanning the HTF bar's open-to-close range with a border in InpHTFBorderColor. Upper and lower wicks are drawn as trend lines from the body edge to the high/low. The overlay only activates when your chart period is smaller than the selected HTF; if you are already on the H4 chart and HTF is set to H4, nothing is drawn.
Module 4: HTF Liquidity SweepsThe sweep detector is the catalyst of the entire strategy. It first builds an array of confirmed swing highs and swing lows on the higher timeframe using a 2-bar pivot. Then for each subsequent HTF bar, it checks whether the wick exceeds a prior swing point while the body closes back inside. A BSL (buy-side liquidity) sweep means price wicked above a swing high, triggering buy-stop orders, then reversed — this is a bearish signal. An SSL (sell-side liquidity) sweep means price wicked below a swing low, triggering sell-stops, then reversed — a bullish signal. Each sweep is drawn as a dashed horizontal line with an arrow at the wick and a label (BSL Sweep or SSL Sweep). If price later closes decisively beyond the sweep wick on the HTF, the sweep is invalidated and optionally hidden or shown in gray.
Module 5: Alert SystemThe alert engine runs on every incoming tick and fires through three channels: MT5 popup alert (always), push notification to mobile (optional), and email (optional). A minimum 60-second cooldown prevents alert spam. Sweep alerts fire when a new BSL or SSL sweep is detected within the last 2 bars. SNR touch alerts fire when the current price is within InpSNRMergePips of a fresh level. FVG alerts fire when a new unfilled gap forms on the most recent bar.
Colour ConfigurationAll colours are fully customisable through the Colors tab of the indicator settings. The defaults are designed for a dark chart background. Each timeframe and component has its own colour group to allow quick visual differentiation
For optimal results, apply the indicator to a lower timeframe chart (M5 or M15) with the HTF Timeframe input set to H1 or H4. This gives you the multi-timeframe structure overlay while keeping the LTF detail needed for precise FVG entries.
