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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.