OPEN-SOURCE SCRIPT

Weather Score 420 — 6 Families × 6 Variants (v6)

28
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.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.