OPEN-SOURCE SCRIPT
Fear and Greed Indicator [DunesIsland]

The Fear and Greed Indicator [DunesIsland] is a TradingView indicator that measures market sentiment using five metrics. It displays:
Purpose: Helps traders spot market extremes for contrarian trading opportunities.Components (each weighted 20%):
Alerts:
- Tiny green circles below candles when the market is in "Extreme Fear" (index ≤ 25), signalling potential buys.
- Tiny red circles above candles when the market is in "Greed" (index > 75), indicating potential sells.
Purpose: Helps traders spot market extremes for contrarian trading opportunities.Components (each weighted 20%):
- Market Momentum: S&P 500 (SPX) vs. its 125-day SMA, normalized over 252 days.
- Stock Price Strength: Net NYSE 52-week highs (INDEX:HIGN) minus lows (INDEX:LOWN), normalized.
- Put/Call Ratio: 5-day SMA of Put/Call Ratio (USI:PC).
- Market Volatility: VIX (VIX), inverted and normalized.
- Stochastic RSI: 14-period RSI on SPX with 3-period Stochastic SMA.
Alerts:
- Buy: Index ≤ 25 ("Extreme Fear - Potential Buy").
- Sell: Index > 75 ("Greed - Potential Sell").
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。