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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.