PROTECTED SOURCE SCRIPT
Fear–Greed Index

What it does
This indicator compresses multiple behavioral signals into a single Fear–Greed Index (FGI) that ranges from –100 (extreme fear) to +100 (extreme greed). It blends three psychology-based components—Prospect Theory, Herding, and Social Impact Theory (SIT)
How it thinks
Prospect Theory (CPT)
Looks at the balance of gains vs. losses in recent returns.
Herding (Brock–Durlauf / Ising-style)
Counts the signs of recent returns (up vs. down) to measure “magnetization” (are most bars up or down.
Social Impact Theory (SIT)
Measures today’s return strength relative to recent volatility (strength), how concentrated recent moves were in the most recent quarter of the window (immediacy), and participation via volume relative to its recent average (number).
How to use it
Rising toward +100 → crowd risk-on/greed; falling toward –100 → risk-off/fear.
Treat extreme zones as context, not standalone trade signals—combine with price structure, volume, and risk management.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。