OPEN-SOURCE SCRIPT
Volume Spike (Green/Red)

● Volume Spike (Green/Red) — 指標說明
--- 原理
偵測價格 bar
配合成交量異常放大的訊號,分別標記看漲(綠)與看跌(紅)兩個方向。每個方向有 3
個可選條件,可自由組合,條件全部勾選越嚴格、訊號越少但質量越高。
---
Green ↑ 可選條件(0–3 個)
- ✅ 當前 bar 收綠(必要,不可關閉)
- ✅ Volume ≥ 前一根 × 倍數(必要,倍數可調 1x / 1.5x / 2x...)
- ☑️ 前一根也是綠 bar(連續兩根綠)
- ☑️ 前一根 volume 突破 Vol MA(量能已啟動)
Red ↓ 可選條件(同上,方向相反)
---
⚙️ 可調參數
條件組合範例:
- 只勾爆量 → 訊號多,適合觀察
- 爆量 + 連續兩根 → 中等過濾
- 三個全開 → 最嚴格,高質量訊號
---
快訊
- 🟢 Green Vol Spike
- 🔴 Red Vol Spike
- ⚡ Any Vol Spike(綠紅皆通知)
==========================================================================
Volume Spike (Green/Red)
Detects abnormal volume surges on bullish (green) and bearish (red) bars, marking them
with arrows. Each direction has up to 3 configurable filter conditions — the more you
enable, the stricter and higher-quality the signals.
Green ↑ Conditions
- Current bar closes green (required)
- Volume ≥ previous bar × multiplier (required, adjustable: 1x / 1.5x / 2x...)
- Previous bar also green — 2 consecutive green bars (optional)
- Previous bar volume > Vol MA — confirms volume momentum (optional)
Red ↓ Conditions — same logic, opposite direction
Settings
- Volume Multiplier — spike threshold (1x to any value)
- Arrow Size — tiny / small / normal / large / huge
- Vol MA Length — moving average period for volume (default 5)
- Show Green / Red Signal — toggle each direction independently
- Require 2 Consecutive Bars — filter out single-bar signals
- 1st Bar Volume > Vol MA — confirm volume breakout before triggering
Alerts supported: Green Spike / Red Spike / Any Spike
--- 原理
偵測價格 bar
配合成交量異常放大的訊號,分別標記看漲(綠)與看跌(紅)兩個方向。每個方向有 3
個可選條件,可自由組合,條件全部勾選越嚴格、訊號越少但質量越高。
---
Green ↑ 可選條件(0–3 個)
- ✅ 當前 bar 收綠(必要,不可關閉)
- ✅ Volume ≥ 前一根 × 倍數(必要,倍數可調 1x / 1.5x / 2x...)
- ☑️ 前一根也是綠 bar(連續兩根綠)
- ☑️ 前一根 volume 突破 Vol MA(量能已啟動)
Red ↓ 可選條件(同上,方向相反)
---
⚙️ 可調參數
- Volume Multiplier — 爆量門檻,可設 1x / 1.5x / 2x 或任意數值,數值越高條件越嚴
- Arrow Size — 箭頭顯示大小,可選 tiny / small / normal / large / huge
- Vol MA Length — 均量線計算週期,預設 5,數值越小反應越快
- Show Green / Red Signal — 綠色或紅色訊號的整組開關,可只開單一方向
- Require 2 Consecutive Bars — 加入「前一根也需同色」條件,過濾單根假訊號
- 1st Bar Volume > Vol MA — 加入「第一根量需突破均量線」條件,確認量能真正啟動
條件組合範例:
- 只勾爆量 → 訊號多,適合觀察
- 爆量 + 連續兩根 → 中等過濾
- 三個全開 → 最嚴格,高質量訊號
---
快訊
- 🟢 Green Vol Spike
- 🔴 Red Vol Spike
- ⚡ Any Vol Spike(綠紅皆通知)
==========================================================================
Volume Spike (Green/Red)
Detects abnormal volume surges on bullish (green) and bearish (red) bars, marking them
with arrows. Each direction has up to 3 configurable filter conditions — the more you
enable, the stricter and higher-quality the signals.
Green ↑ Conditions
- Current bar closes green (required)
- Volume ≥ previous bar × multiplier (required, adjustable: 1x / 1.5x / 2x...)
- Previous bar also green — 2 consecutive green bars (optional)
- Previous bar volume > Vol MA — confirms volume momentum (optional)
Red ↓ Conditions — same logic, opposite direction
Settings
- Volume Multiplier — spike threshold (1x to any value)
- Arrow Size — tiny / small / normal / large / huge
- Vol MA Length — moving average period for volume (default 5)
- Show Green / Red Signal — toggle each direction independently
- Require 2 Consecutive Bars — filter out single-bar signals
- 1st Bar Volume > Vol MA — confirm volume breakout before triggering
Alerts supported: Green Spike / Red Spike / Any Spike
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.