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.
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.
@PannchamH
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.
@PannchamH
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.