OPEN-SOURCE SCRIPT
Background Mood — Subtle Weather Tint (Lite) v1.3

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.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.