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が提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。