OPEN-SOURCE SCRIPT
P_NQ Futures Daily Bias & Structure Pro

Overview The Master Sniper is a professional-grade execution system designed for high-volatility assets like NQ (Nasdaq 100) and ES (S&P 500). Unlike standard indicators that generate blind signals, this script uses a Multi-Timeframe Logic Engine to first establish a daily bias and then hunt for specific intraday triggers.
It features a Hybrid Strategy that can automatically switch between Trend Following (Smart Money Concepts) and Mean Reversion (Gap Fades), giving you a complete toolkit for any market condition.
Key Features
1. Macro Bias Engine (The Filter) Before generating any signal, the script analyzes the Daily Chart in the background:
Structure: Checks for Higher Highs/Lows vs. Lower Highs/Lows.
Momentum: Uses RSI and the 200 EMA to ensure you aren't buying the top or selling the bottom.
Result: It generates a directional bias (Bullish/Bearish) that filters out low-probability trades.
2. Hybrid Entry Logic
Trend Mode (SMC): Identifies Fair Value Gaps (FVG) within "Discount" or "Premium" zones. It only triggers if the price pulls back into a value area aligned with the Daily Bias.
Reversal Mode (Elasticity): Detects when price is over-extended (2.0 Standard Deviations from VWAP) or when a "Liquidity Sweep" occurs, signaling a snap-back trade.
Gap Rejection (Morning Fade): A dedicated engine that monitors the Opening Gap. If the market gaps significantly but fails to hold, it triggers a "Fade" trade to target the gap fill.
3. Professional Trade Management Visualizes your trade plan instantly on the chart:
Split Targets: Draws targets for Contract 1 (Scalp) and Contract 2 (Runner).
Auto-Break Even: The moment TP1 is hit, the Stop Loss line visually moves to your Entry Price, signaling a "Risk-Free" trade.
Infinite Target Lines: Extends target lines to the right until the trade concludes, keeping your chart clean.
4. Risk Filters
Range Filter: Prevents buying in the Top 1/3 or selling in the Bottom 1/3 of the daily range.
Proximity Filter: Blocks trades that are squeezing too tight against the 100-candle High/Low.
How to Use
Timeframe: Optimized for the 5-Minute (5m) chart on Futures (NQ/ES) or Tech Stocks.
Dashboard: Check the bottom-right panel. Ensure "Status" says "SCANNING" and Filters show "Active."
Execution: Wait for the alert (e.g., "🟢 ENTER LONG"). Place your orders at the Blue Line with SL at the Red Line.
It features a Hybrid Strategy that can automatically switch between Trend Following (Smart Money Concepts) and Mean Reversion (Gap Fades), giving you a complete toolkit for any market condition.
Key Features
1. Macro Bias Engine (The Filter) Before generating any signal, the script analyzes the Daily Chart in the background:
Structure: Checks for Higher Highs/Lows vs. Lower Highs/Lows.
Momentum: Uses RSI and the 200 EMA to ensure you aren't buying the top or selling the bottom.
Result: It generates a directional bias (Bullish/Bearish) that filters out low-probability trades.
2. Hybrid Entry Logic
Trend Mode (SMC): Identifies Fair Value Gaps (FVG) within "Discount" or "Premium" zones. It only triggers if the price pulls back into a value area aligned with the Daily Bias.
Reversal Mode (Elasticity): Detects when price is over-extended (2.0 Standard Deviations from VWAP) or when a "Liquidity Sweep" occurs, signaling a snap-back trade.
Gap Rejection (Morning Fade): A dedicated engine that monitors the Opening Gap. If the market gaps significantly but fails to hold, it triggers a "Fade" trade to target the gap fill.
3. Professional Trade Management Visualizes your trade plan instantly on the chart:
Split Targets: Draws targets for Contract 1 (Scalp) and Contract 2 (Runner).
Auto-Break Even: The moment TP1 is hit, the Stop Loss line visually moves to your Entry Price, signaling a "Risk-Free" trade.
Infinite Target Lines: Extends target lines to the right until the trade concludes, keeping your chart clean.
4. Risk Filters
Range Filter: Prevents buying in the Top 1/3 or selling in the Bottom 1/3 of the daily range.
Proximity Filter: Blocks trades that are squeezing too tight against the 100-candle High/Low.
How to Use
Timeframe: Optimized for the 5-Minute (5m) chart on Futures (NQ/ES) or Tech Stocks.
Dashboard: Check the bottom-right panel. Ensure "Status" says "SCANNING" and Filters show "Active."
Execution: Wait for the alert (e.g., "🟢 ENTER LONG"). Place your orders at the Blue Line with SL at the Red Line.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
@PannchamH
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
@PannchamH
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.