OPEN-SOURCE SCRIPT
更新済 QSX Crypto Regime Heatmap - AI Pattern Match | 10 Coins

QSX Crypto Regime Heatmap scores the trend health of 10 crypto assets on a
continuous 0-100 scale and renders them as a color-coded dashboard — so you
can read the health of the whole market in a single glance, without flipping
through 10 charts.
This is a market-overview dashboard, not a trading system. It answers one
question fast: which coins are in a strong regime right now, and which are
breaking down.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IT SHOWS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For each of the 10 assets, the table displays:
• Price — live price, auto-formatted for large caps and micro-caps
• 24h — daily change with ↑/↓ direction and green/red coloring
• Score — trend health, 0 (weakest) to 100 (strongest)
• Regime — a visual strength bar, red → yellow → green
• Match — AI Pattern Match confidence (explained below)
A Top 3 Strongest / Weakest panel sits at the bottom for an instant read on
where relative strength is concentrated.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE SCORE WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The 0-100 Trend Health score blends three continuous signals — not simple
binary above/below-MA flags:
1. Distance from the 200-period MA (how far price is extended)
2. Slope of the 200-period MA (how strong the underlying trend is)
3. Directional bias (which side of the MA price sits on)
A volatility-health component then rewards stable, orderly trends and
discounts high-volatility chop, using a rolling ATR percentile.
ADAPTIVE SCORING automatically adjusts the weight between trend and
volatility per coin, based on how persistent that coin's trend has been —
so trending assets and choppy assets are judged on their own terms.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AI PATTERN MATCH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The "Match" column uses a K-Nearest-Neighbors model. It builds a feature
vector from the current regime (trend, volatility, MA slope) and searches
each coin's own history for the most similar past setups, then reads what
happened next.
• High — historically similar regimes tended to resolve upward
• Mid — mixed / neutral historical outcome
• Low — historically similar regimes tended to resolve downward
• Wait — not enough history yet to form a reliable match
Pattern Match is a context signal, not a prediction. Treat it as "what has
this regime tended to lead to," never as a guarantee.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CUSTOMIZE YOUR WATCHLIST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4 fixed blue-chips (BTC, ETH, SOL, BNB) anchor the board.
6 fully customizable slots let you drop in any symbols you want — majors,
alts, or your current rotation. No waiting for an update to track a new coin.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Strong Breakout — any tracked coin crosses ABOVE score 70
• Weak Breakdown — any tracked coin crosses BELOW score 30
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
★ Best used on the 4H or 1D timeframe. This is a regime dashboard — its job
is to read the bigger picture, and higher timeframes give cleaner, more
stable scores.
★ On very low timeframes (1m–15m) the panel needs to pull deep history for
10 assets and will load noticeably slower. That is expected. If you want
a fast, stable board, stay on 4H / 1D.
★ Green cluster = broad strength, favor long-biased setups on your own
system. Red cluster = broad weakness, tighten risk.
★ Use the Top 3 panel to spot where relative strength is rotating.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES & LIMITATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• In broad bear phases, most scores will sit low together — that is a correct
reflection of the market, not a malfunction.
• The panel updates on the latest bar. Historical bars intentionally do not
render the table.
• Symbols default to BINANCE pairs; you can swap any slot to another exchange.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational and informational purposes only. It is not
financial advice, not a recommendation to buy or sell any asset, and not a
trading system. Scores, Pattern Match values, and alerts describe historical
and current market conditions — they do not predict future prices. Crypto
markets are highly volatile and you can lose money. Always do your own
research and manage your own risk. Past behavior of similar regimes does not
guarantee future results.
continuous 0-100 scale and renders them as a color-coded dashboard — so you
can read the health of the whole market in a single glance, without flipping
through 10 charts.
This is a market-overview dashboard, not a trading system. It answers one
question fast: which coins are in a strong regime right now, and which are
breaking down.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IT SHOWS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For each of the 10 assets, the table displays:
• Price — live price, auto-formatted for large caps and micro-caps
• 24h — daily change with ↑/↓ direction and green/red coloring
• Score — trend health, 0 (weakest) to 100 (strongest)
• Regime — a visual strength bar, red → yellow → green
• Match — AI Pattern Match confidence (explained below)
A Top 3 Strongest / Weakest panel sits at the bottom for an instant read on
where relative strength is concentrated.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW THE SCORE WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The 0-100 Trend Health score blends three continuous signals — not simple
binary above/below-MA flags:
1. Distance from the 200-period MA (how far price is extended)
2. Slope of the 200-period MA (how strong the underlying trend is)
3. Directional bias (which side of the MA price sits on)
A volatility-health component then rewards stable, orderly trends and
discounts high-volatility chop, using a rolling ATR percentile.
ADAPTIVE SCORING automatically adjusts the weight between trend and
volatility per coin, based on how persistent that coin's trend has been —
so trending assets and choppy assets are judged on their own terms.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
AI PATTERN MATCH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The "Match" column uses a K-Nearest-Neighbors model. It builds a feature
vector from the current regime (trend, volatility, MA slope) and searches
each coin's own history for the most similar past setups, then reads what
happened next.
• High — historically similar regimes tended to resolve upward
• Mid — mixed / neutral historical outcome
• Low — historically similar regimes tended to resolve downward
• Wait — not enough history yet to form a reliable match
Pattern Match is a context signal, not a prediction. Treat it as "what has
this regime tended to lead to," never as a guarantee.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CUSTOMIZE YOUR WATCHLIST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4 fixed blue-chips (BTC, ETH, SOL, BNB) anchor the board.
6 fully customizable slots let you drop in any symbols you want — majors,
alts, or your current rotation. No waiting for an update to track a new coin.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Strong Breakout — any tracked coin crosses ABOVE score 70
• Weak Breakdown — any tracked coin crosses BELOW score 30
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
★ Best used on the 4H or 1D timeframe. This is a regime dashboard — its job
is to read the bigger picture, and higher timeframes give cleaner, more
stable scores.
★ On very low timeframes (1m–15m) the panel needs to pull deep history for
10 assets and will load noticeably slower. That is expected. If you want
a fast, stable board, stay on 4H / 1D.
★ Green cluster = broad strength, favor long-biased setups on your own
system. Red cluster = broad weakness, tighten risk.
★ Use the Top 3 panel to spot where relative strength is rotating.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
NOTES & LIMITATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• In broad bear phases, most scores will sit low together — that is a correct
reflection of the market, not a malfunction.
• The panel updates on the latest bar. Historical bars intentionally do not
render the table.
• Symbols default to BINANCE pairs; you can swap any slot to another exchange.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational and informational purposes only. It is not
financial advice, not a recommendation to buy or sell any asset, and not a
trading system. Scores, Pattern Match values, and alerts describe historical
and current market conditions — they do not predict future prices. Crypto
markets are highly volatile and you can lose money. Always do your own
research and manage your own risk. Past behavior of similar regimes does not
guarantee future results.
リリースノート
Update v1.1- Fixed: Outlook column no longer stuck on "Wait" — historical pattern data now accumulates correctly across all bars.
- Renamed "Match" column to "Outlook" with clearer labels: Up / Flat / Down (was High / Mid / Low).
- Outlook now clearly reads as the historical directional tendency after similar regime patterns, separate from the current Score.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
📊 Crypto & Macro Quant Research
🛠️ Free Strategy Scorer: github.com/jianweiweng05/qsx-strategy-score
🌐 Advanced Overlays: quantscopex.com/tools
🔬 More Research: quantscopex.com/research
🛠️ Free Strategy Scorer: github.com/jianweiweng05/qsx-strategy-score
🌐 Advanced Overlays: quantscopex.com/tools
🔬 More Research: quantscopex.com/research
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
📊 Crypto & Macro Quant Research
🛠️ Free Strategy Scorer: github.com/jianweiweng05/qsx-strategy-score
🌐 Advanced Overlays: quantscopex.com/tools
🔬 More Research: quantscopex.com/research
🛠️ Free Strategy Scorer: github.com/jianweiweng05/qsx-strategy-score
🌐 Advanced Overlays: quantscopex.com/tools
🔬 More Research: quantscopex.com/research
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。