OPEN-SOURCE SCRIPT
CRR Nemesis Fear & Greed Pro

It measures 4 market indicators:
ATR → volatility.
Relative Volume (rVOL) → whether there is more or less volume than average.
Price distance from the moving average (SMA 50) in ATR → how much the trend has extended.
Candlestick shape → size of the body and wicks (who is dominating, bulls or bears).
It calculates two scores (0–100):
Greed → when:
The candlestick is bullish,
The price is above the SMA 50 (uptrend),
There is a good body, good rVOL, the price is far from the average, high volatility,
A longer upper wick adds a little more.
Fear → when:
The candlestick is bearish,
The price is below the SMA 50 (downtrend),
Similarly: strong body, rVOL, distance from the average, volatility,
A longer lower wick adds a little more.
Both scores are smoothed with a 3-period EMA (greedSmoothed and fearSmoothed).
It determines the overall market sentiment (HUD):
ANGEL (greed dominates):
Greed ≥ 55 and Greed − Fear ≥ 10.
DEVIL (fear dominates):
Fear ≥ 55 and Fear − Greed ≥ 10.
If neither condition is met → NEUTRAL.
HUD on screen (table in the upper right corner):
Displays:
STATUS: ANGEL / DEVIL / NEUTRAL (with color).
FEAR: smoothed fear value.
GREED: smoothed greed value.
🧠 In simple terms:
It's a market sentiment engine: it combines volume, ATR, distance from the trend, and candlestick shape to tell you if the market is experiencing strong fear, strong greed, or is neutral, and displays it clearly in a HUD.
ATR → volatility.
Relative Volume (rVOL) → whether there is more or less volume than average.
Price distance from the moving average (SMA 50) in ATR → how much the trend has extended.
Candlestick shape → size of the body and wicks (who is dominating, bulls or bears).
It calculates two scores (0–100):
Greed → when:
The candlestick is bullish,
The price is above the SMA 50 (uptrend),
There is a good body, good rVOL, the price is far from the average, high volatility,
A longer upper wick adds a little more.
Fear → when:
The candlestick is bearish,
The price is below the SMA 50 (downtrend),
Similarly: strong body, rVOL, distance from the average, volatility,
A longer lower wick adds a little more.
Both scores are smoothed with a 3-period EMA (greedSmoothed and fearSmoothed).
It determines the overall market sentiment (HUD):
ANGEL (greed dominates):
Greed ≥ 55 and Greed − Fear ≥ 10.
DEVIL (fear dominates):
Fear ≥ 55 and Fear − Greed ≥ 10.
If neither condition is met → NEUTRAL.
HUD on screen (table in the upper right corner):
Displays:
STATUS: ANGEL / DEVIL / NEUTRAL (with color).
FEAR: smoothed fear value.
GREED: smoothed greed value.
🧠 In simple terms:
It's a market sentiment engine: it combines volume, ATR, distance from the trend, and candlestick shape to tell you if the market is experiencing strong fear, strong greed, or is neutral, and displays it clearly in a HUD.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。