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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。