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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。