PROTECTED SOURCE SCRIPT
MomentumQ Ratio Matrix

MomentumQ Ratio Matrix — Intermarket Risk & Sector Relationship Dashboard
The MomentumQ Ratio Matrix is a compact, on-chart dashboard designed to help traders quickly interpret intermarket relationships and sector leadership through key ETF ratios.
It visualizes the balance between risk-on vs. risk-off sentiment, growth vs. value rotation, and defensive vs. cyclical behavior — giving you an instant read of where capital is flowing in the U.S. market.
What It Does
The indicator compares weekly and daily percentage returns for five critical sector ETF pairs. Each pair represents a specific aspect of market structure or investor preference.
When a ratio is rising, it means the first sector is outperforming the second — signaling increased risk appetite or leadership from growth sectors.
When a ratio is falling, it indicates defensiveness, capital rotation, or weakening momentum in risk-oriented areas.
Examples:
Color-coded cells highlight each ratio’s short-term and medium-term performance:
Key Features
How to Use
When most ratios are green, the market generally favors growth and higher risk assets (risk-on).
When most are red, defensive sectors and value stocks tend to lead (risk-off).
Why It’s Valuable
Disclaimer
The MomentumQ Ratio Matrix is designed for educational and analytical purposes only.
It does not constitute financial advice or guarantee profitability.
Always conduct independent analysis and apply proper risk management when trading.
The MomentumQ Ratio Matrix is a compact, on-chart dashboard designed to help traders quickly interpret intermarket relationships and sector leadership through key ETF ratios.
It visualizes the balance between risk-on vs. risk-off sentiment, growth vs. value rotation, and defensive vs. cyclical behavior — giving you an instant read of where capital is flowing in the U.S. market.
What It Does
The indicator compares weekly and daily percentage returns for five critical sector ETF pairs. Each pair represents a specific aspect of market structure or investor preference.
When a ratio is rising, it means the first sector is outperforming the second — signaling increased risk appetite or leadership from growth sectors.
When a ratio is falling, it indicates defensiveness, capital rotation, or weakening momentum in risk-oriented areas.
Examples:
- XLY/XLP ↑ → Consumers are spending more on discretionary items (risk-on).
XLY/XLP ↓ → Money shifts into staples (risk-off, defensive tone). - XLK/XLF ↑ → Technology leads Financials (growth leadership).
XLK/XLF ↓ → Financials lead, signaling preference for value or cyclicals. - XLI/XLU ↑ → Industrials outperform Utilities (economic optimism).
XLI/XLU ↓ → Utilities outperform (defensive capital rotation). - XLE/XLB ↑ → Energy leading Materials (inflation or commodity strength).
XLE/XLB ↓ → Materials outperform (cooling inflationary trends). - XLV/XLU ↑ → Healthcare stronger than Utilities (mild defensiveness, but stable risk appetite).
XLV/XLU ↓ → Utilities lead (risk aversion, defensive positioning).
Color-coded cells highlight each ratio’s short-term and medium-term performance:
- Green → Ratio rising (risk-on, cyclical, or growth leadership).
- Red → Ratio falling (risk-off, defensive, or value rotation).
- Gray → Neutral performance.
Key Features
- Essential Ratio Coverage — Tracks the five most meaningful ETF ratios for intermarket and sentiment analysis.
- Multi-Timeframe Analysis — Displays both Weekly and Daily (or Previous Day) changes for each ratio.
- Adaptive Table Layout — Adjustable size, position, and decimal precision to fit any chart.
- Light / Dark Mode Support — Automatically adapts to match your TradingView theme.
- Performance-Based Coloring — Green for strength, red for weakness, and gray for neutral.
How to Use
- Add the indicator to any chart (symbol-independent).
- Choose your table position and size from the settings.
- Toggle between Today and PrevD mode for different time comparisons.
- Use the color-coded returns to gauge where capital is flowing.
- Watch for shifts across multiple ratios to confirm changing market regimes.
When most ratios are green, the market generally favors growth and higher risk assets (risk-on).
When most are red, defensive sectors and value stocks tend to lead (risk-off).
Why It’s Valuable
- Condenses intermarket and macro relationships into one visual dashboard.
- Helps identify leadership shifts between risk, growth, and defensive sectors.
- Provides a real-time snapshot of market sentiment without switching charts.
- Supports both short-term tactical and long-term trend confirmation.
Disclaimer
The MomentumQ Ratio Matrix is designed for educational and analytical purposes only.
It does not constitute financial advice or guarantee profitability.
Always conduct independent analysis and apply proper risk management when trading.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.