OPEN-SOURCE SCRIPT

CRR Nemesis Fear & Greed Pro

63
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.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.