OPEN-SOURCE SCRIPT
RTY Hard Rule Matrix

RTY Hard Rule Matrix v2.0 - Release Notes
Release Date: March 12, 2026
Purpose: Russell 2000 (RTY) Trading Indicator
───
🚀 What's New
Table Background Color 🆕
• Fully customizable table background
Table Position
• 9 positions: Top/Middle/Bottom × Left/Center/Right
Table Size
• Tiny, Small, Normal
Trend Text Toggle
• Switch between dots or text labels
───
🎯 The 4 Tickers (For RTY)
This indicator tracks 4 tickers that drive Russell 2000 direction:
| Ticker | What It Is | Why It Matters for RTY |
| ------ | -------------------- | ------------------------------------------------ |
| IWM | Russell 2000 ETF | The actual small-cap index — RTY's ETF twin |
| KRE | Regional Banking ETF | Credit conditions — banks = economy = small caps |
| HYG | High Yield Bond ETF | Risk sentiment — spreads widening = bad for RTY |
| SMH | Semiconductor ETF | Tech sector health — risk-on = small caps rally |───
🔑 How They Work Together
RTY is Driven By:
1. IWM (Russell 2000 ETF) — Direct proxy. When IWM strengthens vs SPY, small caps are leading.
2. KRE (Regional Banks) — Small caps are economically sensitive. If banks are strong (KRE up), economy = good = RTY = good.
3. HYG (High Yield Bonds) — Credit conditions. When HYG falls (spreads widen), risk-off = RTY gets hit hard.
4. SMH (Semiconductors) — Risk-on indicator. When semis rally, small caps typically outperform.
───
📊 Scoring for RTY
| Signal | IWM | KRE | HYG | SMH |
| ------- | ----- | ----- | ----- | ----- |
| Bullish | > PDH | > PDH | > PDH | > PDH |
| Bearish | < PDL | < PDL | < PDL | < PDL |Note: Unlike NQ matrix — ALL 4 tickers move WITH RTY (no inversions).
───
Matrix States for RTY
| Score | State | Meaning for RTY |
| ----- | --------- | ------------------------------------ |
| +3/+4 | 🟢 GREEN | All aligned — Strong small cap rally |
| +1/+2 | 🟡 YELLOW | Mixed — Reduced size |
| 0 | ⚫ BLACK | Neutral — No edge |
| -1/-2 | 🟣 PURPLE | Weakness building |
| -3/-4 | 🔴 RED | Risk-off — Small caps under pressure |───
🐛 Bug Fixes
• Fixed table border rendering
• Fixed VWAP calculation timing
───
⚠️ Disclaimer
Educational purposes only. Not financial advice. RTY is more volatile than NQ/ES — use smaller position sizes. Trade at your own risk.
Release Date: March 12, 2026
Purpose: Russell 2000 (RTY) Trading Indicator
───
🚀 What's New
Table Background Color 🆕
• Fully customizable table background
Table Position
• 9 positions: Top/Middle/Bottom × Left/Center/Right
Table Size
• Tiny, Small, Normal
Trend Text Toggle
• Switch between dots or text labels
───
🎯 The 4 Tickers (For RTY)
This indicator tracks 4 tickers that drive Russell 2000 direction:
| Ticker | What It Is | Why It Matters for RTY |
| ------ | -------------------- | ------------------------------------------------ |
| IWM | Russell 2000 ETF | The actual small-cap index — RTY's ETF twin |
| KRE | Regional Banking ETF | Credit conditions — banks = economy = small caps |
| HYG | High Yield Bond ETF | Risk sentiment — spreads widening = bad for RTY |
| SMH | Semiconductor ETF | Tech sector health — risk-on = small caps rally |───
🔑 How They Work Together
RTY is Driven By:
1. IWM (Russell 2000 ETF) — Direct proxy. When IWM strengthens vs SPY, small caps are leading.
2. KRE (Regional Banks) — Small caps are economically sensitive. If banks are strong (KRE up), economy = good = RTY = good.
3. HYG (High Yield Bonds) — Credit conditions. When HYG falls (spreads widen), risk-off = RTY gets hit hard.
4. SMH (Semiconductors) — Risk-on indicator. When semis rally, small caps typically outperform.
───
📊 Scoring for RTY
| Signal | IWM | KRE | HYG | SMH |
| ------- | ----- | ----- | ----- | ----- |
| Bullish | > PDH | > PDH | > PDH | > PDH |
| Bearish | < PDL | < PDL | < PDL | < PDL |Note: Unlike NQ matrix — ALL 4 tickers move WITH RTY (no inversions).
───
Matrix States for RTY
| Score | State | Meaning for RTY |
| ----- | --------- | ------------------------------------ |
| +3/+4 | 🟢 GREEN | All aligned — Strong small cap rally |
| +1/+2 | 🟡 YELLOW | Mixed — Reduced size |
| 0 | ⚫ BLACK | Neutral — No edge |
| -1/-2 | 🟣 PURPLE | Weakness building |
| -3/-4 | 🔴 RED | Risk-off — Small caps under pressure |───
🐛 Bug Fixes
• Fixed table border rendering
• Fixed VWAP calculation timing
───
⚠️ Disclaimer
Educational purposes only. Not financial advice. RTY is more volatile than NQ/ES — use smaller position sizes. Trade at your own risk.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.