OPEN-SOURCE SCRIPT
Weather Score 420 — 6 Families × 6 Variants (v6)

Weather Score 420 — 6 Families × 6 Variants (v6)
What it is
A multi-factor “market weather” meter built from six very important signal families. Each family uses 6 parameter variants, is normalized, and scaled to 0–70. Summed together you get a composite 0 → 420 readiness score with GO / NO-GO alerts, a badge, painted bars, and a mini table with notes.
Families (each scaled 0–70):
Trend (EMAs): Price vs fast/slow EMAs, stacking (fast>slow), and short/long slopes.
RSI: 6 lengths normalized around the 40–60 balance zone.
MACD (hist z-score): 6 classic sets; histogram standardized by its own stdev.
ADX strength: Wilder ADX across 6 lengths, favoring the 15–35 “power zone.”
ATR %: Current ATR vs its own min/max range (expansion vs contraction).
BB Width: Volatility via Bollinger Band width percentile.
Scoring
Each family builds 6 sub-scores (0–10 each) → scaled to 0–70.
Composite = sum of enabled families → 0–420 max.
Signals & visuals
GO ✅ when composite ≥ your threshold (default 80% of max).
NO-GO 🛑 when composite ≤ your threshold (default 20%).
Optional painted bars (soft lime/red).
Badge shows per-family scores + total; Mini Table adds color heat and short notes.
How to use
Add WS420, keep defaults for a few sessions to learn its rhythm.
Treat GO as “conditions favorable,” not an auto-entry—confirm with your own setup (structure, S/R, pullbacks).
Works on any symbol/timeframe (no volume dependency).
Tuning tips
Raise GO (e.g., 0.85–0.90) for stricter, higher-quality conditions; lower to ~0.70 for more frequency.
Trend-following? Watch Trend + ADX + MACD. Regime changes? Track ATR% + BB Width expansions.
RSI near 40/60 helps read mean-reversion vs momentum.
Why it’s robust
Multiple variants per family reduce single-setting bias.
Manual MACD + Wilder ADX; careful normalization for Pine v6 stability.
Works across crypto, FX, indices, equities—intraday to higher TF.
Notes
Needs some history to warm up the longest windows (≈ 300–500 bars recommended).
Educational tool only — not financial advice.
What it is
A multi-factor “market weather” meter built from six very important signal families. Each family uses 6 parameter variants, is normalized, and scaled to 0–70. Summed together you get a composite 0 → 420 readiness score with GO / NO-GO alerts, a badge, painted bars, and a mini table with notes.
Families (each scaled 0–70):
Trend (EMAs): Price vs fast/slow EMAs, stacking (fast>slow), and short/long slopes.
RSI: 6 lengths normalized around the 40–60 balance zone.
MACD (hist z-score): 6 classic sets; histogram standardized by its own stdev.
ADX strength: Wilder ADX across 6 lengths, favoring the 15–35 “power zone.”
ATR %: Current ATR vs its own min/max range (expansion vs contraction).
BB Width: Volatility via Bollinger Band width percentile.
Scoring
Each family builds 6 sub-scores (0–10 each) → scaled to 0–70.
Composite = sum of enabled families → 0–420 max.
Signals & visuals
GO ✅ when composite ≥ your threshold (default 80% of max).
NO-GO 🛑 when composite ≤ your threshold (default 20%).
Optional painted bars (soft lime/red).
Badge shows per-family scores + total; Mini Table adds color heat and short notes.
How to use
Add WS420, keep defaults for a few sessions to learn its rhythm.
Treat GO as “conditions favorable,” not an auto-entry—confirm with your own setup (structure, S/R, pullbacks).
Works on any symbol/timeframe (no volume dependency).
Tuning tips
Raise GO (e.g., 0.85–0.90) for stricter, higher-quality conditions; lower to ~0.70 for more frequency.
Trend-following? Watch Trend + ADX + MACD. Regime changes? Track ATR% + BB Width expansions.
RSI near 40/60 helps read mean-reversion vs momentum.
Why it’s robust
Multiple variants per family reduce single-setting bias.
Manual MACD + Wilder ADX; careful normalization for Pine v6 stability.
Works across crypto, FX, indices, equities—intraday to higher TF.
Notes
Needs some history to warm up the longest windows (≈ 300–500 bars recommended).
Educational tool 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.