OPEN-SOURCE SCRIPT
[CS] Volume Spike Detector (Clean)

[CS] Volume Spike Detector
Statistically detects real volume spikes using Z-Score analysis, with a session-aware filter that ignores the expected 9:30 AM opening burst.
🔹 **What It Does**
- Colors spike candles directly - your chart stays clean and neutral until a spike occurs
- Uses Z-Score (standard deviation) to adapt to each instrument's natural volume profile
- Two tiers: Spike and Major. Major spikes get a small "Nx" label showing volume relative to average
- Compact 3-row stats table with current volume ratio, Z-Score, and status

🔹 **What Makes This Different**
**Session-Aware Detection.** Every volume spike indicator on TradingView lights up at 9:30 AM because the market open always has high volume — that's expected, not a signal. This indicator has a configurable "opening burst" filter that suppresses the first N minutes after session open. You only see spikes that are actually unusual for the current session — not the ones every trader already expects.

The design is intentionally minimal. Normal candles are neutral gray. Only spike candles get color. No background shading, no giant labels, no chart clutter. The signal is the candle itself.
🔹 **How to Read It**
- **Neutral gray candles** — Normal volume. Nothing to see.
- **Colored candle (subtle)** — Volume spike. Statistically above average.
- **Colored candle (bright) + "Nx" label** — Major spike. Something worth paying attention to.
- **Table shows "OPEN"** — Currently in the opening burst window. Spikes suppressed.

🔹 **Best Used For**
- Confirming breakouts with real volume
- Spotting potential reversals via climax volume
- Filtering noise — only trade when volume confirms
- Intraday trading where the 9:30 open spike is a constant problem
🔹 **Settings**
- Lookback Period (50) — bars for average and standard deviation
- Spike Threshold (2.0) — Z-Score minimum for detection
- Major Spike Multiplier (1.5) — multiplied by threshold for Major tier
- Session-Aware Mode (on) — ignores first N minutes after open
- Ignore First N Minutes (5) — opening burst window
- Session Open (930) — configurable for any market
- Fully customizable colors for bull/bear spikes and neutral candles
Part of the Candle Syntax collection — free trading indicators built different.
Statistically detects real volume spikes using Z-Score analysis, with a session-aware filter that ignores the expected 9:30 AM opening burst.
🔹 **What It Does**
- Colors spike candles directly - your chart stays clean and neutral until a spike occurs
- Uses Z-Score (standard deviation) to adapt to each instrument's natural volume profile
- Two tiers: Spike and Major. Major spikes get a small "Nx" label showing volume relative to average
- Compact 3-row stats table with current volume ratio, Z-Score, and status
🔹 **What Makes This Different**
**Session-Aware Detection.** Every volume spike indicator on TradingView lights up at 9:30 AM because the market open always has high volume — that's expected, not a signal. This indicator has a configurable "opening burst" filter that suppresses the first N minutes after session open. You only see spikes that are actually unusual for the current session — not the ones every trader already expects.
The design is intentionally minimal. Normal candles are neutral gray. Only spike candles get color. No background shading, no giant labels, no chart clutter. The signal is the candle itself.
🔹 **How to Read It**
- **Neutral gray candles** — Normal volume. Nothing to see.
- **Colored candle (subtle)** — Volume spike. Statistically above average.
- **Colored candle (bright) + "Nx" label** — Major spike. Something worth paying attention to.
- **Table shows "OPEN"** — Currently in the opening burst window. Spikes suppressed.
🔹 **Best Used For**
- Confirming breakouts with real volume
- Spotting potential reversals via climax volume
- Filtering noise — only trade when volume confirms
- Intraday trading where the 9:30 open spike is a constant problem
🔹 **Settings**
- Lookback Period (50) — bars for average and standard deviation
- Spike Threshold (2.0) — Z-Score minimum for detection
- Major Spike Multiplier (1.5) — multiplied by threshold for Major tier
- Session-Aware Mode (on) — ignores first N minutes after open
- Ignore First N Minutes (5) — opening burst window
- Session Open (930) — configurable for any market
- Fully customizable colors for bull/bear spikes and neutral candles
Part of the Candle Syntax collection — free trading indicators built different.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.