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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.