OPEN-SOURCE SCRIPT

Background Mood — Subtle Weather Tint (Lite) v1.3

49
One-liner

Soft background tint that reflects multi-TF momentum as a friendly weather mood (Rainy → Blue Sky), with a tiny legend and optional color key.

What it does

Paints the chart background using a 0–10 weather score derived from RSI(1h/4h), MACD histogram (1h/4h), and a chart-TF EMA filter.

Buckets the score into: Rainy, Storm Clearing, Clearing Skies, Sunny, Blue Sky.

Shows a tiny legend on the last bar (Weather + Score).

Includes a top-right color key with swatches for each mood (toggle on/off).

How it works

Score (0–10) = scaled RSI(1h) + RSI(4h) + MACD(1h/4h) > 0 + Close > EMA filter.

Tint color is chosen by the bucket of the score.

Transparency is adjustable so it stays subtle behind price action.

Inputs

Trend TFs: default 1h and 4h for RSI/MACD.

RSI length, EMA length (chart timeframe).

Tint transparency (0 = solid, 100 = invisible).

Toggles: Show tiny legend, Show color key, legend gap.

How to use

Treat the tint as context/bias, not a signal.

Green/blue tones suggest tailwinds; red/orange tones suggest headwinds or repair.

Combine with your entry tools (levels, VWAP, Supertrend, Squeeze).

Notes

Uses MTF data; values finalize on higher-TF bar close.

Works on crypto, FX, and stocks; thresholds are lightweight and broadly applicable.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.