Sniper Engine: How It Actually Works
The Problem With Retail SMC Tools
You've seen it a hundred times. A popular SMC indicator lights up your chart with a "BUY" arrow. You take the trade. Stop loss gets hit within minutes.
Why does this keep happening? Because most retail SMC tools cut corners on the parts of market structure analysis that actually matter. They draw pretty boxes, fire glowing arrows, and call it a signal. Meanwhile:
- Order blocks that price already broke through are still shown as valid
- Confluence scores jump to 100% any time three indicators happen to overlap
- Swing detection uses the same window size on a 1-minute chart as on a daily
- "Entry" prices are fantasy levels the candle never actually traded at
- Risk/reward ratios get pulled below 1:1 by nearby support that isn't a real target
The Sniper Engine was built to fix this. Not with more features — with more rigor.
What the Engine Does
When you request a signal, it walks through nineteen analytical steps:
- Detect swing points using a window that scales with timeframe
- Classify market structure (bullish / bearish / ranging) from recent swings
- Compute Fibonacci retracement and extension levels from the most recent major swing
- Find active order blocks — and skip any price has already broken through
- Identify support and resistance levels from clustered swing touches
- Score confluence at entry with ATR-normalized tolerance
- Compute trend using both moving averages and a linear regression slope
- Measure volatility as a percentage of price
- Tag the trading session (Asia / London / New York / Late NY) from the candle's timestamp
- Classify the setup type — breakout, reversal, range bounce, or continuation
- Detect classical patterns — Head & Shoulders, Double Tops and Bottoms, Triangles, Broadening
- Detect candlestick patterns — pin bars, engulfing, inside bars, and more
- Detect harmonic patterns — Gartley, Bat, Butterfly, Crab, with full XABCD Fibonacci ratio validation
- Apply pattern confirmation rules — confirmed patterns override base classification
- Pick direction — structure first, trend second, regression slope as final tiebreaker
- Set entry at the last close price
- Calculate stop loss beyond the most recent swing, buffered by ATR, with hard minimum and maximum bounds
- Calculate TP1 and TP2 with enforced risk/reward floors, then snap to nearby resistance or Fibonacci extensions when doing so improves the target
- Compute a confidence score combining structure, trend alignment, volatility regime, and pattern confirmation — with hard caps to prevent saturation
The output is a single structured signal: direction, entry, stop loss, TP1, TP2, confidence, and a plain-English explanation of why.
Seven Design Decisions That Make It Different
Anyone can claim "we detect order blocks." Here's what actually separates the engine from typical retail tools.
1. Order block mitigation tracking
Most tools show an order block the moment they detect one — and keep showing it forever. In reality, once price breaks through an OB, it's no longer valid. The engine scans every candle after each OB forms; if price has closed past the zone, the OB is discarded. You never see a mitigated OB treated as a live signal.
2. Timeframe-adaptive swing windows
A 1-minute chart is noisier than a daily chart. Using the same swing-detection window on both is how retail tools invent phantom swings on scalping timeframes. The engine scales its swing window with the timeframe — wider on sub-hourly charts to filter micro-noise, tighter on 1H and above.
3. ATR-normalized confluence tolerance
Most tools use "within 0.5% of a level" as confluence. On a tight-range chart, this makes every Fibonacci level "near" every other, and confluence scores inflate to garbage. The engine uses Average True Range as a tolerance cap — "near" means something relative to actual recent volatility, not an arbitrary percentage.
4. Capped pattern bonuses
When three bullish patterns coincide, most engines stack their bonuses and hit a ceiling on what's often noise. The Sniper Engine caps total pattern contribution so no coincidence of patterns can single-handedly produce a maximum-confidence signal.
5. Best-two Fibonacci hits only
Instead of summing every Fib level within tolerance — which inflates scores on tight swings where all Fibs cluster together — the engine keeps only the two highest-value hits. Prevents score inflation without ignoring real confluence.
6. Regression-based direction in ranging markets
When market structure is ranging and moving-average trend is flat, most tools default to "long" — an arbitrary choice that tilts results. The engine runs a least-squares regression and uses the sign of the slope as its tiebreaker. Data-driven, not arbitrary.
7. Hard risk/reward floors with smart targeting
The engine enforces hard RR floors on TP1 and TP2. If a nearby resistance would pull the target below those floors, the engine ignores it. It also snaps targets to real S/R levels when doing so improves the target — you get both discipline and realism.
How the Engine Learns From Itself
Everything above is the static analysis — what the engine computes from the chart at the moment you request a signal. But the chart isn't the whole story. A confluence setup that won 70% of the time in a London-session bullish-trend regime is very different from the same setup in an extreme-volatility Asian-session range.
The engine tracks the outcome of every signal it issues. TP1 hit, TP2 hit, stop hit, expired — everything is graded against real price action. Those outcomes are bucketed by market condition: trend, session, volatility, setup type, direction, and the instrument itself.
When a new signal fires, the engine looks up how signals matching its current conditions have historically performed, and nudges the confidence score up or down accordingly. Signals in conditions that have historically won get a boost; signals in conditions that have historically failed get a penalty.
Two safeguards prevent this from overfitting to noise:
A minimum-samples rule. A condition bucket only influences scoring after it has accumulated enough resolved signals. Below that threshold, the engine ignores it and falls back to the static confidence.
A dual-window pulse. The engine tracks outcomes twice: over the full history (baseline) and over a recent rolling window (pulse). When the recent window deviates meaningfully from the baseline, an additional small adjustment kicks in — capped on both sides so a short hot streak can't single-handedly swing confidence to the ceiling.
The result: the engine is aware of which conditions it performs well in and which it struggles with, and it scores accordingly. New market regime? The pulse window catches it before the baseline would. Stable conditions? The full-history weights dominate. Either way, the adjustment is bounded — no runaway learning, no curve-fitting on a handful of recent trades.
This is the part most retail tools skip entirely. They score every signal with the same formula today as they did a year ago, blind to whether their own logic has actually been working.
What a Signal Looks Like
Every signal returns a structured object:
- direction — long or short
- setup_type — breakout, reversal, range bounce, or continuation
- entry — the last close price, at proper asset precision
- sl — stop loss beyond the recent swing, ATR-buffered, bounded
- tp1, tp2 — targets with enforced RR floors
- confidence — a bounded score combining structure, trend, volatility, and pattern signal
- patterns — every detected pattern with confirmation status
- reasoning — a plain-English explanation of why the signal fired
- context — trend, volatility, session, ATR percent
The reasoning field is the core of the tool. You don't just get an arrow — you get something like:
Every number on the chart is traceable to a specific reason.
What It Will Not Do
No backtest, no signal engine, no tool — nothing sold by anyone — can guarantee profitable trades. Here's what the Sniper Engine deliberately avoids claiming:
- It will not predict price direction with certainty
- It will not replace risk management or psychological discipline
- It will not perform equally on every pair or timeframe — some instruments suit the methodology, some don't
- It does not use machine learning or neural networks — the learning is transparent, outcome-weighted scoring with bounded adjustments, not a black box
What it will do is give you a transparent, repeatable signal with the mathematical reasoning spelled out. Whether that signal fits your strategy, your pair, and your risk profile is your decision.
See It in Action
Run the engine on any pair your platform supports. Every signal comes with the full reasoning. Backtest it on historical data. Compare it against what you see on your TradingView setup. Judge it on rigor, not marketing.
Try the Sniper Engine →