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

Weather Score 666 (WS666)
Multi-factor market “weather” meter that blends 6 families × 6 variants into a single score from 0 → 666.
What it measures (families, each scaled 0→111):
Trend: EMA fast/slow pairs + slope/stacking (structure & momentum agreement).
RSI: 6 lengths, normalized around the 40–60 balance zone.
Stochastic %K: 6 lengths, normalized 20–80 for rotation/mean-reversion context.
MACD (hist z-score): 6 classic parameter sets, volatility-adjusted by per-set stdev.
ADX strength: Wilder ADX across 6 lengths, favoring the 15–35 “power zone.”
ATR %: ATR vs its own percentile/range (expansion vs contraction).
Score & signals
Total = sum of 6 families (max 666). Mid ~330 is neutral; higher = more aligned tailwind.
GO / NO-GO alerts: fire when composite crosses your thresholds (default 80% / 20% of max).
Optional paint bars, a badge with per-family scores, and a mini table for quick diagnostics.
Why it’s robust
Every family uses 6 time-horizon variants, reducing single-setting bias.
Custom Wilder ADX and manual MACD avoid na/assignment quirks in Pine v6.
Works on any symbol/timeframe (intraday → higher-TF).
How to use
Add WS666, keep defaults to learn its rhythm on your market.
Tune GO/NO-GO for your instrument/timeframe.
Combine with structure (S/R, trendlines) for entries/exits; WS666 is a context/confirmation tool, not a standalone trade system.
Tip: Strong trends often show high Trend + ADX + MACD; emerging expansions show rising ATR %; choppy conditions show softer, mixed family scores.
Multi-factor market “weather” meter that blends 6 families × 6 variants into a single score from 0 → 666.
What it measures (families, each scaled 0→111):
Trend: EMA fast/slow pairs + slope/stacking (structure & momentum agreement).
RSI: 6 lengths, normalized around the 40–60 balance zone.
Stochastic %K: 6 lengths, normalized 20–80 for rotation/mean-reversion context.
MACD (hist z-score): 6 classic parameter sets, volatility-adjusted by per-set stdev.
ADX strength: Wilder ADX across 6 lengths, favoring the 15–35 “power zone.”
ATR %: ATR vs its own percentile/range (expansion vs contraction).
Score & signals
Total = sum of 6 families (max 666). Mid ~330 is neutral; higher = more aligned tailwind.
GO / NO-GO alerts: fire when composite crosses your thresholds (default 80% / 20% of max).
Optional paint bars, a badge with per-family scores, and a mini table for quick diagnostics.
Why it’s robust
Every family uses 6 time-horizon variants, reducing single-setting bias.
Custom Wilder ADX and manual MACD avoid na/assignment quirks in Pine v6.
Works on any symbol/timeframe (intraday → higher-TF).
How to use
Add WS666, keep defaults to learn its rhythm on your market.
Tune GO/NO-GO for your instrument/timeframe.
Combine with structure (S/R, trendlines) for entries/exits; WS666 is a context/confirmation tool, not a standalone trade system.
Tip: Strong trends often show high Trend + ADX + MACD; emerging expansions show rising ATR %; choppy conditions show softer, mixed family scores.
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.