PROTECTED SOURCE SCRIPT
Vector Sniper

Vector Sniper is a clean, rules-based price/volume engine designed to flag high-quality trend vectors (green/red) and filtered pre-signals (blue/orange) that often precede the move. Colors are intentionally minimal to reduce cognitive load:
• Green = Bull Vector (confirmed)
• Red = Bear Vector (confirmed)
• Blue = Pre-Bull (filtered early setup)
• Orange = Pre-Bear (filtered early setup)
• Gray = Neutral / no signal
What it is not: not a copy of other “vector candle” scripts, not a rebrand of Heikin-Ashi, QQE, Supertrend, or volume delta clones.
⸻
How it works (plain English)
1. Vector (confirmed) signals
A candle is marked Bull or Bear only when a confluence of conditions is met:
• Price expansion via ATR z-score (volatility thrust).
• Participation via Volume z-score (informed activity).
• Body commitment (body% ≥ threshold) to ignore doji/wicks.
• Delta-volume imbalance (approx. buy vs sell pressure).
• Optional structure break or trap detection.
Extreme vectors (rare) require proportionally stronger volatility/volume.
2. Pre-signals (early read, filtered)
Early setups are scored and throttled to reduce noise:
• Scoring from seven inputs: spring/upthrust, no-supply/no-demand, imbalance, volume multiple, location near structure, and side alignment (VWAP/EMA/HTF).
• Persistence: must appear in N of last M bars.
• Cooldown & hysteresis: suppresses repeating or flip-flop prints.
Result: fewer pre-prints, higher intent.
3. Confluence (optional, user-controlled)
You can require agreement with VWAP side, EMA trend, and/or HTF bias. When enabled, these act as gates for pre-signals.
⸻
Why this script is original
• Unique signal definition: “Vector” here is not a generic candle color. It’s a specific conjunction of ATR/volume z-scores + body commitment + imbalance + structure logic.
• Pre-signal engine: A 7-factor score with N-of-M persistence, cooldown, and opposite-side hysteresis—a design choice rarely used in public scripts and written from scratch for this tool.
• Minimalist palette with priority rules: only five colors, with vectors owning the chart and pre-signals never overriding a live vector.
• From-scratch code: all calculations (z-scores, imbalance proxy, scoring, persistence via cumulative windows) are authored specifically for this indicator—no copied blocks from other “vector” or “smart money” scripts.
⸻
Settings that matter
• Min Body % / Z-scores: tighten to reduce whipsaw, loosen to catch more momentum.
• Pre-Min Score & Persistence: raise these to cut noise; lower to be earlier.
• Cooldown / Hysteresis: use to stop spam on chop.
• HTF/VWAP/EMA gates: turn on when you want only with-trend early reads.
⸻
Alerts
Alerts are provided for: Bull Vector, Bear Vector, Extreme Bull/Bear, Pre-Bull, Pre-Bear. For cleaner automation, run alerts on bar close.
⸻
Repainting & reliability notes
• The indicator uses the current bar’s data for pre-signals. Values can update until the bar closes (standard behavior).
• If you enable HTF confluence, the HTF series is requested with lookahead off; signals can stabilize only after the HTF bar closes. That is not backpainting—it’s the nature of multi-timeframe data.
• No future bars are referenced for any historical calculation.
⸻
Best practices
• Use alongside basic structure (HH/HL vs LH/LL), session levels, or risk models.
• Pre-signal ➜ wait for vector confirmation or your entry trigger; don’t fire blindly on blue/orange alone.
• Always size risk; nothing here guarantees outcomes.
⸻
License & attribution
Original work © 2025. You are free to use this indicator on TradingView. Please do not repost the code as your own or sell without permission.
⸻
Bottom line: fewer colors, tighter logic, and a clear split between early intent (pre-signals) and confirmed thrust (vectors). Clean, deliberate, and built to keep you out of noise while still catching the move.
• Green = Bull Vector (confirmed)
• Red = Bear Vector (confirmed)
• Blue = Pre-Bull (filtered early setup)
• Orange = Pre-Bear (filtered early setup)
• Gray = Neutral / no signal
What it is not: not a copy of other “vector candle” scripts, not a rebrand of Heikin-Ashi, QQE, Supertrend, or volume delta clones.
⸻
How it works (plain English)
1. Vector (confirmed) signals
A candle is marked Bull or Bear only when a confluence of conditions is met:
• Price expansion via ATR z-score (volatility thrust).
• Participation via Volume z-score (informed activity).
• Body commitment (body% ≥ threshold) to ignore doji/wicks.
• Delta-volume imbalance (approx. buy vs sell pressure).
• Optional structure break or trap detection.
Extreme vectors (rare) require proportionally stronger volatility/volume.
2. Pre-signals (early read, filtered)
Early setups are scored and throttled to reduce noise:
• Scoring from seven inputs: spring/upthrust, no-supply/no-demand, imbalance, volume multiple, location near structure, and side alignment (VWAP/EMA/HTF).
• Persistence: must appear in N of last M bars.
• Cooldown & hysteresis: suppresses repeating or flip-flop prints.
Result: fewer pre-prints, higher intent.
3. Confluence (optional, user-controlled)
You can require agreement with VWAP side, EMA trend, and/or HTF bias. When enabled, these act as gates for pre-signals.
⸻
Why this script is original
• Unique signal definition: “Vector” here is not a generic candle color. It’s a specific conjunction of ATR/volume z-scores + body commitment + imbalance + structure logic.
• Pre-signal engine: A 7-factor score with N-of-M persistence, cooldown, and opposite-side hysteresis—a design choice rarely used in public scripts and written from scratch for this tool.
• Minimalist palette with priority rules: only five colors, with vectors owning the chart and pre-signals never overriding a live vector.
• From-scratch code: all calculations (z-scores, imbalance proxy, scoring, persistence via cumulative windows) are authored specifically for this indicator—no copied blocks from other “vector” or “smart money” scripts.
⸻
Settings that matter
• Min Body % / Z-scores: tighten to reduce whipsaw, loosen to catch more momentum.
• Pre-Min Score & Persistence: raise these to cut noise; lower to be earlier.
• Cooldown / Hysteresis: use to stop spam on chop.
• HTF/VWAP/EMA gates: turn on when you want only with-trend early reads.
⸻
Alerts
Alerts are provided for: Bull Vector, Bear Vector, Extreme Bull/Bear, Pre-Bull, Pre-Bear. For cleaner automation, run alerts on bar close.
⸻
Repainting & reliability notes
• The indicator uses the current bar’s data for pre-signals. Values can update until the bar closes (standard behavior).
• If you enable HTF confluence, the HTF series is requested with lookahead off; signals can stabilize only after the HTF bar closes. That is not backpainting—it’s the nature of multi-timeframe data.
• No future bars are referenced for any historical calculation.
⸻
Best practices
• Use alongside basic structure (HH/HL vs LH/LL), session levels, or risk models.
• Pre-signal ➜ wait for vector confirmation or your entry trigger; don’t fire blindly on blue/orange alone.
• Always size risk; nothing here guarantees outcomes.
⸻
License & attribution
Original work © 2025. You are free to use this indicator on TradingView. Please do not repost the code as your own or sell without permission.
⸻
Bottom line: fewer colors, tighter logic, and a clear split between early intent (pre-signals) and confirmed thrust (vectors). Clean, deliberate, and built to keep you out of noise while still catching the move.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.