Sector Rotation Map [ITA]See where institutional money is flowing across all 11 S&P sectors at a glance.
This indicator ranks every sector ETF (XLK, XLF, XLE, XLV, XLY, XLP, XLI, XLB, XLU, XLRE, XLC) by Relative Strength vs SPY and its momentum, then classifies each into one of four rotation states:
- Leading (strong + rising)
- Weakening (strong but fading)
- Lagging (weak + falling)
- Improving (weak but recovering)
Instead of flipping through 11 charts every morning, you get the full market rotation picture in one clean table.
Features:
- All 11 S&P sectors ranked automatically
- Relative Strength + Momentum, normalized around 100
- Four-state rotation classification, color-coded
- Configurable benchmark, lookbacks, table position and size
- Toggle any sector on/off
Feedback and suggestions welcome. Indicator

Watchlist Curator Stock RankerPick a sector — it scores ten of that sector's biggest names and ranks the top five leaders. A fast, honest starting point for your watchlist.
You've spotted the strong sector. Now — which stocks? Watchlist Curator takes one sector, scores ten of its biggest, most-traded names against the same yardstick, and hands you the top five in ranked order. That's a working watchlist in one look, instead of an hour of chart-flipping.
It works on its own — nothing else required.
Why a composite rank instead of raw relative strength?
Sorting a basket by relative strength alone hands you whatever ran the hardest — which is often the name that's most stretched and least enterable. The Curator's score starts with RS but lets the other components confirm or veto it: the trend stack rewards names in clean uptrends, the RSI sweet-spot deliberately down-ranks anything already overbought, and volume confirms real participation. The point of combining them is to surface leaders you can still enter — a different question than "what went up the most."
What it ranks — clearly said
Each of the 11 sectors carries a fixed basket of ten household-name bellwethers (Technology = AAPL, MSFT, NVDA, AVGO, CRM, AMD, ADBE, ORCL, CSCO, ACN — and so on for the rest). The Curator ranks *within that basket*. It doesn't scan every stock in the sector — it tells you which of the sector's big liquid names lead, which is where most swing traders should be looking anyway.
The Leadership Score (hover the Score header for this on the chart)
Relative strength vs SPY — the stock's % move minus SPY's over the lookback (20 bars by default). The backbone of the score.
Trend stack — up to +6: above the fast EMA, fast EMA above slow, above the slow EMA (+2 each).
RSI sweet spot — +3 only when RSI sits between 50 and 70: trending, but not overbought. This is deliberate — a red-hot name that's already stretched ranks lower on purpose, so the list points you at leaders you can still enter, not chases.
Volume — +2 for trading above its average.
The score is relative-strength % plus points — not a 0–100 scale. The Rating column translates it: 15+ Strong · 5–15 Good · 0–5 Fair · below 0 Lagging the market. The #1 row is highlighted in gold; a name whose data can't load shows "n/a".
How to use it
1. Find the leading sector — use whatever sector-strength read you trust.
2. Pick that sector in the dropdown.
3. Read the top five. Gold row = the current leader.
4. Those names are the charts worth your study time.
Settings — defaults work out of the box
Sector (dropdown, 11 choices) and timeframe (Daily by default — the ranking uses this timeframe no matter what chart you're on).
RS/momentum lookback (20), fast/slow EMA (20/50), RSI length (14).
Stocks to show (up to 5), table position, text size, dark/light theme, colors.
⚠ Educational tool for building a focused watchlist. It ranks relative strength — it does not give buy/sell signals or predict price. Not financial advice. Indicator

Sector SweeperRanks the 11 sectors and 12 key industries by performance — strongest at the top — so you know where to hunt before you pick a stock.
Strong stocks tend to come from strong groups. Sector Sweeper shows which sectors and industries are leading the market right now, ranked top to bottom on one clean board — so you start your search in the right place instead of guessing.
It works on its own — nothing else required.
How it measures — no black box
Each row pulls that ETF's closing prices and computes its percent change over your lookback window; the lists are then sorted strongest to weakest. No smoothing, no proprietary formula — the value is having all 23 groups measured by the same yardstick, on one board, updated every bar, instead of flipping through 23 charts to build the same picture by hand.
What it shows — two tables
•SECTORS — the 11 S&P sector ETFs (Technology, Financials, Energy, Health Care, …), ranked by performance over your lookback.
•SUB-INDUSTRIES — 12 sharper themes (Semiconductors, Software, Biotech, Oil Services, Gold Miners, Airlines, …), ranked the same way.
Each row shows the ETF and its % move over the lookback. Green = up, red = down, and the #1 in each list is highlighted in gold
How to read it
• Top of the list = where money is flowing. Bottom = what's lagging.
• Use it **top-down**: spot the strongest sector or industry here, then go find the leading stocks inside that group.
• Watch it over time — a group climbing the board is rotating into favor; one sliding down is falling out of it.
Settings — defaults work out of the box
• Lookback (bars ) — the performance window (20 by default ≈ about a month on a daily chart).
• Each table has its own position (default: Sectors = Middle Left, Sub-Industries = Middle Right) plus table size , dark/light theme, and colors.
⚠ Educational tool for market context and planning. It ranks performance — it does not give buy/sell signals or predict price. Not financial advice.
Indicator

Sector Rotation (Zeiierman)█ Overview
Sector Rotation (Zeiierman) is a relative strength rotation tool designed to compare multiple sectors against a selected benchmark and visualize how leadership shifts across the market over time.
Instead of viewing sector performance as isolated price charts, the script converts each sector into a normalized RS-Ratio and RS-Momentum reading, then plots them inside a four-quadrant rotation map.
The result is a clean visual framework for identifying which sectors are Leading, Weakening, Lagging, or Recovering relative to the broader market.
█ How It Works
⚪ Relative Strength Rotation Engine
Each sector is measured against a benchmark symbol, such as VTI or SPY, by dividing the sector’s price by the benchmark price.
ratio = sc / benchClose
This relative strength ratio is normalized into an RS-Ratio value centered around 100. A second momentum calculation measures the rate of change of that RS-Ratio and normalizes it into RS-Momentum, also centered around 100.
rsr = 100.0 + (ratio - basis) / sd
roc = rsr - rsr
rsm = 100.0 + (roc - mb) / msd
Together, these two values create the X and Y coordinates for each sector:
• RS-Ratio above 100 → relative strength is above average
• RS-Ratio below 100 → relative strength is below average
• RS-Momentum above 100 → relative momentum is improving
• RS-Momentum below 100 → relative momentum is weakening
⚪ Four-Quadrant Rotation Map
The chart is divided into four market rotation phases:
phase(float x, float y) =>
x >= 100 and y >= 100 ? "Leading" :
x < 100 and y >= 100 ? "Recovering" :
x < 100 and y < 100 ? "Lagging" :
"Weakening"
• Leading → strong relative strength and rising momentum
• Weakening → strong relative strength but falling momentum
• Lagging → weak relative strength and falling momentum
• Recovering → weak relative strength but improving momentum
This allows traders to quickly understand where each sector currently sits in the rotation cycle.
⚪ Sector Trails and Movement Directio n
Each sector keeps a synchronized historical trail of recent RS-Ratio and RS-Momentum points.
ax.unshift(x)
ay.unshift(y)
if ax.size() > tailLen
ax.pop()
ay.pop()
The newest point is displayed as the sector head marker, while older points form a fading tail behind it. This makes it easier to see not only where a sector is now, but also how it has been rotating over recent samples.
The table also shows each sector’s current heading, such as RS improving, RS weakening, momentum rising, or momentum falling.
dx = ax.get(0) - ax.get(1)
dy = ay.get(0) - ay.get(1)
⚪ Top-Ranked Sector Filtering
The script includes an optional ranking system that can display only the most important sector rotations.
Sectors can be ranked by:
• Fastest movement
• Movement toward Leading
• Movement toward Recovering
• Movement toward Lagging
• Movement toward Weakening
score(array ax, array ay) =>
rankMode == "Fastest movement"
? speed(ax, ay)
: target(ax, ay, rankMode)
When enabled, only the top-ranked sectors are shown on the chart and in the table, helping reduce clutter and focus attention on the most actionable rotations.
selected(int id, bool en) =>
en and (
not useRanking or
rankOf(id) <= topRankN
)
█ How to Use
⚪ Identify Sector Leadership
Look for sectors positioned in the Leading quadrant. These sectors have both strong relative strength and improving momentum compared to the benchmark. Sectors moving into Leading from Recovering can signal early leadership development.
⚪ Watch Weakening Sectors
Sectors in the Weakening quadrant still have above-average relative strength, but their momentum is declining. This can indicate that prior leaders are beginning to lose strength.
⚪ Track Recovering Rotations
Sectors in the Recovering quadrant have below-average relative strength but improving momentum. These areas may represent early rotation opportunities before relative strength fully turns positive.
⚪ Avoid or Monitor Lagging Sectors
Sectors in the Lagging quadrant show both weak relative strength and weak momentum. These sectors are typically underperforming the benchmark and may remain weak until momentum begins to improve.
⚪ Example: Ranked by Fastest Movement
In this example, the ranking mode is set to Fastest Movement with Only Show Top Ranked enabled and Top X = 5.
The indicator measures how quickly each sector is moving through the rotation cycle by comparing the change in its RS-Ratio and RS-Momentum values between samples. Sectors with the largest movement are ranked highest and displayed on the chart.
As a result, only the five sectors showing the strongest relative movement are visible. In this case, all five sectors are positioned inside the Recovering quadrant, indicating that relative momentum has turned positive while relative strength remains slightly below average.
The upward and rightward trajectory of the trails suggests these sectors are improving versus the benchmark and may continue rotating toward the Leading quadrant if current momentum persists.
⚪ Example: Top 5 Sectors Ranked Toward Leading
In this example, the ranking mode is set to Toward Leading with Only Show Top Ranked enabled and Top X = 5.
Rather than ranking sectors by raw speed, the indicator prioritizes sectors moving most directly toward the Leading quadrant, where both relative strength and relative momentum are above the 100 baseline.
Technology currently holds the highest rank, as it has already entered the Leading quadrant with both RS-Ratio and RS-Momentum above 100. Its trail shows a strong and sustained rotation from weaker relative conditions into market leadership, making it the strongest candidate according to the selected ranking method.
Discretionary and Financials are positioned inside the Recovering quadrant. Although they have not yet reached leadership status, their improving momentum and trajectory toward the upper-right portion of the chart suggest continued relative improvement versus the benchmark.
Meanwhile, Staples and Real Estate remain in the Lagging quadrant. However, they are still included in the ranking because their recent movement is directed toward the Leading quadrant, indicating potential early-stage rotation despite their current relative weakness.
This ranking mode is particularly useful for identifying sectors that are not necessarily the strongest today, but are showing the most meaningful progress toward future leadership. By focusing on directional rotation rather than speed alone, traders can often spot emerging leaders before they fully establish themselves in the Leading quadrant.
⚪ Example: Top 5 Sectors Ranked Toward Recovering
In this example, the ranking mode is set to Toward Recovering with Only Show Top Ranked enabled and Top X = 5.
This ranking method prioritizes sectors moving most directly toward the Recovering quadrant, where relative strength remains below average but relative momentum is improving. The goal is to identify sectors that may be emerging from periods of relative underperformance and beginning a new rotation cycle.
Communication Services holds the highest rank in this example. Its trail shows a strong upward movement from the Lagging quadrant into Recovering, indicating a significant improvement in relative momentum while still trading below the relative strength baseline.
Consumer Staples and Real Estate also display characteristics of sectors transitioning toward recovery. Their recent movement suggests momentum is improving despite their relative strength remaining below average.
Technology appears in the Leading quadrant, while Energy remains in Lagging. Although they occupy different quadrants, both are included because their recent directional movement aligns with the path toward the Recovering quadrant based on the ranking algorithm.
This ranking mode is particularly useful for traders seeking early rotation opportunities. Rather than focusing on sectors that are already leading, it highlights areas of the market where momentum is beginning to improve and where relative strength may eventually follow if the recovery continues.
⚪ Example: Top 5 Sectors Ranked Toward Lagging
In this example, the ranking mode is set to Toward Lagging with Only Show Top Ranked enabled and Top X = 5.
This ranking method prioritizes sectors moving most directly toward the Lagging quadrant, where both relative strength and relative momentum fall below the 100 baseline. It helps identify sectors that are losing leadership, weakening relative to the benchmark, or entering periods of sustained underperformance.
Technology and Health Care are currently positioned inside the Weakening quadrant. Both sectors still maintain above-average relative strength, but their declining momentum suggests they are rotating away from leadership and moving closer toward Lagging conditions.
Meanwhile, Staples, Utilities, and Real Estate remain within the Recovering quadrant. Although momentum is still positive, their relative strength remains below average. Their inclusion in the ranking reflects the direction of their recent movement rather than their current location, indicating they are rotating toward weaker relative conditions.
The trails highlight this transition clearly, with several sectors showing movement away from stronger quadrants and toward areas associated with declining performance.
This ranking mode is useful for identifying sectors that may be losing institutional sponsorship, weakening relative to the broader market, or approaching the later stages of the relative strength cycle. Traders can use it to spot deteriorating leadership and monitor sectors that may continue underperforming if current trends persist.
⚪ Example: Top 5 Sectors Ranked Toward Weakening
In this example, the ranking mode is set to Toward Weakening with Only Show Top Ranked enabled and Top X = 5.
This ranking method prioritizes sectors moving most directly toward the Weakening quadrant, where relative strength remains above average but relative momentum has begun to deteriorate. These sectors often represent former leaders that are losing momentum before potentially transitioning into the Lagging quadrant.
Technology holds the highest rank in this example. While its relative strength remains above the 100 baseline, its momentum has fallen below 100, placing it firmly inside the Weakening quadrant. Its recent trail illustrates a loss of momentum despite previously strong relative performance, making it a textbook example of a sector rotating away from leadership.
Health Care remains in the Leading quadrant but is also ranked highly because its recent movement is directed toward Weakening. Although it continues to outperform the benchmark, the decline in momentum suggests its leadership position may be starting to fade.
Materials is already positioned within the Weakening quadrant, while Energy and Real Estate remain in Recovering. Their inclusion reflects the direction of their recent movement rather than their current location, indicating they are rotating toward conditions associated with weakening relative performance.
This ranking mode is useful for identifying sectors that may be nearing the end of their leadership cycle. Traders often monitor these sectors for signs of continued momentum deterioration, profit-taking activity, or a potential transition into the Lagging quadrant if relative strength begins to weaken further.
█ Settings
Benchmark: Selects the symbol each sector is compared against.
Calculation Timeframe: Defines the timeframe used for all relative strength and momentum calculations.
RS-Ratio Lookback: Controls the normalization period for relative strength.
RS-Momentum Lookback: Controls how quickly momentum responds to changes in RS-Ratio.
Tail Length: Sets how many historical samples are shown behind each sector.
Sample Every N Bars: Controls how frequently new trail points are recorded.
Show Sector Table: Shows or hides the summary table with phase, heading, RS, and momentum values.
Only Show Top Ranked: Enables filtering so only the strongest ranked sectors are displayed.
Top X: Defines how many ranked sectors remain visible.
Rank By: Selects how sectors are ranked, either by speed or movement toward a selected quadrant.
Sector Inputs: Allows each sector to be enabled, disabled, customized, or replaced with another symbol.
Canvas Width: Controls the horizontal size of the rotation map.
Canvas Height: Controls the vertical size of the rotation map.
Symmetric Bounds Around 100: Keeps the chart balanced around the 100 baseline.
Minimum Axis Span: Prevents small movements from being visually exaggerated.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Crypto Sector Rotation Radar Pro | Altseason & Memecoin TrackerA live cross-sectional ranking of 7 crypto sectors that answers a question every alt and memecoin trader asks: where is capital actually flowing right now?
Most existing sector-rotation visualizations on PulseWire normalize each sector independently against its own historical range. That approach has a fundamental flaw — when one sector reads "80" and another reads "70," those numbers are not comparable to each other, because each one is relative to its own past, not to the other sectors. You cannot rank sectors that way.
This script does it differently. Every sector's momentum is measured against the same benchmark — TOTAL crypto market cap — so the resulting scores are directly comparable. Then sectors are ranked #1 through #7 in real time. The output is a single dashboard table that tells you, at a glance, which sectors are leading, which are lagging, and which are accelerating or fading.
▸ WHAT IT DOES
For each of 7 crypto sectors, the script:
1. Computes the sector-cap-to-TOTAL ratio
2. Measures rate-of-change of that ratio across three windows (default: 7, 14, 30 bars)
3. Blends the three windows by user-configurable weights into a single raw RS reading
4. Cross-sectionally ranks all 7 sectors against each other (#1 strongest, #7 weakest)
5. Converts rank to a 0–100 RS Score (rank 1 → 100, rank 4 → 50, rank 7 → 0)
6. Tracks rank change over 3 and 7 bars to surface acceleration and rotation
7. Classifies each sector's flow as IN, OUT, or NEU based on rank and momentum
All of this is rendered in a sortable dashboard table, with optional smoothed RS lines plotted below for historical pattern context.
▸ SECTORS TRACKED
• 🚀 Memecoins (CRYPTOCAP:MEME.C)
• Ξ Ethereum Eco (CRYPTOCAP:ETHEREUM.C)
• 🏛 RWA (CRYPTOCAP:RWA.C)
• 🤖 AI (CRYPTOCAP:AI.C)
• ◎ Solana Eco (CRYPTOCAP:SOLANA.C)
• 🏢 Exchange Tokens (CRYPTOCAP:EXCHANGES.C)
• 🏦 DeFi (CRYPTOCAP:TOTALDEFI)
The benchmark for all RS calculations is CRYPTOCAP:TOTAL.
▸ HOW TO READ THE TABLE
Each row shows one sector with six columns:
• SECTOR — emoji and name
• RANK — current cross-sectional rank (#1 = strongest, #7 = weakest)
• RS — 0–100 score derived from rank
• Δ3D — rank change over the last 3 bars, with a heat badge (🔥 ▲ ↗ · ↘ ▼ ❄️)
• Δ7D — rank change over the last 7 bars
• FLOW — IN (top 3 + positive momentum), OUT (bottom 3 + negative momentum), NEU (mixed)
A footer row summarizes the regime in plain language:
• 🔥 Memes in Top 2 — Meme Rotation
• ⚠️ Risk-Off Regime — defensive sectors leading while risk-on lagging
• ❄️ Memes in Bottom 2 — sector weak
• Mixed Rotation — no clear leader pattern
The memecoin row is highlighted by default to make it stand out at a glance for memecoin-focused traders. This can be toggled off in settings.
▸ HOW TO READ THE LINES
Below the table, each sector's RS Score is plotted as a smoothed line using EMA smoothing (default: 5 bars). Because the raw RS Score takes only 7 discrete values (rank-derived), a small amount of smoothing turns step-function jumps into readable curves while preserving the cross-sectional comparability.
• Lines above 83 = sector is currently in top 2 by RS
• Lines below 17 = sector is currently in bottom 2 by RS
• Lines crossing through the middle band = active rotation in or out
• Multiple lines bunched together = no clear sector leadership
Smoothing length is user-adjustable. Set to 1 for raw stepped lines.
▸ INPUT SETTINGS
Calculation:
• Calculation Timeframe — default Daily, locked regardless of chart TF
• Short / Medium / Long Window — three momentum lookbacks (default 7, 14, 30 bars)
• Three weight inputs to blend the windows (default 40 / 35 / 25 %)
Display:
• Toggle the dashboard table
• Choose table position and size
• Toggle the memecoin row highlight
• Toggle the RS score lines
• Adjust line smoothing (EMA length)
Colors — all six dashboard color states are individually configurable.
▸ BUILT-IN ALERTS
The script defines 17 alert conditions, available through PulseWire's standard Add Alert dialog:
Per-sector surges (rank improved by 2+ over 3 bars):
• 🚀 MEME surged
• Ξ Ethereum surged
• 🏛 RWA surged
• 🤖 AI surged
• ◎ Solana surged
• 🏢 Exchange surged
• 🏦 DeFi surged
Per-sector drops (rank declined by 2+ over 3 bars):
• same 7 sectors, mirrored
Memecoin-specific:
• 🔥 MEMES entered Top 2
• ❄️ MEMES dropped to Bottom 2
Regime:
• ⚠️ Risk-Off Regime — defensives leading, risk-on lagging
▸ HOW TO USE IT
The script pulls all of its data from CRYPTOCAP indices via request.security, so the chart symbol does not affect the calculation. Putting it on CRYPTOCAP:TOTAL on the Daily timeframe gives the cleanest macro context, but the radar will work identically on any chart.
Default timeframe is Daily, which is appropriate for sector-rotation analysis. Higher-timeframe rotations are typically slower-moving signals; lower timeframes will produce noisier rankings.
▸ LIMITATIONS AND HONEST CAVEATS
• This is a contextual / regime tool, not a predictive one. The radar tells you the current state of cross-sector capital flow. It does not predict which sector will lead next.
• Rank is a relative measure. A sector at rank #1 with weak absolute momentum is still rank #1 — but the broader market may be in a downtrend. Pair this with absolute price/cap context.
• When two or more sectors have very similar momentum, ranks can flip frequently. The Δ3D and Δ7D columns help filter noise from real rotation.
• Sector definitions follow PulseWire's CRYPTOCAP indices, which themselves are subject to PulseWire's classification logic. If a token is reclassified, all sectors will reflect that change.
• RS Score is derived from rank, so it can only take 7 discrete values (0, 16.7, 33.3, 50, 66.7, 83.3, 100). The smoothing on the plotted lines is purely cosmetic; the table values are exact.
▸ TECHNICAL NOTES
• Pine Script v6
• Open-source under the Mozilla Public License 2.0
• Uses 8 request.security calls (well below the 40-call limit), all to official CRYPTOCAP indices
• No repainting — all calculations use confirmed bar close values from the requested timeframe
• Designed to coexist with other indicators on the same chart
▸ DISCLAIMER
For educational and informational purposes only. This script is a market analysis tool, not financial advice. Nothing here constitutes a recommendation to buy or sell any asset. Past behavior of the radar in historical data is not a guarantee of future behavior. Cryptocurrency markets are highly volatile and can result in substantial losses. Always do your own research and trade with risk you can afford to lose.
Indicator

A1 Value Turn Triple Mode v2.3 (Swing + Crypto)# A1 Value Turn Triple Mode v2.3 — Swing + Crypto
## Overview
The A1 Value Turn is a multi-layer confluence indicator designed to identify high-probability mean reversion entries on quality stocks and crypto assets that have pulled back significantly from their 52-week highs. It combines value band detection, moving average proximity, RSI momentum, volume confirmation, sector rotation, and IV rank filtering into a single signal system with a built-in 3-leg exit ladder.
Built for swing traders and options traders targeting 60–90 DTE calls or verticals on A-grade companies trading at a discount.
---
## How It Works
### 4-Layer Signal Gate
A full signal only fires when ALL four conditions align:
1. **Value Band** — Price is 40–60% (or 60–80% in Deep mode) below its 52-week high
2. **MA Proximity** — Price is within a configurable % of the 200-period SMA
3. **RSI Turn** — RSI is within the mode-specific range AND curling upward from the prior bar
4. **Volume Surge** — Current volume is at least 1.3x the 20-day average
Plus two optional confirmation layers:
- **Sector ETF confirmation** — The selected sector ETF RSI is also curling up and price is above its 50 MA
- **IV Rank filter** — Historical volatility rank is below your threshold, ensuring you are not overpaying for options premium
---
## Three Modes
| Mode | Value Band | RSI Range | Vol Mult | Target 1 |
|---|---|---|---|---|
| 40–60% off High (Swing) | 40–60% below 52W high | 40–70 | 1.3x | +20% |
| 60–80% off High (Deep) | 60–80% below 52W high | 35–70 | 1.3x | +35% |
| Crypto-Linked | Any | 25–75 | 1.1x | +50% |
---
## 3-Leg Exit Ladder
Every signal automatically calculates three exit targets with live R:R ratios:
- **Target 1** — Mode-specific % gain from entry (scale out 1/3)
- **Target 2** — 2x Target 1 (scale out 1/3)
- **Target 3** — The actual 52-week high (full recovery, scale out final 1/3)
Each target plots as a dashed horizontal line anchored to the signal bar. The ATR-based stop loss plots simultaneously so you know your risk before you enter.
---
## Signal States on the Chart
| Shape | Color | Meaning |
|---|---|---|
| Large triangle below bar | Mode color (aqua/orange/purple) | All layers confirmed — entry signal |
| Small triangle below bar | Faded orange | Stock + sector ready, IV rank too high — wait |
| Small triangle below bar | Faded gray | Stock + IV ready, sector not confirmed — wait |
| Gold circle above bar | Yellow | Bullish RSI divergence confluence bonus |
| Bar background tint | Mode color | Full signal bar highlight |
---
## Signal Label
Each confirmed signal prints a label showing:
- Entry price
- Target 1, 2, and 3 with % gain and R:R ratio per leg
- ATR stop loss price
- HV Rank % and current VIX reading
- Sector ETF RSI
- % off 52-week high, RSI, and volume ratio
---
## IV Rank Filter (New in v2.3)
Since PulseWire does not provide live options IV data in Pine Script, this indicator uses Historical Volatility Rank — the annualized standard deviation of daily log returns measured against its own 52-week high and low range. HV Rank and IV move together closely enough that HV Rank is the standard professional proxy used in Pine-based systems.
A separate VIX macro threshold adds a second layer — if the market fear index is above your set level, signals are suppressed regardless of individual stock HV.
When IV is too high, a pending orange triangle fires with a label showing exactly what threshold to wait for.
---
## Inputs
### Core Settings
- Lookback for 52W High (bars)
- Long MA Length
- RSI Length
- Max % Distance from MA
- Mode selection
### Display
- Show/hide table, labels, stop line, Target 2, Target 3
- ATR Length and Multiplier for stop calculation
### IV Rank Filter
- Enable/disable IV filter
- Max HV Rank % (default 50)
- Enable/disable VIX threshold
- Max VIX level (default 25)
### Sector Rotation
- Enable/disable sector confirmation
- Sector ETF ticker (XLK, XLV, XLF, XLY, etc.)
- Sector ETF MA length
---
## Alerts
Four alert conditions built in:
1. **Full Signal** — All layers confirmed, ready to enter
2. **Pending IV** — Stock and sector ready, waiting for IV to cool
3. **Pending Sector** — Stock and IV ready, waiting for sector confirmation
4. **Max Confluence** — Full signal AND bullish RSI divergence
---
## Recommended Use
1. Run a Finviz scan each morning filtering for large caps 40–80% off their 52-week high with above-average volume
2. Open each candidate in PulseWire with this indicator applied
3. Set your sector ETF to match the stock's sector
4. Wait for a full signal (large colored triangle)
5. Use the label to size your 60–90 DTE options position using the printed R:R ratios
6. Scale out 1/3 at each target
Best results on daily timeframe. Works on weekly for longer-horizon setups.
---
## Notes
- This indicator is for educational and informational purposes
- Past signals do not guarantee future results
- Always use proper position sizing and risk management
- HV Rank is a proxy for IV, not actual options implied volatility
---
*Built by MOR Trading Systems* Indicator

Indicator

Indian Equities Theme Tracker [EWT] - Sector Rotation HeatmapIdentify where the "Smart Money" is flowing in the Indian Markets.
The Indian Equities Theme Tracker is a powerful visual dashboard designed for NSE traders and investors to monitor sector rotation and relative strength in real-time. By tracking the most liquid Exchange Traded Funds (ETFs), this tool provides a birds-eye view of the Indian economy—from core benchmarks like Nifty 50 and Nifty 500 to high-growth themes like Defence, EV, Tourism, and Energy.
In modern markets, capital doesn't move into all stocks at once; it rotates between sectors. This script helps you spot the leaders and laggards across five different timeframes, ensuring you are always positioned in the strongest themes.
🚀 Key Features :
23+ Essential Themes: Tracks Broad Market, Market Caps (Mid/Small), Sectors (IT, Bank, Auto, Metal), and Narratives (Defence, Tourism, EV, Energy).
Dynamic Performance Sorting: Automatically reorders the table based on your selected lookback (1 Day, 1 Week, 1 Month, 3 Months, or YTD).
Heatmap Logic: Intuitive color coding helps you instantly identify extreme bullishness or bearishness across the board.
Liquidity Focused: Uses the most liquid NSE ETFs (BeES and equivalent) to ensure the data is accurate and reflects tradeable prices.
Pro UI Design: A clean, professional dashboard that can be positioned anywhere on your chart without cluttering your price action analysis.
📊 Themes Included :
Benchmarks: Nifty 500, Nifty 50, Nifty Next 50.
Market Caps: Midcap 150, Smallcap 250.
Sectors: Private & PSU Banks, IT, Pharma, Healthcare, FMCG, Auto, Metals, Infra, Realty.
Thematic/Narratives: Defence, Tourism, Energy, EV & New Age Automotive, Consumption.
Safe Havens: Gold & Silver.
🛠️ How to use :
Timeframe: Switch to the Daily (D) timeframe for the best results.
Settings: Use the inputs to change the table position (Top/Middle/Bottom) and the sorting criteria.
Strategy: Look for themes that are consistently at the top of the "1 Month" and "3 Month" lists—these are your structural leaders. Use "1 Day" to spot quick tactical bounces.
Disclaimer: This indicator is for educational and informational purposes only and does not constitute financial advice. Always perform your own due diligence. Indicator

63-Day Sector Relative Strength vs NIFTYThis script calculates and displays the 63-day returns of major NSE sectoral indices and their relative strength versus the NIFTY 50.
It,
Covered Indices: CNXIT, CNXAUTO, CNXFMCG, CNXPHARMA, CNXENERGY, CNXMETAL, CNXPSUBANK, CNXINFRA, CNXREALTY, CNXFINANCE, CNXMEDIA, BANKNIFTY, CNXCONSUMPTION, CNXCOMMODITIES
How to use this: Quickly identify which sectors are outperforming or underperforming relative to the NIFTY over the past 63 trading sessions (approx. 3 months). Indicator

Sector Rotation & Money Flow Dashboard📊 Overview
The Sector Rotation & Money Flow Dashboard is a comprehensive market analysis tool that tracks 39 major sector ETFs in real-time, providing institutional-grade insights into sector rotation, momentum shifts, and money flow patterns. This indicator helps traders identify which sectors are attracting capital, which are losing favor, and where the next opportunities might emerge.
Perfect for swing traders, position traders, and investors who want to stay ahead of sector rotation and ride the strongest trends while avoiding weak sectors.
🎯 What This Indicator Does
Tracks 39 Major Sectors: From technology to utilities, cryptocurrencies to commodities
Calculates Multiple Timeframes: 1-week, 1-month, 3-month, and 6-month performance
Advanced Momentum Metrics: Proprietary momentum score and acceleration calculations
Relative Strength Analysis: Compare sector performance against any benchmark index
Money Flow Signals: Visual indicators showing where institutional money is moving
Smart Filtering: Pre-built strategy filters for different trading styles
Trend Detection: Emoji-based visual system for quick trend identification
💡 Key Features
1. Performance Metrics
Multiple timeframe analysis (1W, 1M, 3M, 6M)
Month-over-month change tracking
Relative strength vs benchmark index
2. Advanced Analytics
Momentum Score: Weighted composite of recent performance
Acceleration: Rate of change in momentum (second derivative)
Money Flow Signals: IN/OUT/TURN/WATCH indicators
3. Strategy Preset Filters
🎯 Swing Trade: High momentum opportunities
📈 Trend Follow: Established uptrends
🔄 Mean Reversion: Oversold bounce candidates
💎 Value Hunt: Deep value opportunities
🚀 Breakout: Emerging strength
⚠️ Risk Off: Sectors to avoid
4. Customization
All 39 sector ETFs can be customized
Adjustable benchmark index
Flexible display options
Multiple sorting methods
📋 Settings Documentation
Display Settings
Show Table (Default: On)
Toggles the entire dashboard display
Table Position (Default: Middle Center)
Choose from 9 positions on your chart
Options: Top/Middle/Bottom × Left/Center/Right
Rows to Show (Default: 15)
Number of sectors displayed (5-40)
Useful for focusing on top/bottom performers
Sort By (Default: Momentum)
1M/3M/6M: Sort by specific timeframe performance
Momentum: Weighted recent performance score
Acceleration: Rate of momentum change
1M Change: Month-over-month improvement
RS: Relative strength vs benchmark
Flow: IN First: Prioritize sectors with inflows
Flow: TURN First: Focus on reversal candidates
Recovery Plays: Oversold sectors recovering
Oversold Bounce: Deepest declines with positive signs
Top Gainers/Losers 3M: Best/worst quarterly performers
Best Acc + Mom: Combined strength score
Worst Acc (Topping): Sectors losing momentum
Filter Settings
Strategy Preset Filter (Default: All)
All: No filtering
🎯 Swing Trade: Mom >5, Acc >2, Money flowing in
📈 Trend Follow: Positive 1M & 3M, RS >0
🔄 Mean Reversion: Oversold but improving
💎 Value Hunt: Down >10% with recovery signs
🚀 Breakout: Rapid momentum surge
⚠️ Risk Off: Declining or topping sectors
Custom Flow Filter: Use manual flow filter
Custom Flow Signal Filter (Default: All)
Only active when Strategy Preset = "Custom Flow Filter"
IN Only: Strong inflows
TURN Only: Reversal signals
WATCH Only: Recovery candidates
OUT Only: Outflow sectors
Active Flows Only: Any non-neutral signal
Hide Low Volume ETFs (Default: Off)
Filters out illiquid sectors (future enhancement)
Visual Settings
Show Trend Emojis (Default: On)
🚀 Breakout (Strong 1M + High Acceleration)
🔥 Hot Recovery (From -10% to positive)
💪 Steady Uptrend (All timeframes positive)
➡️ Sideways/Ranging
⚠️ Warning/Topping (Up >15%, now slowing)
📉 Falling (Negative + declining)
🔄 Bottoming (Improving from lows)
Compact Mode (Default: Off)
Removes decimals for cleaner display
Useful when showing many rows
Min Data Points Required (Default: 3)
Minimum data points needed to display a sector
Prevents showing sectors with insufficient data
Relative Strength Settings
RS Benchmark Index (Default: AMEX:SPY)
Index to compare all sectors against
Can use SPY, QQQ, IWM, or any other index
RS Period (Days) (Default: 21)
Lookback period for RS calculation
21 days = 1 month, 63 days = 3 months, etc.
Sector ETF Settings (Groups 1-39)
Each sector has two inputs:
Symbol: The ticker (e.g., "AMEX:XLF")
Name: Display name (e.g., "Financials")
All 39 sectors can be customized to track different ETFs or markets.
📈 Column Explanations
Sector: ETF name/description
1M%: 1-month (21-day) performance
3M%: 3-month (63-day) performance
6M%: 6-month (126-day) performance
Mom: Momentum score (weighted average, recent-biased)
Acc: Acceleration (momentum rate of change)
Δ1M: Month-over-month change
RS: Relative strength vs benchmark
Flow: Money flow signal
↗️ IN: Strong inflows
🔄 TURN: Potential reversal
👀 WATCH: Recovery candidate
↘️ OUT: Outflows
—: Neutral
🎮 Usage Tips
For Swing Traders (3-14 days)
Use "🎯 Swing Trade" filter
Sort by "Acceleration" or "Momentum"
Look for Flow = "IN" and Mom >10
Confirm with positive RS
For Position Traders (2-8 weeks)
Use "📈 Trend Follow" filter
Sort by "RS" or "Best Acc + Mom"
Focus on consistent green across timeframes
Ensure RS >3 for market leaders
For Value Investors
Use "💎 Value Hunt" filter
Sort by "Recovery Plays" or "Top Losers 3M"
Look for improving Δ1M
Check for "WATCH" or "TURN" signals
For Risk Management
Regularly check "⚠️ Risk Off" filter
Sort by "Worst Acc (Topping)"
Review holdings for ⚠️ warning emojis
Exit sectors showing "OUT" flow
Market Regime Recognition
Bull Market: Many sectors showing "IN" flow, positive RS
Bear Market: Widespread "OUT" flows, negative RS
Rotation: Mixed flows, some "IN" while others "OUT"
Recovery: Multiple "TURN" and "WATCH" signals
🔧 Pro Tips
Combine Filters + Sorting: Filter first to narrow candidates, then sort to prioritize
Multi-Timeframe Confirmation: Best setups show alignment across 1M, 3M, and momentum
RS is Key: Sectors outperforming SPY (RS >0) tend to continue outperforming
Acceleration Matters: Positive acceleration often precedes price breakouts
Flow Transitions: "WATCH" → "TURN" → "IN" progression identifies new trends early
Regular Scans:
Daily: Check "Acceleration" sort
Weekly: Review "1M Change"
Monthly: Analyze "RS" shifts
Divergence Signals:
Price up but Acceleration down = Potential top
Price down but Acceleration up = Potential bottom
Sector Pairs Trading: Long sectors with "IN" flow, short sectors with "OUT" flow
⚠️ Important Notes
This indicator makes 40 security requests (maximum allowed)
Best used on Daily timeframe
Data updates in real-time during market hours
Some ETFs may show "—" if data is unavailable
🎯 Common Strategies
"Follow the Flow"
Only trade sectors showing "IN" flow with positive RS
"Rotation Catcher"
Focus on "TURN" signals in sectors down >15% from highs
"Momentum Rider"
Trade top 3 sectors by Momentum score, exit when Acceleration turns negative
"Mean Reversion"
Buy sectors in bottom 20% by 3M performance when Δ1M improves
"Relative Strength Leader"
Maintain positions only in sectors with RS >5
Not financial advice - always do additional research Indicator

Indicator

Indicator

Multi-Sector Trend AnalysisThis script, titled "Multi-Sector Trend Analysis: Track Sector Momentum and Trends," is designed to assist traders and investors in monitoring multiple sectors of the stock market simultaneously. It leverages technical analysis by incorporating trend detection and momentum indicators like moving averages and the Relative Strength Index (RSI) to offer insights into the price action of various market sectors.
Core Features:
1. Sector-Based Analysis: The script covers 20 major sectors from the NSE (National Stock Exchange) such as Auto, Banking, Energy, FMCG, IT, Pharma, and others. Users can customize which sectors they wish to analyze using the available input fields.
Technical Indicators: The script uses two core technical indicators to detect trends and momentum:
2. Moving Averages: The script calculates both fast and slow exponential moving averages (EMAs). These are critical for identifying short- and long-term price trends and crossovers, helping detect shifts in momentum.
3. Relative Strength Index (RSI): A well-known momentum indicator that shows whether a stock is overbought or oversold. This script uses a 14-period RSI to gauge the strength of each sector.
4. Trend Detection: The script identifies whether the current market trend is "Up" or "Down" based on the relationship between the fast and slow EMAs (i.e., whether the fast EMA is above or below the slow EMA). It highlights this trend visually in a table format, allowing quick and easy trend recognition.
5. Gain/Loss Tracking: This feature calculates the percentage gain or loss since the last EMA crossover (a key point in trend change), giving users a sense of how much the price has moved since the trend shifted.
6. Customizable Table for Display: The script displays the analyzed data in a table format, where users can view each sector's:
Symbol
Trend (Up or Down)
RSI Value
Gain/Loss Since the Last EMA Crossover
This table is customizable in terms of size and color theme (dark or light), providing flexibility in presentation for different charting styles.
How It Works:
Sector Selection: Users can input up to 20 different sector symbols for analysis.
Moving Averages: Users can define the period lengths for both the fast and slow EMAs to suit their trading strategies.
Table Options: Choose between different table sizes and opt for a dark theme to enhance the visual appearance on charts.
How to Use:
Select the symbols (sectors) that you want to track. The script includes pre-configured symbols for major sectors on the NSE, but you can modify these to suit your needs.
Adjust the fast and slow EMA lengths to your preference. A common setting would be 3 for the fast EMA and 4 for the slow EMA, but more conservative traders might opt for higher values.
Customize the table size and theme based on your preference, whether you want a compact table or a larger one for easier readability.
Why Use This Script:
This script is ideal for traders looking to:
Monitor multiple market sectors simultaneously.
Identify key trends across sectors quickly.
Understand momentum and detect potential reversals through RSI and EMA crossovers.
Stay informed on sector performance using a clear visual table that tracks gains or losses.
By using this script, traders can gain better insights into sector-based trading strategies, improve their sector rotation tactics, and stay informed about the broader market environment. It provides a powerful yet easy-to-use tool for both beginner and advanced traders.
Indicator

Relative Strength and MomentumRelative Strength and Momentum Indicator
Unlock deeper market insights with the Relative Strength and Momentum Indicator—a powerful tool designed to help traders and investors identify the strongest stocks and sectors based on relative performance. This custom indicator displays essential information on relative strength and momentum for up to 15 different symbols, compared against a benchmark index, all within a clear and organized table format.
Key Features:
1. Customizable Inputs: Choose up to 15 symbols to compare, along with a benchmark index, allowing you to tailor the indicator to your trading strategy. The 'Lookback Period' input defines how many weeks of data are analyzed for relative strength and momentum.
2. Relative Strength Calculation: For each selected symbol, the indicator calculates the Relative Strength (RS) against the chosen benchmark. This RS is further refined using an exponential moving average (EMA) to smooth the results, providing a more stable trend overview.
3. Momentum Analysis: Momentum is determined by analyzing the rate of change in relative strength. The indicator calculates a momentum rank for each symbol, based on its relative strength’s improvement or deterioration.
4. Percentile Ranking System: Each symbol is assigned a percentile rank (from 1 to 100) based on its relative strength compared to the others. Similarly, momentum rankings are also assigned from 1 to 100, offering a clear understanding of which assets are outperforming or underperforming.
5. Visual Indicators:
a. Green: Signals improving or stable relative strength and momentum.
b. Red: Indicates declining relative strength or momentum.
c. Aqua: Highlights symbols performing well on both relative strength and momentum—ideal candidates for further analysis.
6. Two Clear Tables:
a. Relative Strength Rank Table: Displays weekly rankings of relative strength for each symbol.
b. Momentum Table: Shows momentum trends, helping you identify which symbols are gaining or losing strength.
7. Color-Coded for Easy Analysis: The tables are color-coded to make analysis quick and straightforward. A green color means the symbol is performing well in terms of relative strength or momentum, while red indicates weaker performance. Aqua marks symbols that are excelling in both areas.
Use Case:
a. Sector Comparison: Identify which sectors or indexes are showing both relative strength and momentum to pick high-potential stocks. This allows you to align with broader market trends for improved trade entries.
b. Stock Selection: Quickly compare symbols within the same sector to find the stronger performers. Indicator

Market Inner Strength IndexThe "Market Inner Strength Index" is an indicator designed to visually represent the market strength by analyzing the six major sectors: XLK, XLV, XLF, XLY, XLC and XLI. These sectors represent more than 80% of the SPX index, making their performance crucial for understanding overall market conditions. The indicator calculates the individual strengths of these sectors and combines them to provide an overall market strength index, helping to identify scenarios of sector rotation, euphoria, or panic.
Rationale:
The six major sectors (XLK, XLV, XLF, XLY, XLC, XLI) are essential as they encompass a significant portion of the SPX index. Typically, money rotates among these sectors, meaning some sectors grow while others decline. Rare occasions where all sectors move in the same direction can indicate market-wide euphoria (upwards) or panic (downwards). The Market Inner Strength Index helps track sector performance and identify these scenarios.
Methodology:
Script requests current timeframe data for each of the sectors and assigns scores, based on its performance. It will work best on the daily and higher timeframes but can also be used on the lower timeframes.
Score assignment:
If the sector is green (positive performance) for the given timeframe, it receives positive points.
If the sector is red (negative performance), it receives negative points.
If the current close price is above the previous period high, additional positive points are assigned.
If the current close price is below the previous period low, additional negative points are assigned.
The scores for the six sectors are averaged to compute a total score, which is plotted on the chart. A table displays the performance of each sector, color-coded based on their scores for the last period.
Parameters:
Neutral Zone : Define the neutral zone threshold.
Heikin Ashi : Option to use Heikin Ashi candles instead of normal ones.
Show Divergency : Option to show divergences on the chart. Divergence occurs when the SPY is bullish, but the sector score is bearish, or vice versa. This option will only work on SPY chart.
Sector selections : Enable/disable specific sectors in score calculation.
Indicator

Sector Rotation Hedging With Volatility Index [TradeDots]The "Sector Rotation Hedging Strategy With Volatility Index" is a comprehensive trading indicator developed to optimally leverage the S&P500 volatility index. It is designed to switch between distinct ETF sectors, strategically hedging to moderate risk exposure during harsh market volatility.
HOW DOES IT WORK
The core of this indicator is grounded on the S&P500 volatility index (VIX) close price and its 60-day moving average. This serves to determine whether the prevailing market volatility is above or below the quarterly average.
In periods of elevated market volatility, risk exposure escalates significantly. Traders retaining stocks in sectors with disproportionately high volatility face increased vulnerability to negative returns. To tackle this, our indicator employs a two-pronged approach utilizing two sequential candlestick close prices to confirm if volatility surpasses the average value.
Upon confirming above-average volatility, a hedging table is deployed to spotlight ETFs with low volatility, such as the Utilities Select Sector SPDR Fund (XLU), to derisk the overall portfolio.
Conversely, in low-volatility conditions, sectors yielding higher returns like the Technology Select Sector SPDR Fund (XLK) are preferred. The hedging table is utilized to earmark high-return sector ETFs.
Thus, during highly volatile market periods, the strategy recommends enhancing portfolio allocation to low-volatility ETFs. During low-volatility windows, the portfolio is calibrated towards high-volatility ETFs for heightened returns.
IMPORTANT CONSIDERATION
In real trading, additional considerations encompassing trading commissions, management fees, and ancillary rotation costs should be factored in. False signals may arise, potentially leading to losses from these fees.
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results. Indicator

Indicator

Indicator
