OPEN-SOURCE SCRIPT
Weather Score Badge — Lite (0–10, emoji, sparkline)

One-liner
Tiny last-bar badge that turns multi-TF momentum into a 0–10 “weather” score with emoji, a trend word, and a mini sparkline.
What it does
Shows a score (0–10) summarizing momentum across multiple timeframes.
Adds a friendly weather word + emoji and a trend label: Uptrend / Chop / Downtrend.
Draws a sparkline of recent scores (▁▂▃▄▅▆▇) so you can feel momentum improving or fading at a glance.
Designed as a lightweight overlay badge on the latest bar (moves as the bar updates).
How the score is built (default logic)
Weights add up and are capped at 10 (all thresholds are inputs):
RSI(1h) ≥ buy-ready → +3
RSI(4h) ≥ buy-ready → +2
Ramp A (5m) = RSI(2) − RSI(14) ≥ trigger → +2
Ramp B (15m) = RSI(2) − RSI(14) ≥ trigger → +2
MACD(1h) > signal & histogram > 0 → +1
MACD(4h) > signal & histogram > 0 → +1
Weather buckets
0–2 → Rainy 🌧️
>2–4 → Storm Clearing 🌫️
>4–6 → Clearing Skies ⛅
>6–8 → Sunny ☀️
>8–10 → Blue Sky 🌈
Trend word
Uptrend if RSI(1h) ≥ 55 and RSI(4h) ≥ 52 and MACD(1h or 4h) rising
Chop / Basing if RSI(1h) ≥ 45 or Ramp-B > 0
Downtrend otherwise
Inputs you can tweak
Timeframes for ramps (5m/15m) and higher-TF momentum (1h/4h)
RSI lengths (2 & 14), ramp triggers, “buy-ready” RSI levels
Emoji on/off, sparkline length, vertical gap from price
Alerts included
One alert per weather bucket so you can ping on Rainy, Sunny, Blue Sky, etc.
How to use
Treat it as context, not signals: it helps you quickly judge quality of wind behind your setups.
Pair with your own entry/exit rules, stops, and risk management.
On fast timeframes, watch the sparkline: a rising series of blocks often precedes better follow-through.
Notes & limitations
Uses MTF data; values finalize on higher-TF bar close. Intra-bar they can update (standard MTF behavior).
The badge shows on the latest bar only to stay unobtrusive.
Works on crypto, FX, stocks; thresholds may need tuning per asset/TF.
Credits
Built by @hacklenajee with GPT-5 Thinking (ChatGPT).
For education/research only. Not financial advice.
Tiny last-bar badge that turns multi-TF momentum into a 0–10 “weather” score with emoji, a trend word, and a mini sparkline.
What it does
Shows a score (0–10) summarizing momentum across multiple timeframes.
Adds a friendly weather word + emoji and a trend label: Uptrend / Chop / Downtrend.
Draws a sparkline of recent scores (▁▂▃▄▅▆▇) so you can feel momentum improving or fading at a glance.
Designed as a lightweight overlay badge on the latest bar (moves as the bar updates).
How the score is built (default logic)
Weights add up and are capped at 10 (all thresholds are inputs):
RSI(1h) ≥ buy-ready → +3
RSI(4h) ≥ buy-ready → +2
Ramp A (5m) = RSI(2) − RSI(14) ≥ trigger → +2
Ramp B (15m) = RSI(2) − RSI(14) ≥ trigger → +2
MACD(1h) > signal & histogram > 0 → +1
MACD(4h) > signal & histogram > 0 → +1
Weather buckets
0–2 → Rainy 🌧️
>2–4 → Storm Clearing 🌫️
>4–6 → Clearing Skies ⛅
>6–8 → Sunny ☀️
>8–10 → Blue Sky 🌈
Trend word
Uptrend if RSI(1h) ≥ 55 and RSI(4h) ≥ 52 and MACD(1h or 4h) rising
Chop / Basing if RSI(1h) ≥ 45 or Ramp-B > 0
Downtrend otherwise
Inputs you can tweak
Timeframes for ramps (5m/15m) and higher-TF momentum (1h/4h)
RSI lengths (2 & 14), ramp triggers, “buy-ready” RSI levels
Emoji on/off, sparkline length, vertical gap from price
Alerts included
One alert per weather bucket so you can ping on Rainy, Sunny, Blue Sky, etc.
How to use
Treat it as context, not signals: it helps you quickly judge quality of wind behind your setups.
Pair with your own entry/exit rules, stops, and risk management.
On fast timeframes, watch the sparkline: a rising series of blocks often precedes better follow-through.
Notes & limitations
Uses MTF data; values finalize on higher-TF bar close. Intra-bar they can update (standard MTF behavior).
The badge shows on the latest bar only to stay unobtrusive.
Works on crypto, FX, stocks; thresholds may need tuning per asset/TF.
Credits
Built by @hacklenajee with GPT-5 Thinking (ChatGPT).
For education/research only. Not financial advice.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน