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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。