OPEN-SOURCE SCRIPT
Zaktualizowano Sniper Trader V6.5 Pro SMC, FVGs & Volume Sweep Engine

Sniper Trader Pro is an all-in-one Smart Money Concepts (SMC) indicator designed to filter out market noise and identify high-probability institutional setups. Built for precision, this algorithm detects liquidity sweeps, Fair Value Gaps (FVGs), and volume-backed rejections, giving you a clear visual map of where the "Smart Money" is trapping retail traders.
Optimized for volatile assets like indices (NASDAQ/NQ, S&P500) on the 5-minute timeframe, this tool acts as a complete trading system.
Core Features
Dynamic Liquidity Boxes (FVGs): Automatically plots Demand (Aqua) and Supply (Red) zones based on momentum. The algorithm features a smart "garbage collector" that instantly deletes boxes once they are fully mitigated by price, keeping your chart perfectly clean.
Institutional Trend Filters: Integrates key dynamic support/resistance levels, including the 14 EMA, 80 HMA, 200 EMA, and the daily VWAP, allowing you to gauge the macro and micro trends at a glance.
Volume-Backed Sweep Signals: The indicator doesn't just look for wicks; it analyzes the relationship between wick size, body size, and relative volume. It plots clear "LONG" and "SHORT" triangles only when a rejection wick touches a key dynamic level (EMA/VWAP) and is backed by above-average volume.
Ultimate Sensitivity Engine: Fully customizable settings. You can adjust the required wick size, maximum opposite wick size, and volume multiplier to adapt the trigger sensitivity to the current market volatility.
How to Trade with Gems Sniper Trader Pro
This indicator is built to trade pullbacks into liquidity zones in the direction of the macro trend.
For a LONG Setup:
Ensure the price is trading above the 200 EMA (Macro Trend).
Wait for the price to pull back and enter an Aqua Demand Box.
Look for a green LONG triangle signal. This confirms a liquidity sweep bouncing off the 14 EMA, 80 HMA, or VWAP with institutional volume.
Place your Stop Loss safely below the sweep wick.
For a SHORT Setup:
Ensure the price is trading below the 200 EMA.
Wait for a fake breakout into a Red Supply Box.
Look for a red SHORT triangle rejecting the zone with volume.
Place your Stop Loss above the rejection wick.
Pro Tip:
Avoid taking signals that float in the middle of nowhere. The highest probability trades occur when the sweep signal perfectly aligns (confluence) with a Liquidity Box and a dynamic level like the VWAP.
Optimized for volatile assets like indices (NASDAQ/NQ, S&P500) on the 5-minute timeframe, this tool acts as a complete trading system.
Core Features
Dynamic Liquidity Boxes (FVGs): Automatically plots Demand (Aqua) and Supply (Red) zones based on momentum. The algorithm features a smart "garbage collector" that instantly deletes boxes once they are fully mitigated by price, keeping your chart perfectly clean.
Institutional Trend Filters: Integrates key dynamic support/resistance levels, including the 14 EMA, 80 HMA, 200 EMA, and the daily VWAP, allowing you to gauge the macro and micro trends at a glance.
Volume-Backed Sweep Signals: The indicator doesn't just look for wicks; it analyzes the relationship between wick size, body size, and relative volume. It plots clear "LONG" and "SHORT" triangles only when a rejection wick touches a key dynamic level (EMA/VWAP) and is backed by above-average volume.
Ultimate Sensitivity Engine: Fully customizable settings. You can adjust the required wick size, maximum opposite wick size, and volume multiplier to adapt the trigger sensitivity to the current market volatility.
How to Trade with Gems Sniper Trader Pro
This indicator is built to trade pullbacks into liquidity zones in the direction of the macro trend.
For a LONG Setup:
Ensure the price is trading above the 200 EMA (Macro Trend).
Wait for the price to pull back and enter an Aqua Demand Box.
Look for a green LONG triangle signal. This confirms a liquidity sweep bouncing off the 14 EMA, 80 HMA, or VWAP with institutional volume.
Place your Stop Loss safely below the sweep wick.
For a SHORT Setup:
Ensure the price is trading below the 200 EMA.
Wait for a fake breakout into a Red Supply Box.
Look for a red SHORT triangle rejecting the zone with volume.
Place your Stop Loss above the rejection wick.
Pro Tip:
Avoid taking signals that float in the middle of nowhere. The highest probability trades occur when the sweep signal perfectly aligns (confluence) with a Liquidity Box and a dynamic level like the VWAP.
Informacje o Wersji
Update:Corrected moving average settings. The logic is based on a 14 EMA and a 50 EMA setup. Optimized for 1-minute and 1-hour charts.
"The system generates precise LONG/SHORT sweep signals based on price interaction with the 14 EMA and VWAP, supported by volume analysis. The ORB-H, ORB-L, 50 EMA and 200 EMA are included as visual aids for intermediate and macro trend bias."
Informacje o Wersji
- Cleaner Execution & Full Control: Automated entry labels were removed because they frequently caused confusion and false entries. You now have the freedom to take precise, manual entries by looking for matching confluences—such as price bouncing off your customized FVG boxes, EMA trend crosses, and volume divergences (CVD).- Zero-Lag, Self-Cleaning Smart Boxes: Your Fair Value Gaps (FVGs) are now filtered by true volume and size, meaning the indicator only plots the strongest institutional levels. To keep your trading platform fast and your charts completely uncluttered, these boxes are designed to automatically delete themselves the moment the price fills 50% of the gap.
- How to Use the Non-Repainting Momentum Panel: The new panel scans 9 different timeframes to give you an overall percentage score of the market's direction. It is built to never "repaint" or trick you while a candle is moving. The best way to use it is to look for a high score (like 80% or more) in one direction, and use that as your final green light to pull the trigger when price hits your other confluences.
Informacje o Wersji
The latest addition to Sniper Trader Pro V8.2 is the Market Structure (CHoCH / BOS) module.This Smart Money Concepts (SMC) tool automatically maps the market's structure using pivot highs and lows to detect trend shifts. It plots Change of Character (CHoCH) and Break of Structure (BOS) lines directly on your chart, using strict anti-repaint logic so signals are only locked in after a candle fully closes. It also includes full visual customization for line styles, thickness, and text sizes.
Informacje o Wersji
🚀 New Features: Liquidity TrackingAutomated Equal Highs & Lows (EQH / EQL): The indicator now automatically detects areas of resting liquidity where price has formed double (or multiple) tops and bottoms.
ATR-Based Tolerance: Instead of relying on exact, to-the-tick matches, the engine uses a dynamic Average True Range (ATR) multiplier (default set to 0.3). This allows the script to mathematically identify realistic liquidity pools even if the wicks are slightly uneven.
🎨 Refined Defaults & Visuals
Cleaner SMC Structure: CHoCH and BOS lines have been updated to a subtle, dotted style (width 1) with smaller text labels. Bullish breaks are now Aqua, and Bearish breaks are Red, minimizing chart clutter while keeping signals clear.
Distinct Liquidity Colors: To separate liquidity from structure, EQH lines plot in Aqua, while EQL lines plot in Orange.
Tighter Margins: Both the Fair Value Gap (FVG) and Opening Range Breakout (ORB) line projection margins have been shortened to 3 bars, keeping the visual focus strictly on current price action.
Higher FVG Sensitivity: The default FVG ATR filter has been adjusted down to 0.3, allowing for more responsive gap detection.
🛠 Under-the-Hood Improvements
Vectorized Processing: The new liquidity module runs on the same O(1) time complexity as the rest of the indicator. By utilizing state-retained variables (var) for the liquidity pools, the engine draws EQH/EQL zones instantly without running heavy historical loops.
Zero Repaint Guarantee: Like the CHoCH and BOS signals, the new EQH/EQL zones are strictly anchored to the close[1] historical state. The indicator will never draw a liquidity line mid-candle and erase it later.
Informacje o Wersji
The main change is that we have removed the safety lock from the MTF panel.Previously, the scanner only evaluated the last closed session to give you a confirmed and stable bias. Now, it reads live price action on the currently forming candle, meaning the panel will react and update in absolute real-time to every heartbeat and fluctuation of the intraday market.
Informacje o Wersji
Defaulted Fast Ema to 14 and Trend Ema to 50.Informacje o Wersji
Here is the updated summary including the new VWAP session module implementation:50% Line (Dimmed): Geometrically marks the Consequent Encroachment. It serves as an exact entry level and validation point; if the price respects this midpoint, the probability of a reversal is extremely high.
Volume Ratio ("Vol: X.Xx"): Mathematically quantifies the institutional strength of the candle that created the gap. It serves to classify the setup's quality: high values (>1.5x) confirm a real capital injection, while low values warn of a lack of liquidity (slippage).
Typography Adjustment (size.small): Increases the scale of the text anchored to the box. It serves to optimize the trader's visual ergonomics, allowing for an instant reading of the data without generating visual clutter on the price chart.
Bi-Sessional Custom VWAP: Automatically resets at 9:30 AM and 6:00 PM EST instead of tracking continuously. It serves to isolate price action, providing a separate and clean algorithmic benchmark for both the regular market session and the evening/overnight session.
Informacje o Wersji
Sniper Trader Pro V8.6 SMC Edition - Architecture & Parameter Upgrades50% FVG Midpoint Line: Added a dimmed, dotted line inside Fair Value Gaps to visually pinpoint the "Consequent Encroachment" level for precise institutional entries.
Volume Strength Labels: FVG boxes now display a dynamic multiplier (e.g., "Vol: 2.5x") based on a 20-period SMA. This instantly quantifies institutional momentum and filters out low-liquidity gaps.
Bi-Sessional VWAP: Upgraded to a custom VWAP that automatically resets at 9:30 AM and 6:00 PM EST, isolating regular market hours from the overnight session.
Real-Time Proportional CVD Engine: Replaced the legacy delta with a proportional intrabar calculation that resets daily. It now highlights candle borders in real-time for instant divergence alerts, while drawing solid lines for macro structural pivots.
Optimized Default Parameters (For Scalping & Readability):
Text Size: Increased FVG volume labels to Small to improve visual ergonomics without cluttering the chart.
Pivot Period (ms_prd = 3): Reduced from 5 to 3 for faster, more agile detection of Market Structure shifts (CHoCH/BOS) and CVD divergences.
Liquidity Tolerance (eq_tol = 0.5): Increased to 0.5 ATR to capture broader and more realistic Equal Highs (EQH) and Equal Lows (EQL) liquidity pools.
Informacje o Wersji
Sniper Trader Pro V8.7 SMC Edition - Update Changelog🚀 Performance & Memory Optimization
Extreme FVG Rendering Optimization: Completely overhauled the Fair Value Gap (FVG) mitigation loop. Replaced computationally heavy, continuous API getter queries with a static O(1) memory cache (var array). This exponentially reduces the intra-bar CPU load, prevents memory leaks, and drastically increases the rendering FPS on lower-end devices.
Vectorized Real-Time Execution: Shifted mathematical calculations for structural midpoints to trigger only once upon creation, bypassing the need for redundant recalculations on every incoming price tick.
🛡️ Core Logic & Stability (Zero Repaint Guarantee)
Absolute Lookahead Bias Prevention: Hardened the Multi-Timeframe (MTF) Momentum Panel. All higher-timeframe data requests (request.security) are now strictly locked with lookahead = barmerge.lookahead_off. This guarantees that the indicator relies exclusively on closed data, ensuring 100% historical accuracy and zero repainting.
Syntax & Engine Compliance: Resolved a critical CE10005 compilation error by aligning the code structure strictly with Pine Script v6 indentation and topology standards.
🎨 UI/UX & Quality of Life Enhancements
Dynamic CVD Label Resizing: The Delta Divergence (CVD) labels are no longer rigidly locked to a small font. Introduced a new UI drop-down setting allowing users to dynamically scale the divergence text size (Tiny to Huge), ensuring perfect readability across all monitor sizes and resolutions.
Automated Chart Anchoring: Injected a strict rigid scaling parameter (scale = scale.right) directly into the indicator's core. This automatically forces all drawings, FVG boxes, and Opening Range Breakout (ORB) lines to synchronize with the right-hand price axis. This eliminates visual distortion and removes the need for users to manually select "Pin to Right Scale."
Informacje o Wersji
Changelog: Sniper Trader Pro V8.8 (SMC Edition) - Order Flow & Session Update✨ New Features & Core Upgrades
Smart Session Flush (Overnight FVG Auto-Clean)
Added: A new toggle in the settings (Auto-Delete OVN FVGs at NY Open) to automatically clear low-liquidity Fair Value Gaps generated during the overnight and Asian sessions.
Functionality: Triggers exactly at the New York Open (09:30 AM EST) to remove structural noise, ensuring the chart is clean for the main session's institutional volume.
Memory Retention: High-volume FVGs created during previous RTH (Regular Trading Hours) sessions are securely retained in memory and will not be deleted, preserving critical historical liquidity zones.
Intrabar Delta (Order Flow) Validation for FVGs
Added: A new setting (Filter by Favorable Delta) that integrates CVD (Cumulative Volume Delta) logic directly into the FVG validation process.
Functionality: The displacement candle creating the FVG is now scanned internally. Bullish FVGs require a net-positive delta (aggressive market buying), and bearish FVGs require a net-negative delta (aggressive market selling).
Benefit: Drastically reduces false FVG traps by filtering out high-volume candles that were actually driven by absorption or passive limit orders.
📈 UI & Visual Enhancements
Delta Confirmation Symbol
Added: A dynamic 'Δ' symbol appended to the FVG volume strength label (e.g., Vol: 2.5x Δ).
Functionality: Provides immediate visual confirmation directly on the chart that the plotted FVG has successfully passed the strict Order Flow/Delta filter.
Informacje o Wersji
Sniper Trader Pro - Changelog v8.9 SMC EditionOverview:
Version 8.9 brings a deep restructuring to the indicator's time synchronization. The internal architecture has been completely overhauled to make it a truly hybrid tool, capable of operating flawlessly in both traditional markets (Wall Street) and 24/7 continuous markets (Crypto, Forex).
✨ New Features
Hybrid Crypto Mode (Group 0): Added a new master control panel at the top of the settings. By enabling Crypto Mode, the indicator bypasses the traditional open/close market session and switches to a continuous cycle with a customizable daily reset time (defaults to 20:00).
Native Timezone Selector: Integrated a built-in dropdown menu featuring major global financial timezones (America/New_York, Europe/London, UTC, etc.). This eliminates the need to manually type timezone codes.
Dual & Dynamic ORB: The Opening Range Breakout (ORB) now operates with two separate engines. Separate timeframes have been established for NY ORB (e.g., 09:30-09:45) and Crypto ORB (e.g., 20:00-20:30). The script automatically detects your active mode and draws the corresponding opening range.
Informacje o Wersji
CHANGELOG - Sniper Trader Pro v9.0 SMC EditionDynamic Moving Average Engine: Replaced the strictly EMA-based moving average module with a dynamic, multi-type selector utilizing user-defined types (enum MAType). Users can now toggle between EMA, SMA, and HMA for their Fast (14), Trend (50), and Support (200) lines.
Unconditional MA Calculations: Implemented a new get_ma() helper method to compute all moving average formulas unconditionally. This architectural upgrade ensures the historical data series remains consistent on every bar, preventing na values or repainting issues when a user switches the MA type in the settings.
UI & Character Encoding Patches: Fixed broken unicode/character encoding issues from v8.9 that resulted in corrupted text rendering. Cleanly restored the intended visual emojis for Bullish/Bearish CVD Divergence labels (🐂 / 🐻) and the Favorable Delta Volume FVG labels (🚀).
Informacje o Wersji
Fixed 24h Orb for Crypto ModeInformacje o Wersji
// ==========================================// CHANGELOG: Sniper Trader V9.3 Pro SMC Edition
// ==========================================
// * Updated NY ORB timeframe default to 09:30 - 10:00.
// * Set Afternoon ORB timeframe default to 18:00 - 18:15.
// * Adjusted EQH/EQL ATR tolerance multiplier to 0.15.
// * Switched default Moving Average calculation type entirely to SMA.
// * Configured Moving Average default periods to 14 (Fast), 70 (Trend), and 210 (Support).
// * Implemented strict boolean typecasting and explicit state initializations for all session toggles.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.