OPEN-SOURCE SCRIPT
已更新 Anti-Fade Guard

This indicator helps you avoid the costly mistake of fading strong trends by identifying when the market is in a high-conviction directional move — and when it’s not.
Inspired by real trading behaviors and momentum confirmation principles, Anti-Fade Guard provides a clear, visual decision tool for intraday and scalping traders.
✅ How It Works
It uses a multi-factor scoring model that analyzes:
• 📈 EMA Trend Bias — Direction of price vs EMA and EMA slope
• 🔁 2-Bar Trend Structure — Detects consistent higher highs/lows
• 🚨 Breakout Confirmation — Confirms clean moves through previous bar extremes
• 🔊 Volume Strength — Detects conviction based on volume above 20-bar average
• 📏 Body-to-Range Strength — Filters out candles with indecision (e.g. dojis)
Each signal contributes to a bullish or bearish score, and a trend is only considered valid when 2 or more signals agree.
🟩🟥 Visual Output
A real-time summary box in the bottom-right corner shows:
• Trend Status: 📈 Bullish / 📉 Bearish / 🟩 Neutral
• Signal Breakdown: EMA, Price Structure, Breakout, Volume, Candle Strength
• A Heatmap-style Trend Score: color-coded for conviction
This makes it easy to filter setups, stay on the right side of the market, and avoid fighting the trend.
Inspired by real trading behaviors and momentum confirmation principles, Anti-Fade Guard provides a clear, visual decision tool for intraday and scalping traders.
✅ How It Works
It uses a multi-factor scoring model that analyzes:
• 📈 EMA Trend Bias — Direction of price vs EMA and EMA slope
• 🔁 2-Bar Trend Structure — Detects consistent higher highs/lows
• 🚨 Breakout Confirmation — Confirms clean moves through previous bar extremes
• 🔊 Volume Strength — Detects conviction based on volume above 20-bar average
• 📏 Body-to-Range Strength — Filters out candles with indecision (e.g. dojis)
Each signal contributes to a bullish or bearish score, and a trend is only considered valid when 2 or more signals agree.
🟩🟥 Visual Output
A real-time summary box in the bottom-right corner shows:
• Trend Status: 📈 Bullish / 📉 Bearish / 🟩 Neutral
• Signal Breakdown: EMA, Price Structure, Breakout, Volume, Candle Strength
• A Heatmap-style Trend Score: color-coded for conviction
This makes it easy to filter setups, stay on the right side of the market, and avoid fighting the trend.
發行說明
update screenshot開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。