TOPIX Relative Strength vs Symbol + Volume Quality (JP)Overview
Relative Strength vs Symbol + Volume Quality (JP) visualizes the relative performance (%) of a stock versus a chosen benchmark (e.g., TOPIX, Nikkei 225, or ETFs) while incorporating volume quality and momentum analysis.
It calculates percentage-point differences between the target and benchmark, smooths them (EMA/SMA), and evaluates whether the strength is supported by quality volume flow.
All data uses confirmed bars only (request.security() with confirmed values) to minimize repainting, and labels are drawn only on confirmed bars.
What It Shows
Relative Performance (%pt): Difference in rate of change between the stock and its benchmark.
Above 0 → outperforming
Below 0 → underperforming
Trend Direction: Short-/mid-term trend from smoothed EMA/SMA.
Volume Quality: Ratio of up-volume to down-volume, scaled from -1 to +1.
Volume Momentum (Z-Score): Measures unusual surges in trading activity.
Strength Detection: Combines price-based strength (relative or z-score) with volume quality and momentum filters.
How to Use
Set your comparison symbol (e.g., TSE:1306, TVC:NI225).
Adjust lookback length and smoothing period/type to fit your analysis window.
Enable “Confirm strength by volume quality” and/or “Use volume Z-score” to filter signals with supportive volume.
Optionally, configure background thresholds to highlight extreme relative strength/weakness.
Use Screener Mode to suppress visual outputs (table/labels) for performance in Pine Screener.
Main Input Groups
Comparison Settings: Benchmark symbol, calculation timeframe.
Period & Smoothing: lookback, smoothLen, and MA type (EMA or SMA).
Price Strength Detection: Enable Z-score mode and adjust zLen / zThresh.
Volume Quality & Momentum: vqThresh (volume quality) and vZth (Z-score threshold).
Display: Toggle histogram tint, background highlight, mini-table, and signal labels.
Background Thresholds: Independent thresholds for histogram/MA lines and colors.
Screener Output: Suppress visuals for screening use.
Output & Coloring
Histogram: Relative performance in %pt. Red = outperforming, Green = underperforming (intensity by magnitude).
White Line (EMA/SMA):
Rising with good volume quality → Red
Rising but poor quality → Yellow
Falling → White
Background: Optional highlight when histogram/MA exceeds user thresholds.
Counters: Hidden plots track how many bars have consecutively exceeded thresholds (usable in screeners).
Alerts
Strength Detection (Price + Volume):
Triggered when price condition (MA > 0 or Z-score > threshold) and volume conditions are met.
Weakness / Loss of Strength:
Triggered on cross-under or when volume conditions fail.
Labels: Optional, shown only on confirmed bars.
Repaint Prevention
All calculations use confirmed bar data only.
Labels appear only when bars close.
On lower timeframes, benchmark update delays may cause minor lag.
Volume quality is derived from up/down bar classification, which can be distorted by gaps or illiquid markets.
Avoid overfitting thresholds — values differ by asset and timeframe.
Practical Applications
Identify outperformance with supportive volume across sectors or themes.
Use streak counters to find consistent relative winners or laggards.
Compare stocks vs sector indices or ETFs to track rotation and momentum shifts.
Disclaimer
This script and its description are provided for educational and informational purposes only.
They do not constitute financial advice or recommendations.
Use at your own discretion, considering market risk, liquidity, and data limitations.
This description follows TradingView’s House Rules (no promotion, plagiarism, or misleading claims).
Publication Guidelines
When publishing:
Do not include promotional links or invitations.
Do not copy text/code from other authors without permission.
Screenshots should illustrate the script’s function only, not serve as marketing material.
Maintain consistency of language (English only for this version).
概要
Relative Strength vs Symbol + Volume Quality (JP) は、対象銘柄と比較指標(例:TOPIX)との相対パフォーマンスを%ポイント差で算出し、平滑化線(EMA/SMA)とヒストグラムで可視化します。さらに、出来高を「質(上げ/下げボリュームのバランス)」と「勢い(Zスコア)」で評価し、価格×出来高の両面から“強さ/弱さ”を判定します。
リペイント抑制のため、request.security()は確定足を参照し、ラベル描画も確定時に限定しています。
何がわかるか
相対パフォーマンス(%pt):対象と比較指標の騰落率差。0より上=相対優位、下=相対劣位。
平滑化トレンド:相対の短中期的な傾き(EMA/SMA)。
出来高の質:上昇バー出来高と下降バー出来高の比から -1〜+1 で評価。
出来高の勢い(Zスコア):直近出来高の異常度。
強/弱シグナル:価格条件(基準越え・Z超え)に、出来高条件(質・勢い)を組み合わせて抽出。
使い方(基本手順)
比較対象を「比較シンボル」で指定(例:TSE:1306、TVC:NI225 等)。
「比較期間(バー数)」と「平滑化(期間/種類)」を調整し、相対の視点を合わせる。
出来高確認を使う場合は「出来高の質で“強さ”を確認」「出来高の勢い(Z)」をオンにし、閾値を調整。
背景ハイライトの**閾値(ヒスト/平均線別)**を設定すると、重要局面を一目で把握可能。
スクリーナー利用時は「スクリーナー用」をオンにして、テーブル/ラベルの描画を抑制。
主な入力項目
比較設定:比較シンボル、計算タイムフレーム。
期間・平滑化:比較期間lookback、平滑化長smoothLen、MA種別(EMA/SMA)。
強さ検出(価格):Zスコア方式のオン/オフ、zLen、zThresh。
出来高の質・勢い:質の閾値vqThresh、勢いZの長さvZlenと閾値vZth。
表示:テーブル、背景、ヒスト濃淡、直近ラベルのON/OFF。
背景(閾値):ヒスト/平均線の上下しきいと背景色。
スクリーナー出力:描画抑制トグル。
出力と色分け
ヒストグラム:相対パフォーマンス(%pt)。プラス域は赤系、マイナス域は緑系で濃淡表示。
白線(実体は平滑化相対):上向きかつ出来高質が閾値以上なら赤、上向きでも質不足なら黄、下降時は白。
背景色(任意):設定したヒスト/平均線の閾値を超過/割れで自動着色。
カウンタ:ヒスト/平均線が各閾値を連続超過/連続割れした本数を、スクリーナーが取得できるよう非表示プロットで出力。
シグナル・アラート
強さ検出(価格+出来高):
価格条件 … 平滑化線の0越え、またはZスコアがzThresh越え。
出来高条件 … 「質 ≥ vqThresh」「勢いZ ≥ vZth」(任意)。
条件一致で「強」アラート/喪失・未達で「弱」アラート。
ラベル(任意):確定足でのみ出力。
リペイントと制約
request.security()は確定足データを用い、確定時ラベルのみ描画する設計です。
比較シンボルの更新周期・分足集計差により、短期足ではタイムラグが生じる場合があります。
出来高の「質」は上昇/下降バーの単純仕分けに依存するため、ギャップや出来高の歪みが強い市場では解釈に注意。
閾値は銘柄・期間で最適値が異なります。**過度な最適化(カーブフィット)**は避けてください。
(公開ガイドライン上も、明確で誤解を生む表現の回避が推奨されます。
TradingView
)
活用アイデア(例)
相対優位×出来高質の改善が同時に起きた局面を抽出。
連続超過カウントで、相対の“粘り”や“伸び”をスクリーニング。
指数だけでなく、業種ETFやセクター指数を比較軸にしてローテーション把握。
免責
本スクリプトおよび説明は情報提供・教育目的です。投資助言・勧誘ではありません。市場リスク、流動性、スリッページ、データ仕様に起因する差異等は利用者の自己責任でご確認ください。TradingViewのハウスルール(広告禁止・独自性・言語一致・わかりやすさ)および公開ルールに準拠する形で記述しています。
Comparación de fuerza relativa
Relative Strength by jsm
1) Compare any stock against an Indian sector/index quickly and clearly.
2) Quickly gauge if your stock is outperforming or lagging its sector.
3) Instant relative strength tracker for Indian stocks & indices.
4) See 30D / 60D / 90D returns vs NIFTY, BANKNIFTY & more.
5) Smart visual tool to spot sector outperformance at a glance.
What it shows
A compact one-line readout (top-right by default):
TICKER vs INDEX | 30D +x.x% ▲ | 60D +y.y% ▼ | 90D +z.z% ▲
- +x.x% → stock return over the past 30 trading days (always uses daily bars).
- Arrow indicates relative performance vs the selected index: green ▲ = stock outperformed, red ▼ = stock underperformed, - = neutral (within tolerance).
- Percent values are shown with one decimal and a leading + for positives (e.g. +3.4%, -1.2%).
How it works
Apply the indicator to the stock chart (bottom chart in a dual-chart layout).
Choose the sector/index to compare from the “Compare with any Indian Index / Sector” dropdown. The indicator immediately calculates:
- Stock % change over 30 / 60 / 90 daily bars
- Index % change over the same periods
- Displays an arrow that reflects stock% − index% (colored only on the arrow to keep the numbers readable).
Inputs
- Pick Sector : preset list of Indian indices/sectors (no free-text by default).
- Box placement : Top/Bottom × Left/Right.
- Box Size : Tiny / Small / Normal / Large / Huge (controls font size).
- Dark Mode : toggles text color for dark/light charts.
- Show 30D / Show 60D / Show 90D : enable/disable individual periods.
- Equality tolerance (%) : small tolerance window to treat values as “equal” (shows neutral symbol).
Behavior & design choices
- Uses daily series for lookbacks (so 30D/60D/90D = 30/60/90 trading days) — works correctly on intraday charts too.
- Arrow only is colored (green/red/gray) for quick visual scanning; numbers remain neutral for readability.
- No intrusive background box by default — flat overlay that blends with your chart.
- Defaults: Bottom-right placement, Normal size, Light mode = off (so dark charts show white text).
Limitations / notes
- Not financial advice — use as a quick comparative visual, not a trade signal.
- The indicator calculates using the preset index symbols; if your broker/data feed lacks a symbol, the cell shows n/a.
- Due to TradingView table rendering, a tiny pixel gap may appear between a percent and its colored arrow (kept minimal on purpose).
Example
On SMSPHARMA chart with NSE:NIFTY selected:
SMSPHARMA vs NIFTY | 30D +13.0% ▲ | 60D +18.5% ▲ | 90D +13.5% ▲
— stock has outperformed NIFTY in all periods.
chARTronics Relative Strength LineRelative Strength Line (O’Neil Inspired)
This line measures a stock’s performance versus a benchmark index (commonly NIFTY 500), inspired by William O’Neil’s methodology in How to Make Money in Stocks. When the line rises, the stock is outperforming the market; when it falls, the stock is lagging.
Unlike raw price movement, the Relative Strength Line filters out market noise to reveal true leadership. New highs in this line—especially ahead of price breakouts—often signal institutional accumulation and the emergence of a potential market leader.
Traders use it to:
Identify early strength before price confirms
Validate breakout quality and momentum
Distinguish leaders from laggards in uncertain markets
When the line trends upward while price consolidates, it’s often the quiet clue that a powerful move is building beneath the surface.
Correlation Tracker - Joe v1Correlation Tracker – Joe v1
This indicator calculates the correlation between a selected ticker and an index over a user-defined period. It visualizes correlation with color-coded lines, thresholds, and a descriptive rating, helping traders quickly gauge the strength and direction of correlation.
________________________________________
Options and What They Do
General Settings
• Symbol: Select the ticker you want to analyze.
• Use Chart Symbol: If enabled, the script will use the symbol of the current chart instead of a manually selected symbol.
• Index: Choose the reference index or asset to compare the correlation against. Default is NASDAQ:QQQ.
• Length: Sets the number of periods used to calculate correlation via a moving average. Shorter lengths respond faster; longer lengths smooth correlation.
Correlation Rating Settings
• Show Correlation Rating: Display a textual description of correlation strength (e.g., Ultra Strong, Moderate, Weak).
• Position: Choose where the correlation rating table will appear on the chart (Top/Bottom, Left/Center/Right).
Correlation Line Settings
• Positive Color: Line color when correlation is above the positive threshold. Default: green.
• Negative Color: Line color when correlation is below the negative threshold. Default: red.
• Neutral Color: Line color when correlation is between thresholds. Default: gray.
Correlation Thresholds
• Positive – From: Minimum correlation value considered positive. Default: 0.5 (range 0–0.9).
• Positive Color BG: Background color fill for positive correlation range.
• Negative – From: Maximum correlation value considered negative. Default: -0.5 (range -0.9–0).
• Negative Color BG: Background color fill for negative correlation range.
________________________________________
How It Works
1. Calculates correlation between the selected ticker and the index using logarithmic returns.
2. Plots the correlation line with colors based on thresholds: positive (green), negative (red), neutral (gray).
3. Displays a correlation rating table showing strength (Ultra Weak → Ultra Strong) and absolute correlation on a 0–1 scale.
4. Allows customization of visual appearance, thresholds, and position of rating for clarity on any chart.
Jensen Alpha RS🧠 Jensen Alpha RS (J-Alpha RS)
Jensen Alpha RS is a quantitative performance evaluation tool designed to compare multiple assets against a benchmark using Jensen’s Alpha — a classic risk-adjusted return metric from modern portfolio theory.
It helps identify which assets have outperformed their benchmark on a risk-adjusted basis and ranks them in real time, with optional gating and visual tools. 📊
✨ Key Features
• 🧩 Multi-Asset Comparison: Evaluate up to four assets simultaneously.
• 🔀 Adaptive Benchmarking: TOTALES mode uses CRYPTOCAP:TOTALES (total crypto market cap ex-stablecoins). Dynamic mode automatically selects the strongest benchmark among BTC, ETH, and TOTALES based on rolling momentum.
• 📐 Jensen’s Alpha Calculation: Uses rolling covariance, variance, and beta to estimate α, showing how much each asset outperformed its benchmark.
• 📈 Z-Score & Consistency Metrics: Z-Score highlights statistical deviations in alpha; Consistency % shows how often α has been positive over a chosen window.
• 🚦 Trend & Zero Gates: Optional filters that require assets to be above EMA (trend) and/or have α > 0 for confirmation.
• 🏆 Leaders Board Table: Displays α, Z, Rank, Consistency %, and Gate ✓/✗ for all assets in a clear visual layout.
• 🔔 Dynamic Alerts: Get notified whenever the top alpha leader changes on confirmed (non-repainting) data.
• 🎨 Visual Enhancements: Smooth α with an SMA or color bars by the current top-performing asset.
🧭 Typical Use Cases
• 🔄 Portfolio Rotation & Relative Strength: Identify which assets consistently outperform their benchmark to optimize capital allocation.
• 🧮 Alpha Persistence Analysis: Gauge whether a trend’s performance advantage is statistically sustainable.
• 🌐 Market Regime Insight: Observe how asset leadership rotates as benchmarks shift across market cycles.
⚙️ Inputs Overview
• 📝 Assets (1–4): Select up to four tickers for evaluation.
• 🧭 Benchmark Mode: Choose between static TOTALES or Dynamic auto-selection.
• 📏 Alpha Settings: Adjustable lookback, smoothing, and consistency windows.
• 🚦 Gates: Optional trend and alpha filters to refine results.
• 🖥️ Display: Enable/disable table and customize colors.
• 🔔 Alerts: Toggle notifications on leadership changes.
🔎 Formula Basis
Jensen’s Alpha (α) is estimated as:
α = E − β × E
where β = Cov(Ra, Rb) / Var(Rb), and Ra/Rb represent asset and benchmark returns, respectively.
A positive α indicates outperformance relative to the risk-adjusted benchmark expectation. ✅
⚠️ Disclaimer
This script is for educational and analytical purposes only.
It is NOT a signal. 🚫📉
It does not constitute financial advice, trading signals, or investment recommendations. 💬
The author is not responsible for any financial losses or trading decisions made based on this indicator. 🙏
Always perform your own analysis and use proper risk management. 🛡️
MomentumMap — Relative Strength Visual Quadrant (RRG-Inspired)🔍 What is MomentumMap?
MomentumMap brings the concept of Relative Rotation Graphs (RRG) directly to your chart.
It helps you instantly see whether a symbol is leading, improving, weakening, or lagging — without scanning dozens of charts.
Unlike traditional RS indicators, this tool plots RS Ratio and RS Momentum together, classifying the current condition into clear quadrants.
🧩 Quadrant Logic
Zone Conditions Market Behavior
🟢 Power Zone RS > 1, Momentum > 0 Strong, leading, expanding trend
🟡 Drift Zone RS > 1, Momentum < 0 Cooling off after leadership
🔵 Lift Zone RS < 1, Momentum > 0 Early signs of strength emerging
🔴 Dead Zone RS < 1, Momentum < 0 Weak and lagging phase
Each bar’s background color reflects the active zone — giving instant visual feedback on rotation strength.
⚙️ Key Features
Benchmark-based RS Ratio & RS Momentum mapping
Auto-classified quadrant display with live background coloring
Optional Power Zone alert (with volume confirmation)
Adjustable RS smoothing and momentum periods
Works on all instruments and timeframes
💡 How to Use
Apply the indicator to any chart.
Choose your benchmark symbol (default: NSE:CNX500).
Observe the color-coded zones to assess strength rotation.
Use transitions between zones to identify:
New leadership → 🟢 Power Zone
Early rotation → 🔵 Lift Zone
Loss of strength → 🟡 Drift Zone
Weak performers → 🔴 Dead Zone
⚠️ Notes & Disclaimer
MomentumMap is an analytical visualization tool, not a buy/sell signal generator.
Choose benchmarks and timeframes that match your trading universe.
The script does not repaint and uses only confirmed bar data.
Past quadrant behavior does not guarantee future results.
Complies with TradingView’s open-source and originality guidelines.
📚 Credits
Concept inspired by Julius de Kempenaer’s RRG framework
Implementation and logic developed independently by Paritosh Gupta
Relative Strength Ratio • Leader Shift Signals## Overview
This indicator computes a **Relative Strength (RS) ratio** between your chart’s symbol and a reference symbol (e.g. BTC or index), then overlays an EMA-based trend filter and detects **RS divergences** via RSI on that ratio. It highlights when your symbol is leading vs lagging, and spots potential turning points via bullish/negative divergences. No alerts are forced, you get visual cues (lines & labels) only.
---
## How It Works
1. **RS Ratio** = (base symbol price) ÷ (reference symbol price).
2. Two EMAs (fast & slow) filter trend context and help identify “leader shifts” (when ratio crosses the fast EMA under trend constraints).
3. **RSI on the ratio** is used to detect divergences. We find swing highs/lows in the *ratio* and compare their RSI values:
* **Bearish RS divergence**: ratio makes a higher high, but RSI makes a lower high
* **Bullish RS divergence**: ratio makes a lower low, but RSI makes a higher low
4. When divergence is confirmed, the script draws connecting lines (and optional markers) on the RS ratio pane to visually flag them.
5. You can customize pivot sensitivity, minimum separation, colors, and toggles for which graphics to show.
---
## Best Usage Suggestions
* Use a **reference symbol** that is meaningfully related (e.g. BTC for altcoins, SPX for equities, or a sector index for a stock). The interpretive power comes from seeing relative strength vs a meaningful peer.
* On **higher timeframes** (4H, daily), divergences tend to carry more weight. On lower intraday charts, tighten pivot settings to avoid noise.
* Prefer divergence signals when the RS ratio is also in a favorable trend (e.g. above its EMA for bullish divergences, below for bearish). Using the trend filter EMAs helps reduce false signals.
* Always confirm divergence signals with **price structure, volume, or other momentum indicators**. Divergence is a warning or a hint—not a standalone trigger.
* Because RSI on ratio is subject to noise, avoid over-tuning pivots too tight; broader pivot widths give more robust divergence lines.
---
## Inputs & Customization
* **Reference Symbol & Timeframe** for ratio comparison
* **Fast EMA / Slow EMA lengths** and slope threshold (trend filter)
* **RSI length** applied to the RS ratio
* **Pivot left / right bars** and **min separation** to define sturdy swings
* **Toggle lines / markers** visibility, and pick colors for divergence, ratio, EMAs
* Optional “shade” or fill modes (if you have them)
---
## Limitations & Disclaimers
* Divergence does **not guarantee** reversals—it often signals **weakening momentum or potential turning zones**, which may not always play out.
* In extremely volatile or fast-moving markets, divergence lines may lag or fail.
* The script relies on historical data (no future lookahead). Because pivots are confirmed after a few bars, some signals show with delay.
* As always: combine with price action, structure, risk management. This is a tool—not a magic eight ball.
---
Bubble ChartBubble Chart- Visual Market Intelligence
⸻
⚡ Quick Start - Here is how you get started in 30 seconds
Default view (Y-axis: None) = market heatmap
X-axis always = performance
Bubble size = importance (your choice of metric)
Hover any bubble for details
Switch timeframes to change the measurement window
Pick any stock ticker to see their friends
Pick one of the 143 etfs listed below and see their top constituents
That's it. Everything else is deeper cuts of data
⸻
Overview
The Bubble Chart is a market-wide visual map designed to instantly reveal how thousands of stocks and ETFs are performing relative to their peers, all in a single glance.
It dynamically builds relationships between ~3,400 stocks and 143 ETFs , each with its own “friends list” of most-connected tickers. It’s a bit unlike all the other indicators, which you’ll see shortly. It’s a very Tops Down, then Sideways view of the market.
The 144 ETFs covered in the Bubble Chart indicator are listed here in this watchlist: www.tradingview.com
Each bubble represents a security.
X-axis → performance (% change)
Y-axis → variable (you choose the insight)
Bubble size → market cap, relative weight, or %volume
Color → relative performance (green up, red down)
Border → sector color
Your current chart’s timeframe determines the measurement window:
Intraday chart → today so far
Daily chart → week-to-date (WTD)
Weekly chart → month-to-date (MTD)
Monthly chart → year-to-date (YTD)
Everything is relative to that timeframe’s performance window — making it as useful for morning scans as for long-term sector rotations. I recommend starting with an intraday chart. The bubbles represent the day so far on this timeframe.
⸻
📦 Version Differences
Bubble Chart Lite (Free):
✓ All features and dimensions
✓ Up to 5 bubbles displayed
✓ Perfect for tracking top movers
Bubble Chart (Invite-Only):
✓ All features and dimensions
✓ Up to 38 bubbles displayed
✓ See actual market breadth and structure
✓ Indicator name: “Bubble Chart”
✓ Available under the indicator “Bubble Chart” (Invite-Only) — details on my profile
⸻
📊 Y-Axis Options
1. “None” - Heatmap Mode
By default, the Y-axis is set to “None”.
In this mode, the chart functions as a market heatmap, with:
Left-to-right representing relative performance (% change)
Bubble color indicating gain/loss
Bubble size reflecting your chosen metric (Market Cap, Weight, or %Volume)
Up-down randomized just for bubble separation
Think of it as a fancy heatmap with extra context — sector coloring, bubble sizing, and tooltips that surface live data.
Perfect for a quick snapshot of the day’s winners and losers across your selected universe.
⸻
1. %Turnover
This measures conviction behind each move.
Turnover = current money flow vs. average money flow over your lookback window.
A large % move with low turnover = a weak move with little backing.
A moderate % move with high turnover = strong participation, higher conviction.
This is my personal favorite morning setup — it instantly reveals where real buying and selling pressure is emerging as the session unfolds.
A horizontal line across your selected ticker acts as a benchmark, so you can compare others’ conviction levels relative to it.
Any %turnover score >100 means more money than average is flowing in and out of this name. In the example above, ELS, AMT, SUI, and PSA were positive on the day and saw more than the average amount of money being transacted on these tickers today. Do the same for the negative (KIM, ESS, HST, etc), and you know where the money is going. Below 100, the move lacked conviction.
⸻
2. %ATR
Measures range expansion or compression relative to average volatility.
A stock can move big in price but stay inside a tight range → no expansion.
A stock can move little but break its typical volatility boundary → range expansion.
Expansion often signals momentum continuation; compression after large moves can precede turnarounds or consolidations.
This view helps you spot early volatility inflection points.
In the example above, in XLRE, you can see there are a lot of companies that are experiencing a range expansion to the downside. These stocks are now short setup stocks, as the power is pretty overwhelming (number of top companies as well as magnitude over the 100 index). However, there are 3 Stocks that are doing something completely different than the rest. AMT, SBAC, and CCI are experiencing range expansion (volatility) to the upside. These may become the new leaders. You would have to inspect each ticker to see what’s going on.
⸻
3. ROC(5) Z-Score
Z-Score quantifies how far a data point deviates from its mean, measured in standard deviations.
Here it’s applied to 5-period Rate of Change (ROC5).
A high positive Z-Score = performance far above its historical average.
A low (negative) Z-Score = deeply oversold vs. history.
Use this view to identify stretched momentum or mean-reversion candidates:
Stocks high on the Y-axis and green = extended upside momentum
Stocks high but red = potential reversal zones
Stocks low and red = extreme washouts that may soon rebound
This makes it a powerful stock-picking lens for traders who look for reversions or contrarian entries.
The following is the XLU and its 5 top holdings. Looked at on the daily timeframe, which means the ROC(5) score is for its weekly ROC (see timeframe discussion above).
What you can see here is most stocks are within their normal acceleration band. However BIIB is very close to -200. This is uncommon.As you can see from the chart of BIIB with it’s ROC(5) graphed below it, this does indicate a short term turn, and is a high probability long setup.
⸻
4. RSI(15) Z-Score
Similar to the ROC version, but based on RSI(15).
It contextualizes RSI against its own historical distribution, not the fixed 0–100 scale.
When RSI’s Z-Score is above +100 → historically overbought.
Below -100 → historically oversold.
A stock with a high RSI Z-Score but negative performance may be starting to roll over.
A stock with a low RSI Z-Score but positive performance could be beginning a rebound.
This lens is especially powerful for early spotting of turning points in swing and position trades.
In this view, we can see a bunch of stocks that are at or below their -200 Z-Score which suggests RSI is going to increase soon. Taking a look at KKR, we see that it is indeed an area where we might want to look for a short term bounce. .
⸻
5. %52-Week High / %52-Week Low
These two let you visualize positioning within the broader yearly range.
%52-Week High:
Shows how close each ticker is to its highs. Stocks near the top may be in breakout mode.
%52-Week Low:
Shows distance from the lows. Watching these can highlight potential recovery trades — many reversals start when beaten-down stocks begin to cluster and climb from their lows.
Are you really going to want to mess around with VZ? Other companies are winning the race
⸻
⚙️ Bubble Size Options
Market Cap-
Larger companies = larger bubbles.
Ideal for weighting visibility by overall size of influence in the market or sector.
ETF/Friend Weight-
Scales bubbles by their relationship weight to the target ETF or stock.
This helps identify which peers or constituents exert the most pull within the current context.
%Volume-
This scales by relative volume to average volume.
Big bubbles here mean unusual activity, perfect for spotting where participation is surging.
⸻
👥 Friends — Relationship Mapping
Every ticker on the chart has its own “friends list.”
These aren’t arbitrary. They’re discovered through a multi-stage algorithm that analyzes co-occurrence of holdings across ETFs and sectors, roughly like social network analysis for stocks. This is what allows a chart of one stock to intelligently surface others that behave like it, whether through shared ETFs, sector overlap, or statistical co-presence.
Why Friends Matter: When you load AAPL, the chart doesn't just show random stocks. It shows AAPL's "friends", the tickers most connected to it through:
Shared ETF holdings
Sector relationships
Statistical co-movement
This means you're seeing AAPL's context, not just AAPL. Example: AAPL up 2% might look strong, but if all its friends are up 3-4%, AAPL is actually lagging. The chart reveals this instantly.
In this friendship look, you can see companies that are in better (and worse) shape for the month (we are looking at it on the “W” timeframe). If I didn’t own ORCL, INTC, or MU (hidden use tooltip), I should start looking at them.
⸻
Common Setups - do these today
Morning Momentum Scan: - Y-axis: %Turnover - Bubble Size: %Volume - Look for: Top-right quadrant (high performance + high conviction)
Reversal Hunting: - Y-axis: RSI(15) Z-Score - Look for: Red bubbles above +100 (overbought rolling over) Green bubbles below -100 (oversold bouncing)
Sector Rotation: - Y-axis: None (heatmap mode) - Bubble Size: Market Cap - Look for: Color clustering by sector (border colors)
⸻
🧩 Data Sources
ETF Constituents:
ETF holdings are derived from information filed with the SEC’s EDGAR database, specifically N-PORT-P filings. These filings are public records submitted by ETF issuers.
Because EDGAR data can vary in structure and naming conventions, additional parsing, fuzzy matching, and ticker reconciliation logic were applied. Some inconsistencies may remain, and minor inaccuracies are possible.
EDGAR filings can also lag slightly behind real-time changes to ETF portfolios; however, for this visualization tool, that level of latency does not materially affect its purpose or insights.
Exchange & Share Count Data:
Information on exchanges and outstanding shares primarily comes from the SEC Company Facts API.
When unavailable, supplemental values are inferred from public SEC filings such as 8-K, 10-Q, and 10-K reports, and the SEC Company Submissions API for general company metadata.
All such data is publicly accessible through the SEC’s online systems.
I will update the SEC information on the ETFs once every 3 months to ensure etf constituent accuracy.
Sector & Industry Classification:
Sector and industry classifications were developed through a custom workflow that combines automated and human-reviewed methods.
An internal AI system analyzed each company’s publicly available website information to summarize business activities and assign one of 144 custom-defined industry categories.
Results were cross-checked by multiple independent classification models, and any uncertain outputs were manually reviewed for accuracy.
To improve interpretive consistency, publicly available information from StockAnalysis.com was also referenced (not republished) to inform final classifications.
Their content was used in accordance with their stated policy allowing limited reference with attribution — no full content or proprietary data was reproduced.
⸻
🚀 How to Use It
Load the Bubble Chart on any stock, ETF, or futures symbol.
Choose your Y-axis insight — start with “None” for the heatmap.
Adjust bubble size to highlight capital weight or activity.
Switch timeframes to shift context (today, this week, month, or year).
Hover bubbles for details: sector, turnover, z-scores, %volume, and more.
⸻
❓ Frequently Asked Questions
Q: Why do I only see 5 bubbles?
A: You're using Bubble Chart Lite. The full version shows up to 39 bubbles simultaneously for complete market breadth..
To get access:
Find the "Bubble Chart" (invite-only) indicator on TradingView
Read the description for access instructions
Or visit my TradingView profile for details
Q: Can I customize which tickers appear?
A: The indicator automatically selects the most relevant tickers based on the current chart's symbol and the friends algorithm. This ensures you're seeing context, not random stocks.
Q: What timeframe should I use?
A: Any timeframe works. The chart adapts: - Intraday = today's performance - Daily = week-to-date - Weekly = month-to-date - Monthly = year-to-date
Q: How often does the friends list update?
A: Friends relationships are recalculated periodically as ETF holdings change (once every 3 months). The relationships are stable enough that daily changes are minimal.
Q: Does this work on crypto/forex?
A: Currently optimized for US equities and ETFs. Other asset classes may show limited friends data.
Q: The chart looks cluttered. Help?
A: Start with Y-axis: None and Bubble Size: Market Cap. You can also choose to pick less number of bubbles which will clear up the chart
⸻
The Bubble Chart is a market topology engine that visualizes participation, conviction, volatility, and sentiment in real time.
Whether you’re scanning morning momentum, identifying exhausted moves, or exploring ETF ecosystems, it gives you a spatial view of where the action really is.
Relative Strength (RS) By @Byte2Bull📈 Relative Strength (RS) By @Byte2Bull
📌 Overview
This indicator plots a Relative Strength (RS) line that compares the performance of the chart symbol to any benchmark symbol (index, ETF, or stock). By comparing the stock’s price movement to that of the benchmark, this tool highlights whether a stock is outperforming or underperforming the market.
RS value = (Price of symbol / Price of benchmark) × 100
It highlights hidden leaders and emerging strength through dynamic line plots, customizable moving average, and powerful new high detection features, enabling more informed trading decisions.
🛠 Key Features
⦿ Custom Benchmark Selection
Compare any stock with your chosen benchmark (default: NSE:NIFTYMIDSML400), such as NIFTY50, BANKNIFTY, or sector indices.
⦿ Relative Strength Line with Dynamic Coloring
Green when RS is above its moving average (strength/outperformance).
Red when RS is below its moving average (weakness/underperformance).
⦿ Configurable Moving Average
Apply either EMA or SMA over RS with customizable length. This helps smooth out volatility and provides a clear reference trend.
⦿ New High Detection
Marks when RS makes a new high.
Highlights when RS makes a new high before price does → a powerful early signal of hidden strength.
⦿ MA Crossover
Optional marker for when RS crosses above its moving average, signaling potential start of leadership.
⦿ Visual Enhancements
Adjustable line thickness.
Fill area between RS and its MA with green/red shading for quick interpretation.
Customizable colors for all key signals.
⦿ Built-in Alerts
Set alerts for:
RS New High
RS New High Before Price
Bullish MA Crossover
🎯 How to Use
⦿ Identify Market Leaders:
A stock with RS consistently above its MA is likely leading the market.
⦿ Spot Early Strength:
If RS makes a new high before the stock price, it may signal strong relative demand — often preceding breakouts.
⦿ Filter Weakness:
Stocks with RS below the MA are lagging and may be best avoided during bullish phases.
⦿ Combine with Price Action & Volume:
RS works best alongside price breakouts, trend analysis, and volume confirmations.
Relative Performance Indicator - TrendSpider StyleRelative Performance Indicator - TrendSpider Style
📈 Overview
This Relative Performance (RP) indicator measures how your stock is performing compared to a benchmark index, displayed as a percentile ranking from 0-100. Based on TrendSpider's methodology, it answers the critical question: "Is this stock a leader or a laggard?"
Unlike simple ratio charts, this indicator uses percentile ranking to normalize relative performance, making it easy to identify when a stock is showing exceptional strength (>80) or concerning weakness (<20) compared to its historical relationship with the benchmark.
✨ Key Features
Three Calculation Modes:
Quarterly: 3-month relative performance for swing trading
Yearly: Weighted 4-quarter performance for position trading
TechRank: Composite of 6 technical indicators for multi-factor analysis
Clean Visual Design:
Green fills above 80 (strong outperformance)
Red fills below 20 (significant underperformance)
Dotted median line at 50 for quick reference
Current value label for instant reading
Flexible Benchmarks:
Compare against major indices (SPY, QQQ, IWM)
Sector ETFs for within-sector analysis
Custom symbols for specialized comparisons
Built-in Alerts:
Strong performance zone entry (>80)
Weak performance zone entry (<20)
Median crossovers (50 level)
📊 How To Use
Buy Signals:
RP crosses above 80: Stock entering leadership status
RP holding above 60: Maintaining relative strength
RP rising while price consolidating: Accumulation phase
Sell/Avoid Signals:
RP drops below 50: Losing relative strength
RP below 20: Significant underperformance
RP falling while price rising: Bearish divergence
Sector Rotation:
Compare multiple assets to find strongest sectors
Rotate into high RP assets (>70)
Exit low RP positions (<30)
🎯 Reading The Values
80-100: Exceptional outperformance - Strong buy/hold
60-80: Moderate outperformance - Hold positions
40-60: Market perform - No edge
20-40: Underperformance - Caution/reduce
0-20: Severe underperformance - Avoid/exit
⚙️ Calculation Method
Calculates percentage performance of both your stock and the benchmark
Finds the performance differential
Ranks this differential against historical values using percentile analysis
Normalizes to 0-100 scale for easy interpretation
This percentile approach adapts to different market conditions and volatility regimes, providing consistent signals whether in trending or choppy markets.
💡 Pro Tips
For Growth Stocks: Use quarterly mode with QQQ as benchmark
For Value Stocks: Use yearly mode with SPY as benchmark
For Small Caps: Compare against IWM, not SPY
For Sector Analysis: Use sector ETFs (XLK, XLF, XLE, etc.)
Combine with Price Action: High RP + price breakout = powerful signal
⚠️ Important Notes
RP is relative, not absolute - stocks can fall with high RP if the market falls harder
Choose appropriate benchmarks for meaningful comparisons
Best used in conjunction with price action and volume analysis
Historical lookback period affects sensitivity (adjustable in settings)
🔧 Customization
Fully customizable visual settings, thresholds, calculation periods, and smoothing options. Adjust the normalization lookback period (default 252 days) to fine-tune sensitivity to your trading timeframe.
📌 Credit
Inspired by TrendSpider's Relative Performance implementation, adapted for TradingView with enhanced customization options and Pine Script v6 optimization.
Tags to include: relativeperformance, relativestrength, percentile, ranking, sectorrotation, benchmark, outperformance, trendspider, marketbreadth, strengthindicator
Category: Momentum Indicators / Trend Analysis
Feel free to modify this description to match your style or add any specific points you want to emphasize!
RFSIRFSI (Relative Force Strength Index) is a technical indicator that measures the relative strength of an asset compared to a benchmark (default: SPY - S&P 500 ETF). It helps identify performance divergences and generate entry/exit signals based on crossovers.
RFSI (Relative Force Strength Index) est un indicateur technique qui mesure la force relative d'un actif par rapport à un benchmark (par défaut : SPY - ETF S&P 500). Il permet d'identifier les divergences de performance et de générer des signaux d'entrée/sortie basés sur des croisements.
Multiple Relative Strength IndicatorThis indicator is used to display multiple Relative strength of a stock compared with another.
Default value for the first Relative strength period is 55
Default value for the second Relative strength period is 21
Default value for the comparable Index is CNX500
You can add the sectorial index for sector comparison
KRX RS OverlayKRX RS Overlay (Manual, Pine v6) (한국어 설명 아래에)
What it does
Plots a Relative Strength (RS) line of the current symbol versus a selected Korean market index on the price chart (overlay). RS is computed as Close(symbol) / Close(benchmark) and rebased to 100 N bars ago for easy comparison. An SMA of RS is included for signal smoothing.
Benchmarks (manual selection only)
• KOSPI (KRX:KOSPI) — default
• KOSDAQ (KRX:KOSDAQ)
• KOSPI200 (KRX:KOSPI200)
• KOSDAQ150 (KRX:KOSDAQ150)
Inputs
• Benchmark: choose one of the four indices above (default: KOSPI)
• Rebase N bars ago to 100: sets the normalization point (e.g., 252 ≈ 1 trading year on daily)
• RS SMA length: smoothing period for the RS line
• Show 100 base line: toggle the reference line at 100
How to read
• RS rising → the symbol is outperforming the selected index.
• RS above RS-SMA and sloping up → strengthening leadership vs. the benchmark.
• RS crossing above RS-SMA → momentum-style confirmation (an alert is provided).
Tips
• Works on any timeframe; the benchmark is requested on the same timeframe.
• If the RS line scale conflicts with price, place the indicator on the Left scale (Chart Settings → Scales) or set the series to use the left axis.
Notes
• This script is manual only (no auto index detection).
• Educational use; not financial advice.
⸻
KRX RS 오버레이 (수동, Pine v6)
기능
현재 종목을 선택한 한국 지수와 비교한 상대강도(RS) 라인을 가격 차트 위(오버레이)에 표시합니다. RS는 종목 종가 / 지수 종가로 계산하며, 비교를 쉽게 하기 위해 N봉 전 = 100으로 리베이스합니다. 신호 완화를 위해 RS의 SMA도 함께 제공합니다.
벤치마크(수동 선택만 지원)
• KOSPI (KRX:KOSPI) — 기본값
• KOSDAQ (KRX:KOSDAQ)
• KOSPI200 (KRX:KOSPI200)
• KOSDAQ150 (KRX:KOSDAQ150)
입력값
• Benchmark: 위 4개 지수 중 선택(기본: KOSPI)
• Rebase N bars ago to 100: 리베이스 기준(일봉 252 ≈ 1년)
• RS SMA length: RS 스무딩 기간
• Show 100 base line: 100 기준선 표시 여부
해석 가이드
• RS 상승 → 선택 지수 대비 초과성과.
• RS가 RS-SMA 위 & 우상향 → 벤치마크 대비 리더십 강화.
• RS가 RS-SMA 상향 돌파 → 모멘텀 확인(알림 제공).
팁
• 모든 타임프레임에서 동작하며, 지수도 동일 타임프레임으로 요청됩니다.
• 가격 축과 스케일이 겹치면 왼쪽 스케일로 표시하도록 설정하세요(차트 설정 → Scales).
유의사항
• 자동 지수 판별 기능은 포함하지 않았습니다(수동 전용).
Relative Strength Comparison-Num_Den_inputsThis RSC chart lets you give inputs for both Numerator and Denominator
Relative Strength Comparison-NewShRelative Strength Comparison Script created by Shahbaz on 19th Sep 2025
RSI MA Cross + Divergence Signal (V2) Core Logic
RSI + Moving Average
The script calculates a standard RSI (default 14).
It then overlays a moving average (SMA/EMA/WMA, default 9).
When RSI crosses above its MA → bullish momentum.
When RSI crosses below its MA → bearish momentum.
Divergence Filter
Signals are only valid if there’s confirmed divergence:
Bullish divergence: Price makes a lower low, RSI makes a higher low.
Bearish divergence: Price makes a higher high, RSI makes a lower high.
Overbought / Oversold Filter
Optional extra:
Bullish signals only valid if RSI ≤ 30 (oversold).
Bearish signals only valid if RSI ≥ 70 (overbought).
This ensures signals happen in “stretched” conditions.
Risk & Trade Management
Entries taken only when all conditions align.
Exits can be managed with ATR stops, partial take-profits, breakeven moves, and trailing stops (we coded these in the strategy version).
Cooldown, session filters, and daily loss guard to keep risk tight.
🔹 Strengths
✅ High selectivity: Combining RSI cross + divergence + OB/OS means signals are rare but higher quality.
✅ Great at catching reversals: Divergence highlights where price may be running out of steam.
✅ Risk management baked in: ATR stops + partial exits smooth out equity curve.
✅ Works across markets: ES, FX, crypto — anywhere RSI divergences are respected.
✅ Flexible: You can loosen/tighten filters depending on aggressiveness.
🔹 Weaknesses
❌ Lag from pivots: Divergence only confirms after a few bars → you enter late sometimes.
❌ Choppy in ranges: In sideways markets, RSI divergences appear often and whipsaw.
❌ Filters reduce signals: With all filters ON (divergence + OB/OS + trend + session), signals can be very rare — may under-trade.
❌ Not standalone: Needs higher-timeframe context (trend, liquidity pools) to avoid counter-trend entries.
🔹 Best Ways to Trade It
Use Higher Timeframe Bias
Run the strategy on 15m/1H, but only trade in direction of higher timeframe trend (e.g., 4H EMA).
Example: If daily is bullish → only take bullish divergences.
Pair With Structure
Look for signals at key zones: HTF support/resistance, VWAP, or FVGs.
Divergence + RSI cross inside an FVG is a strong entry trigger.
Adjust OB/OS for Volatility
For crypto/FX: use 35/65 instead of 30/70 (markets trend harder).
For ES/S&P: 30/70 works fine.
Risk Management Is King
Use partial exits: take profit at 1R, trail rest.
Size by % of equity (we coded this into the strategy).
Avoid News Spikes
Divergences break down around CPI, NFP, Fed announcements — stay flat.
🔹 When It Shines
Trending markets that make extended pushes → clean divergences.
Reversal zones (oversold → bullish bounce, overbought → bearish fade).
Swing trading (15m–4H) — less noise than 1m/5m scalping.
🔹 When to Avoid
Low volatility chop → lots of false divergences.
During high-impact news → RSI swings wildly.
In strong one-way trends without pullbacks — divergence keeps calling tops/bottoms too early.
✅ Summary:
This is a reversal-focused RSI divergence strategy with strict filters. It’s powerful when combined with higher-timeframe bias + structure confluence, but weak if traded blindly in choppy or news-driven conditions. Best to treat it as a precision entry trigger, not a full system — layer it on top of your FVG/ORB framework for maximum edge.
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).
ETFs Sector PerformanceDisplays a table of the Top 8 performing ETFs over a selected period (1M / 2M / 3M / 6M) to quickly identify industry strength.
Pre-Set Universe (39 ETFs)
ITA — iShares U.S. Aerospace & Defense ETF
DBA — Invesco DB Agriculture Fund
BOTZ — Global X Robotics & Artificial Intelligence ETF
JETS — U.S. Global Jets ETF
XLB — Materials Select Sector SPDR Fund
XBI — SPDR S&P Biotech ETF
PKB — Invesco Dynamic Building & Construction ETF
ICLN — iShares Global Clean Energy ETF
SKYY — First Trust Cloud Computing ETF
DBC — Invesco DB Commodity Index Tracking Fund
XLY — Consumer Discretionary Select Sector SPDR Fund
XLP — Consumer Staples Select Sector SPDR Fund
BLOK — Amplify Transformational Data Sharing ETF
KARS — KraneShares Electric Vehicles & Future Mobility ETF
XLE — Energy Select Sector SPDR Fund
ESPO — VanEck Video Gaming and eSports ETF
XLF — Financial Select Sector SPDR Fund
PBJ — Invesco Dynamic Food & Beverage ETF
ITB — iShares U.S. Home Construction ETF
XLI — Industrial Select Sector SPDR Fund
PAVE — Global X U.S. Infrastructure Development ETF
PEJ — Invesco Dynamic Leisure & Entertainment ETF
LIT — Global X Lithium & Battery Tech ETF
IHI — iShares U.S. Medical Devices ETF
XME — SPDR S&P Metals & Mining ETF
FCG — First Trust Natural Gas ETF
URA — Global X Uranium ETF
PPH — VanEck Pharmaceutical ETF
QTUM — Defiance Quantum Computing & Machine Learning ETF
IYR — iShares U.S. Real Estate ETF
XRT — SPDR S&P Retail ETF
SOXX — iShares Semiconductor ETF
BOAT — SonicShares Global Shipping ETF
IGV — iShares Expanded Tech-Software Sector ETF
TAN — Invesco Solar ETF
SLX — VanEck Steel ETF
IYZ — iShares U.S. Telecommunications ETF
IYT — iShares U.S. Transportation ETF
XLU — Utilities Select Sector SPDR Fund
Dual Relative Strength (Fast & Slow, Single Baseline)Dual-Period RS Setup (Fast + Slow)
1. Fast RS (Early Leadership)
• Indicator: Relative Strength (by modhelius)
• Comparative Symbol: NIFTY
• Period: 26 weeks (~6 months)
• Purpose: Detects early shifts in relative strength before price fully confirms.
⸻
2. Slow RS (Confirmation)
• Add the same indicator again.
• Comparative Symbol: NIFTY
• Period: 52 weeks (1 year)
• Purpose: Confirms sustained leadership. Helps filter noise & false positives.
Dual Relative Strength (vs NIFTY) Nikrun1. Fast RS (Early Leadership)
• Indicator: Relative Strength (by modhelius)
• Comparative Symbol: NIFTY
• Period: 26 weeks (~6 months)
• Purpose: Detects early shifts in relative strength before price fully confirms.
⸻
2. Slow RS (Confirmation)
• Add the same indicator again.
• Comparative Symbol: NIFTY
• Period: 52 weeks (1 year)
• Purpose: Confirms sustained leadership. Helps filter noise & false positives.
⸻
3. Visuals
• Style tip:
• Make RS(26) = blue line (fast, responsive).
• Make RS(52) = thicker black/green line (slow, authority).
• Keep zero line visible so you instantly see outperformance/underperformance.
⸻
RS Alpha by The Noiseless TraderRS Alpha by The Noiseless Trader plots a clean, benchmark‑relative strength line for any symbol and (optionally) a mean line to assess trend and momentum in relative performance. It’s designed for uncluttered, professional RS analysis and works across any timeframe.
Compare any symbol vs a benchmark (default: NSE:NIFTY).
Optional log‑normalized RS for return‑aware comparisons.
Optional RS Mean with trend coloring (rising/falling).
Optional RS Trend zero‑line coloring based on short‑range slope.
Lightweight alerts for rising/falling RS mean.
Tip: Use RS to identify leaders (RS > 0 with rising mean) and laggards (RS < 0 with falling mean), then align setups with your price action rules.
Reading the indicator
Leadership: RS > 0 and RS Mean rising → outperformance vs benchmark.
Weakness: RS < 0 and RS Mean falling → underperformance vs benchmark.
Inflections: Watch RS crossing above/below its Mean for early shifts.
Zero‑line context: With RS Trend on, the zero line subtly reflects short‑term slope (green for positive, maroon for negative).
Alerts
Rising Strength – RS Mean turning/remaining upward.
Declining Strength – RS Mean turning/remaining downward.
(Use these as context; execute entries on your price‑action rules.)
Best practices
Pair RS with your trend/structure rules (e.g., higher highs + RS leadership).
For sectors/baskets, keep the Comparative Symbol consistent to rank peers.
Log‑normalized RS helps when comparing assets with very different volatilities or large base effects.
Test multiple length and Mean settings; 60 is a balanced default for swing/positional work.
Credits
Original concept & code: © bharatTrader
Modifications & refinements: The Noiseless Trader
Dual Custom Index with SpreadDual Custom Index with Spread
Create powerful custom indices from any instruments and analyze their relative strength dynamics
Overview
This advanced indicator allows you to build two completely customizable indices from your choice of instruments and analyze their spread relationship. Perfect for inter-market analysis, sector rotation strategies, currency strength comparisons, and sophisticated relative performance studies.
Key Features
🔧 Fully Customizable Index Construction
Build each index from up to 6 instruments with individual weightings
Enable/disable instruments on the fly without losing settings
Automatic weight validation ensures mathematically accurate calculations
Invert functionality for instruments that move opposite to index strength
📊 Advanced ADX-Based Methodology
Uses sophisticated ADX +DI/-DI directional bias calculations
Normalized bias calculation for consistent scaling across different instruments
Optimized default settings for intraday trading with full customization options
Professional-grade smoothing and filtering options
📈 Dual Analysis Modes
Difference Mode: Shows absolute strength difference (Index1 - Index2)
Ratio Mode: Shows relative performance ratio (Index1 / Index2)
Additional spread smoothing for cleaner signals
🎨 Professional Display Options
Custom labels with full color, size, and positioning control
Dynamic "Follow Line" labels that move with your data
Static corner positioning for reference displays
Clean error messaging and validation feedback
Use Cases
Gold Trading: Create gold strength vs USD strength indices for precise market timing
Sector Analysis: Compare technology vs financial sector strength for rotation strategies
Currency Strength: Build custom currency baskets for advanced forex analysis
Commodity Spreads: Analyze relative strength between different commodity groups
Regional Markets: Compare strength between different geographical market indices
Crypto Analysis: Track relative performance between different cryptocurrency sectors
Technical Specifications
Instruments per Index: Up to 6 with individual enable/disable
Weight Validation: Automatic 100% total weight enforcement
Calculation Method: ADX-based directional bias with trend strength weighting
Smoothing Options: Multiple levels of customizable smoothing
Error Handling: Professional validation with clear user feedback
Optimization Tips
Intraday Trading: Use DI Length 3-7 for faster response
Daily Analysis: Use DI Length 10-14 for smoother signals
Noisy Markets: Increase Final Smoothing for cleaner signals
Trending Markets: Lower smoothing values for faster reaction
Perfect for traders who need sophisticated inter-market analysis tools beyond standard indicators. Whether you're analyzing gold vs dollar dynamics, sector rotation opportunities, or custom currency strength relationships, this indicator provides institutional-grade analysis capabilities with complete customization flexibility.






















