OPEN-SOURCE SCRIPT
已更新 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.
版本注释
✅ No more “end of line” errors.✅ 10-day alarm limit is active.
✅ Fully tested and compatible with Pine v6.
版本注释
🟡 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.”
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。