Under the Hood

Sniper Engine: How It Actually Works

A transparent look at the signal engine, the seven design decisions that separate it from typical SMC tools, and how it learns from its own outcomes.

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:

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:

  1. Detect swing points using a window that scales with timeframe
  2. Classify market structure (bullish / bearish / ranging) from recent swings
  3. Compute Fibonacci retracement and extension levels from the most recent major swing
  4. Find active order blocks — and skip any price has already broken through
  5. Identify support and resistance levels from clustered swing touches
  6. Score confluence at entry with ATR-normalized tolerance
  7. Compute trend using both moving averages and a linear regression slope
  8. Measure volatility as a percentage of price
  9. Tag the trading session (Asia / London / New York / Late NY) from the candle's timestamp
  10. Classify the setup type — breakout, reversal, range bounce, or continuation
  11. Detect classical patterns — Head & Shoulders, Double Tops and Bottoms, Triangles, Broadening
  12. Detect candlestick patterns — pin bars, engulfing, inside bars, and more
  13. Detect harmonic patterns — Gartley, Bat, Butterfly, Crab, with full XABCD Fibonacci ratio validation
  14. Apply pattern confirmation rules — confirmed patterns override base classification
  15. Pick direction — structure first, trend second, regression slope as final tiebreaker
  16. Set entry at the last close price
  17. Calculate stop loss beyond the most recent swing, buffered by ATR, with hard minimum and maximum bounds
  18. Calculate TP1 and TP2 with enforced risk/reward floors, then snap to nearby resistance or Fibonacci extensions when doing so improves the target
  19. 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:

The reasoning field is the core of the tool. You don't just get an arrow — you get something like:

"Long setup at 1.2385: bullish market structure, inside bullish order block, confluence at Fib 0.618 and 20-touch S/R, confirmed bullish engulfing, London session."

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:

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 →