OPEN-SOURCE SCRIPT
Cập nhật Gold, Silver & Platinum – Smart Entry + Exit + Quiet Mode (v2.4)

It is a system that analyzes the prices of Gold, Silver, and Platinum, identifies automatic buy-sell opportunities, tracks the trend direction, and sends smart alerts.
“Metal Smart Alert” measures the trend direction in 3 precious metals, provides trading alerts for strong signals, waits during risky or uncertain situations, and sends exit alerts when the trend ends.
In other words, it is a fully automatic buy–sell assistant and an alarm system with a fake signal filter.
“Metal Smart Alert” measures the trend direction in 3 precious metals, provides trading alerts for strong signals, waits during risky or uncertain situations, and sends exit alerts when the trend ends.
In other words, it is a fully automatic buy–sell assistant and an alarm system with a fake signal filter.
Phát hành các Ghi chú
✅ No more “end of line” errors.✅ 10-day alarm limit is active.
✅ Fully tested and compatible with Pine v6.
Phát hành các Ghi chú
🟡 Metal Smart Alert v2.6 – Overview🧭 Purpose
The Metal Smart Alert indicator tracks real-time trend and momentum conditions for Gold (XAUUSD), Silver (XAGUSD), and Platinum (XPTUSD).
It automatically generates intelligent buy and sell signals with clear entry and exit alerts, optimized for short-term and swing trading.
🧮 Signal Logic
ENTRY alerts: when a new aligned setup forms (e.g. bullish trend + BUY direction).
EXIT alerts: when EMA or RSI breaks trend structure.
Stability Filter: requires 3 bars of consistent direction to avoid noise.
Quiet Mode: no alerts between 00:00–06:00.
Daily Limit: maximum 10 alerts per day.
🔧 Optimization
Timeframes: 5 min – 1 hour
Trading Style: short-term swing & intraday
Mode: Balanced (Score ≥ 3)
Focus: fewer but higher-quality alerts
🧠 In Short
“A balanced, smart alert system for gold, silver, and platinum that blends EMA trend structure, RSI momentum, volume confirmation, and VWAP equilibrium to generate precise entry and exit signals.”
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.