OPEN-SOURCE SCRIPT
已更新 Shiva Pro V5 Structure Signals Intelligence

Pro V5 — Market Structure
& Smart Signal Engine
A unified day-trading and swing system built for 5m, 10m, and 1H charts. Five independent confirmation layers — trend, volatility, momentum, volume, and structure — work together before any signal is published. Every entry is committed at candle close. Nothing repaints.
Day Trading
Swing Trading
5m · 10m · 1H
Non-Repainting
Stocks · Crypto · Futures
Pine Script® v6
Architecture
Eight systems, one chart
Shiva Pro V5 is not a single indicator — it is eight interlocking analytical layers rendered on one overlay so you never need to context-switch between panes. Each layer can be toggled independently; together they give you a complete picture of market intent.
🏗
Market Structure
Automatic swing high / low detection. BOS (Break of Structure) and CHoCH (Change of Character) labels fire at candle close — BOS confirms trend continuation, CHoCH warns of reversal before it develops.
📦
Order Blocks
Detects the last opposing candle before a strong impulse move. Up to five blocks per side are tracked simultaneously. Blocks fade in transparency as they age — the newest, most relevant zone always reads brightest.
⚡
5-Stage Signal Engine
Every LONG or SHORT label passes five independent gates: EMA trend stack, ATR volatility expansion, RSI + MACD momentum, above-average volume, and structure confirmation. A 10-bar cooldown prevents signal clustering.
💧
VWAP Break & Retest
Identifies high-volume breaks of VWAP, waits for price to retest within 0.2%, then confirms the bounce with momentum. A chop filter suppresses signals when price has crossed VWAP 2+ times in 20 bars — no oscillating false entries.
🛡
Risk Management
SL and TP1 draw instantly at signal. Lines are self-deleting — they expire after your chosen bar count or are cleared immediately when a new signal fires, keeping the chart clean. TP2 / TP3 are hidden by default.
📊
MTF Dashboard
Live table showing trend direction, RSI, and volume status on your three trading timeframes (5m, 10m, 1H) plus a 4H / 1D swing backdrop. Day Alignment score (X/3) tells you at a glance if all TFs agree.
☁️
Clouds & Ribbon
Reversal Cloud (EMA 9/21) changes color with momentum, Bias Ribbon (EMA 20/50) fills to show macro direction, and an optional Sentiment Cloud (EMA 50/200) paints the long-term trend beneath everything.
🔔
17 Alert Conditions
Every signal type has its own alert: LONG, SHORT, VWAP Buy, VWAP Sell, BOS, CHoCH, Pullback, Reversal, High Volume Spike, Trailing Stop Hit, and full MTF alignment calls for all-bull and all-bear.
& Smart Signal Engine
A unified day-trading and swing system built for 5m, 10m, and 1H charts. Five independent confirmation layers — trend, volatility, momentum, volume, and structure — work together before any signal is published. Every entry is committed at candle close. Nothing repaints.
Day Trading
Swing Trading
5m · 10m · 1H
Non-Repainting
Stocks · Crypto · Futures
Pine Script® v6
Architecture
Eight systems, one chart
Shiva Pro V5 is not a single indicator — it is eight interlocking analytical layers rendered on one overlay so you never need to context-switch between panes. Each layer can be toggled independently; together they give you a complete picture of market intent.
🏗
Market Structure
Automatic swing high / low detection. BOS (Break of Structure) and CHoCH (Change of Character) labels fire at candle close — BOS confirms trend continuation, CHoCH warns of reversal before it develops.
📦
Order Blocks
Detects the last opposing candle before a strong impulse move. Up to five blocks per side are tracked simultaneously. Blocks fade in transparency as they age — the newest, most relevant zone always reads brightest.
⚡
5-Stage Signal Engine
Every LONG or SHORT label passes five independent gates: EMA trend stack, ATR volatility expansion, RSI + MACD momentum, above-average volume, and structure confirmation. A 10-bar cooldown prevents signal clustering.
💧
VWAP Break & Retest
Identifies high-volume breaks of VWAP, waits for price to retest within 0.2%, then confirms the bounce with momentum. A chop filter suppresses signals when price has crossed VWAP 2+ times in 20 bars — no oscillating false entries.
🛡
Risk Management
SL and TP1 draw instantly at signal. Lines are self-deleting — they expire after your chosen bar count or are cleared immediately when a new signal fires, keeping the chart clean. TP2 / TP3 are hidden by default.
📊
MTF Dashboard
Live table showing trend direction, RSI, and volume status on your three trading timeframes (5m, 10m, 1H) plus a 4H / 1D swing backdrop. Day Alignment score (X/3) tells you at a glance if all TFs agree.
☁️
Clouds & Ribbon
Reversal Cloud (EMA 9/21) changes color with momentum, Bias Ribbon (EMA 20/50) fills to show macro direction, and an optional Sentiment Cloud (EMA 50/200) paints the long-term trend beneath everything.
🔔
17 Alert Conditions
Every signal type has its own alert: LONG, SHORT, VWAP Buy, VWAP Sell, BOS, CHoCH, Pullback, Reversal, High Volume Spike, Trailing Stop Hit, and full MTF alignment calls for all-bull and all-bear.
發行說明
Updated to Shiva Pro V6.2開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。