OPEN-SOURCE SCRIPT
Vector Sniper Pro

Vector Sniper Pro is a volatility and volume‑driven signal tool that highlights potential bullish/bearish “vector” events, pre‑signals, and extremes using price structure, delta‑style volume balance, and optional trend alignment filters. It is designed to help you identify unusual price/volume expansions and structured breaks in real time.
What it plots
Color‑coded candles to show vector bias (bull, bear, pre‑bull, pre‑bear, neutral).
Optional markers for extreme vectors and pre‑signals.
How it works (core logic)
1) Volatility and volume are normalized using Z‑scores, so signals reflect spikes relative to recent conditions.
2) A “vector” is defined when volatility + volume spikes align with strong candle bodies and a bullish/bearish delta‑volume tilt.
3) Optional structure break confirmation checks recent highs/lows.
4) “Trap” detection flags reversal‑style moves when price sweeps and closes back inside.
5) Extreme vectors require higher Z‑score thresholds than standard vectors.
Pre‑signal filter (noise control)
A multi‑factor score checks smart‑money style hints like springs/upthrusts, volume imbalance, and proximity to recent structure.
Signals must persist across multiple bars and respect cooldown/hysteresis rules to avoid back‑to‑back conflicts.
Trend alignment filters (optional)
VWAP side alignment, EMA direction, and optional higher‑timeframe EMA bias can be required to confirm direction.
How to use
Use vector signals to identify high‑activity bars with directional bias.
Use pre‑signals as early alerts, then wait for structure or confirmation filters if you prefer fewer signals.
Tighten thresholds and enable filters for higher selectivity; loosen for more activity.
Inputs summary
Core: ATR/volume lookbacks, Z‑score thresholds, extreme multiplier.
Vector filters: candle body %, structure break requirement, trap detection.
Pre‑signal filter: score threshold, persistence window, cooldown/hysteresis.
Trend filters: VWAP/EMA alignment and optional HTF bias.
Visuals: candle coloring and marker toggles.
Notes
This script does not make performance claims.
Use on standard candles and keep charts clean when publishing.
Signals are context tools, not guarantees.
What it plots
Color‑coded candles to show vector bias (bull, bear, pre‑bull, pre‑bear, neutral).
Optional markers for extreme vectors and pre‑signals.
How it works (core logic)
1) Volatility and volume are normalized using Z‑scores, so signals reflect spikes relative to recent conditions.
2) A “vector” is defined when volatility + volume spikes align with strong candle bodies and a bullish/bearish delta‑volume tilt.
3) Optional structure break confirmation checks recent highs/lows.
4) “Trap” detection flags reversal‑style moves when price sweeps and closes back inside.
5) Extreme vectors require higher Z‑score thresholds than standard vectors.
Pre‑signal filter (noise control)
A multi‑factor score checks smart‑money style hints like springs/upthrusts, volume imbalance, and proximity to recent structure.
Signals must persist across multiple bars and respect cooldown/hysteresis rules to avoid back‑to‑back conflicts.
Trend alignment filters (optional)
VWAP side alignment, EMA direction, and optional higher‑timeframe EMA bias can be required to confirm direction.
How to use
Use vector signals to identify high‑activity bars with directional bias.
Use pre‑signals as early alerts, then wait for structure or confirmation filters if you prefer fewer signals.
Tighten thresholds and enable filters for higher selectivity; loosen for more activity.
Inputs summary
Core: ATR/volume lookbacks, Z‑score thresholds, extreme multiplier.
Vector filters: candle body %, structure break requirement, trap detection.
Pre‑signal filter: score threshold, persistence window, cooldown/hysteresis.
Trend filters: VWAP/EMA alignment and optional HTF bias.
Visuals: candle coloring and marker toggles.
Notes
This script does not make performance claims.
Use on standard candles and keep charts clean when publishing.
Signals are context tools, not guarantees.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.