OPEN-SOURCE SCRIPT

Volume Spike (Green/Red)

428
● Volume Spike (Green/Red) — 指標說明
--- 原理
偵測價格 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

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。