OPEN-SOURCE SCRIPT
Silver 30m HUD — Trend / Flow / PB / VWAP / Turbo

Silver 30m HUD is a streamlined Pine Script v5 indicator optimized exclusively for 30-minute silver futures (SIL) charts on TradingView. It displays a compact 2-column middle-right table analyzing trend, flow, momentum, pullback, VWAP, turbo, and final signals with safety stars and risk warnings. Enforces 30m timeframe usage via label alert on other periods.
Key Engines
Trend Fusion
Combines 30m (close vs SMA60) with 2H higher timeframe for UP/DOWN/FLAT consensus; MIXED on divergence. Serves as primary directional filter.
Flow Detection
Identifies volume surges (>2.2x 20-period SMA) as BULL/BEAR SURGE, else defaults to candle direction (UP/DOWN). Captures aggressive buying/selling pressure.
Momentum Composite
QQE/RSI/MFI blend: both >55 = UP, both <45 = DOWN, otherwise EXHAUST. Flags overextended moves.
Pullback Safety
Rates position vs SMA20/50: above both = OK, above 20 but below 50 = Weak, below both = Danger. Prevents chasing extended trends.
VWAP & Turbo
Price vs session VWAP (UP/DOWN); turbo flags >1% candle moves as UP/DOWN acceleration or EXHAUST.
Signals & Risk
Final Signal Logic
BUY requires UP trend + OK PB + UP VWAP + no DOWN mom; SELL needs DOWN trend + non-OK PB + DOWN VWAP; EXHAUST mom = CHOP; else WAIT.
Safety Ratings
BUY stars: 5🟩 (perfect confluence), 3🟩 (basic BUY); SELL: 4🟥 (full signal), 3🟥 (exhaustion).
Risk Alert
Triggers ⚠️ on BUY signals with 2H DOWN trend and <0.20 from resistance (distR), warning multi-timeframe conflict + overhead supply. Displays S/R levels and distances in mintick format.
HUD Layout
12-row table prioritizes scannability: metrics left (gray), statuses right (color-coded green/red/gray), bottom shows Dist to R/S, levels, and RISK. Ideal for quick 30m SIL scalping decisions balancing confluence and safety.
Key Engines
Trend Fusion
Combines 30m (close vs SMA60) with 2H higher timeframe for UP/DOWN/FLAT consensus; MIXED on divergence. Serves as primary directional filter.
Flow Detection
Identifies volume surges (>2.2x 20-period SMA) as BULL/BEAR SURGE, else defaults to candle direction (UP/DOWN). Captures aggressive buying/selling pressure.
Momentum Composite
QQE/RSI/MFI blend: both >55 = UP, both <45 = DOWN, otherwise EXHAUST. Flags overextended moves.
Pullback Safety
Rates position vs SMA20/50: above both = OK, above 20 but below 50 = Weak, below both = Danger. Prevents chasing extended trends.
VWAP & Turbo
Price vs session VWAP (UP/DOWN); turbo flags >1% candle moves as UP/DOWN acceleration or EXHAUST.
Signals & Risk
Final Signal Logic
BUY requires UP trend + OK PB + UP VWAP + no DOWN mom; SELL needs DOWN trend + non-OK PB + DOWN VWAP; EXHAUST mom = CHOP; else WAIT.
Safety Ratings
BUY stars: 5🟩 (perfect confluence), 3🟩 (basic BUY); SELL: 4🟥 (full signal), 3🟥 (exhaustion).
Risk Alert
Triggers ⚠️ on BUY signals with 2H DOWN trend and <0.20 from resistance (distR), warning multi-timeframe conflict + overhead supply. Displays S/R levels and distances in mintick format.
HUD Layout
12-row table prioritizes scannability: metrics left (gray), statuses right (color-coded green/red/gray), bottom shows Dist to R/S, levels, and RISK. Ideal for quick 30m SIL scalping decisions balancing confluence and safety.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.