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 อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน