OPEN-SOURCE SCRIPT
Vector Sniper

What this script does
This indicator highlights high‑energy “vector” candles and marks optional Absolute Reversal candles (possible bottoms/tops) based on wick rejection, structure, and volume. It is designed for visual context, not automatic trade entries.
How it works (core logic)
The script combines volatility, volume, and price‑structure filters:
Vector candles: Require strong candle body, high volatility (true range Z‑score), high volume (volume Z‑score), and directional delta imbalance.
Structure filters: Optional break‑of‑structure and trap detection help remove noise.
Pre‑signals: A scoring system tracks early conditions (volume, imbalance, structure proximity, and EMA/VWAP alignment) and requires persistence across recent bars.
HTF confluence (optional): Uses higher‑timeframe EMA alignment with no lookahead bias.
Absolute Reversal candles
These are designed to mark potential local tops/bottoms and require:
Long wick rejection
Small body size
Strong close back into the range
Local structural extreme
Above‑average volume
Optional EMA trend bias (to confirm exhaustion)
How to use it
Use vector candles to spot high‑momentum activity.
Use pre‑signals as early warnings before vectors appear.
Use Absolute Reversal candles for potential turning points at extremes.
Adjust thresholds per timeframe and instrument.
Notes
Designed for standard candlesticks (not Heikin Ashi / Renko / Kagi / P&F).
No performance claims or guarantees.
HTF data uses lookahead_off to avoid repainting.
This indicator highlights high‑energy “vector” candles and marks optional Absolute Reversal candles (possible bottoms/tops) based on wick rejection, structure, and volume. It is designed for visual context, not automatic trade entries.
How it works (core logic)
The script combines volatility, volume, and price‑structure filters:
Vector candles: Require strong candle body, high volatility (true range Z‑score), high volume (volume Z‑score), and directional delta imbalance.
Structure filters: Optional break‑of‑structure and trap detection help remove noise.
Pre‑signals: A scoring system tracks early conditions (volume, imbalance, structure proximity, and EMA/VWAP alignment) and requires persistence across recent bars.
HTF confluence (optional): Uses higher‑timeframe EMA alignment with no lookahead bias.
Absolute Reversal candles
These are designed to mark potential local tops/bottoms and require:
Long wick rejection
Small body size
Strong close back into the range
Local structural extreme
Above‑average volume
Optional EMA trend bias (to confirm exhaustion)
How to use it
Use vector candles to spot high‑momentum activity.
Use pre‑signals as early warnings before vectors appear.
Use Absolute Reversal candles for potential turning points at extremes.
Adjust thresholds per timeframe and instrument.
Notes
Designed for standard candlesticks (not Heikin Ashi / Renko / Kagi / P&F).
No performance claims or guarantees.
HTF data uses lookahead_off to avoid repainting.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。