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

Global Market Strength and Breadth StanceIntroduction
The Market Strength and Breadth Dashboard is a comprehensive, institutional-grade market monitoring tool designed for swing traders and active investors. Instead of trading in a vacuum, this dashboard scans the internal health of a chosen market across cap sizes, sector leaders, equal-weighted indices, and growth/value proxies. By analyzing multiple dimensions of trend strength and rolling them up into a live dashboard, the indicator calculates an overall Market Stance and provides actionable guidance on Total Open Risk (TOR).
Whether you trade in the US, India, Japan, China, Taiwan, or South Korea, this dashboard provides a top-down view of market breadth so you can trade with the wind at your back.
Key Features
1. Multi-Market & Sector Breadth Coverage
The dashboard automatically maps a curated list of index benchmarks, equal-weight indices, growth/tech proxies, and sector ETFs based on your selected country:
United States (US): SPY (S&P 500), QQQ (Nasdaq 100), RSP (S&P 500 Equal Weight), IWM (Russell 2000), MDY (S&P MidCap 400), SMH (Semiconductors), IGV (Tech-Software).
India (IN): Nifty 50, Nifty 50 Equal Weight, Nifty 500, Nifty Midcap 100, Nifty Smallcap 100, Nifty IT, Nifty Finance, Nifty Auto, Nifty Banking, Manufacturing, Nifty India Digital.
Japan (JP): Nikkei 225, TOPIX, TOPIX 100, TOPIX Mid 400, Nikkei Mid Small ETF, TOPIX Small Index, Nikkei Semiconductor, Semiconductor ETF, Electric Appliances, TOPIX Machinery.
China (CN): Total Stock Market, Top 300 Index (Weighted & Equal Weight), 50 Large Cap, 500 Mid Cap, 1000 Small Cap, ChiNext 100, Tech/Semis/AI/Biotech.
Taiwan (TW): TAIEX, Top 50 ETF, Mid-Cap 100 ETF, TPEX Weighted Index, Semiconductors Sub-Index, Electronics Sub-Index, Electronic Parts/Components, Market Leader Equal Weight ETF, IT Growth Equal Weight ETF.
South Korea (KR): KOSPI, KOSPI 200, KOSPI Large, KOSPI Mid, KOSPI Small, KOSDAQ, KOSDAQ 150, KOSPI 200 Equal Weight, KQ150 Equal Weight.
2. Timeframe-Adaptive Moving Averages
Moving average lengths are automatically adjusted based on your selected Analysis Timeframe to ensure the technical signals match the trend structure of that horizon:
Daily Timeframe: 20 SMA (Short-term), 50 SMA (Medium-term), 200 SMA (Long-term / Macro).
Weekly Timeframe: 10 SMA, 30 SMA, 40 SMA.
Monthly Timeframe: 3 SMA, 6 SMA, 10 SMA.
3. Advanced Hybrid Trend Engine
Rather than relying on a single moving average, the dashboard calculates a Hybrid Trend for each index by combining two distinct methodologies:
SMA Ribbon Trend: Evaluates alignment. A full bullish alignment requires:
Price > SMA 1 > SMA 2 > SMA 3, while a bearish alignment requires:
Price < SMA 1 < SMA 2 < SMA3
Donchian Channel Trend: Checks price relative to the 20-period Donchian mid-line. If the price is within 15% of the Donchian mid-line, the trend is treated as Sideways (congestion). If it breaks out above or below this corridor, it triggers a trend state.
The Hybrid Nuance: A ticker is only marked in an Uptrend if the Donchian trend is bullish and the SMA Ribbon is not bearish. It is marked in a Downtrend if the Donchian trend is bearish and the SMA Ribbon is not bullish. Otherwise, it is classified as Sideways.
4. Granular Status Classification
Every monitored index is evaluated and categorized into one of five states:
🟢 Very Bullish: Macro bullish (SMA 2 > SMA 3), short-term bullish (SMA1 > SMA2), price trading above the short-term SMA 1, and the Hybrid Trend is actively upward.
🟢 Bullish: Macro and short-term bullish alignments are in place, price is above
SMA 1, but the Hybrid Trend has turned sideways.
🔵 Pullback: Macro and short-term bullish alignments are intact, but price has pulled back below the short-term SMA 1 (while holding above the medium-term SMA 2). Ideal for dip-buying setups.
🟡 Caution: Signals are mixed. This occurs during transitional phases, such as when price is below SMA 2 in a macro uptrend, or when price trades above SMA 1 but the macro alignment is bearish (SMA 2 ≤ SMA 3).
🔴 Bearish: Macro bearish alignment (SMA 2 ≤ SMA 3) and the price is below its short-term
SMA 1.
The Breadth & Stance Engine (Dashboard Footer)
The bottom row of the dashboard acts as the command center, compiling all individual metrics into market breadth stats and a singular directional bias:
1. Market Stance & Total Open Risk (TOR)
The dashboard calculates a global market posture based on the state of the primary index (e.g., SPY for US, Nifty 50 for India) and the percentage of overall constructive indices:
Risk-On (Aggressive) | TOR Open (6-8R): The primary index is Bullish/Very Bullish, ≥ 70% of the market is constructive, and ≤ 10% is Bearish. This is the green light for aggressive long positioning.
Risk-On (Selective) | TOR Normal (4-5R): The primary index is constructive, and ≥ 50% of the market is constructive. Longs are favored, but selectivity and tight setups are required.
Risk-Off (Defensive) | TOR Tight (1-2R): The primary index is bearish or ≥ 50% of the indices are in a Bearish status. Capital should be defensively positioned; focus shifts to short exposure or hedging.
Capital Preservation | TOR Cash (0R): The primary index is Bearish, and ≥ 75% of all indices are in a Bearish status. The system advises sitting in cash.
Caution / Neutral | TOR Max 3R: Outlines range-bound or highly rotational conditions. Open risk should be strictly capped.
2. Breadth Ratio Columns
The dashboard displays raw breadth ratios for three structural checkpoints:
Price > MA1 (Short-term momentum breadth)
MA1 > MA2 (Medium-term structural health)
MA2 > MA3 (Long-term structural alignment)
Format: L / S (Long / Short). E.g., 5L / 2S means 5 indices are bullish on that metric, and 2 are bearish.
Color Coding: Automatically highlights in Green if ≥ 70% of the indices are positive, Red if ≥ 60% are negative, and Yellow for rotational/neutral conditions.
Under the Hood: Pine Script v6 Optimization
This script has been engineered to prevent chart lag. All calculations are requested dynamically using a single, optimized request.security tuple call per ticker.
No Repainting : The dashboard is calculated strictly on closed historical bars and the live real-time bar using barstate.islast, ensuring that historical data is not distorted and the dashboard is lightweight.
Declarative Layouts : The UI adapts row heights dynamically based on the number of active indices for the selected country, preventing empty table cells from wasting screen real estate.
User Input Settings
Active Market / Country : Switch between US, Korea, China, Taiwan, Japan, and India.
Analysis Timeframe : Select Daily, Weekly, or Monthly.
Table Position : Choose from 9 positions on your chart canvas.
Text Size : Small, Normal, or Large text configurations.
Styling & Colors : Fully customize table frames, title background, warning cells, risk stances, and text colors to match your dark or light chart theme.
⚠️ Important Caution & Risk Disclaimer
Please read and understand the following before incorporating this dashboard into your trading:
Index Decoupling: Sector weightings in modern index products are often heavily skewed toward mega-cap stocks. An index may print "Very Bullish" while the vast majority of individual mid-and-small-cap stocks are struggling. Always cross-reference index breadth with individual stock scans.
Breadth is a Filter, Not a Trigger: The dashboard's output (such as "Risk-On" or "Risk-Off") represents a statistical regime filter of market conditions. It is not a direct buy or sell signal. Trade execution must still rely on your own verified setups, trigger criteria, and risk-reward calculations.
Data & Calculation Lag: Because the dashboard aggregates multiple indices and ETFs, there may be temporary divergences in fast-moving markets or discrepancies between local index data feeds.
No Guarantee of Accuracy: Historical performance of these filters is not indicative of future results. Market regimes can shift rapidly without warning. You must use your own judgment, manage your trade sizing, and implement hard stops on every position. Never risk more capital than you can afford to lose. Indicator

Market Breadth Trend StrategyOverview
Many traders focus on major indexes such as the S&P 500 or Nasdaq when evaluating market conditions. While indexes show overall price movement, they do not always reflect how broadly that movement is supported across the market.
Market breadth is a way of studying participation. It can help traders understand whether strength or weakness is concentrated in a small group of stocks or spread across a wider portion of the market.
A market move supported by broad participation may provide different context than a move driven by only a few heavily weighted stocks.
Understanding Market Participation
Market breadth generally refers to the number of securities contributing to a market move.
Examples of breadth-related observations include:
The balance between advancing and declining stocks
The number of stocks reaching new highs or lows
The percentage of stocks trading above key moving averages
These measurements can provide additional perspective alongside price action and trend analysis.
Why Traders Monitor Breadth
Participation Matters
Strong participation may indicate that market activity is occurring across a wider group of stocks rather than being concentrated in a few names.
Additional Context
Breadth can be used as a supplementary tool when evaluating trends, momentum, and overall market conditions.
Market Observation
Some traders monitor breadth metrics to better understand changes in participation over time and how those changes compare with index performance.
Strategy Concept
This script uses a simplified breadth-style proxy derived from the chart's relationship to a long-term moving average.
It is important to note that this script does not use actual exchange-wide market breadth data. Instead, it creates a participation-style filter using price behavior on the current chart.
The strategy combines:
Trend identification using moving averages
A breadth-style participation filter
ATR-based risk management
The objective is to demonstrate how participation concepts can be incorporated into a trend-following framework for research and testing purposes.
Important Notes
This script uses a simplified participation-style filter and is not a substitute for exchange-wide breadth indicators.
Results will vary across symbols, timeframes, and market conditions.
The script is intended for educational, research, and testing purposes.
Disclaimer
This script is provided for educational and research purposes only. It demonstrates one way to combine trend analysis with a breadth-style participation filter. It is not financial advice and should be tested across different symbols, market conditions, and timeframes before being used in any trading workflow.
This version avoids performance claims, avoids implying predictive ability, and clearly explains the limitations of the breadth proxy. Strategy

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

ontagion & Shock System (CSS) - Systemic Risk TrackerThe Contagion & Shock System (CSS) is an advanced quantitative indicator designed to measure systemic risk and sector contagion in real-time. Instead of looking at a single asset in isolation, this system tracks how sudden price shocks ripple across a configurable basket of proxy assets, helping traders identify true macro risk-on or risk-off environments.
1. Shock Detection
The system continuously monitors the base asset for sudden volatility spikes. It triggers an active "Shock" if a single bar exceeds a specific percentage threshold, or if a cumulative multi-bar move indicates sustained, aggressive buying or selling pressure.
2. Dynamic Correlation Engine (Wave Assignment)
The indicator runs a live Pearson Correlation (using log returns) between your base chart and 10 configurable proxy assets (e.g., SPY, QQQ, VIX, XLF). It automatically buckets these assets into three contagion waves:
Wave 1 (Immediate Impact): Correlation >= 0.70
Wave 2 (Lagging Impact): Correlation >= 0.40
Wave 3 (Distant/Isolated): Correlation < 0.40
3. Contagion Pressure Index (CPI)
Displayed as a central histogram, the CPI aggregates the correlation strength and directional movement of all 10 proxies. A positive score indicates risk-on contagion (assets are rising together), while a negative score indicates risk-off contagion (assets are falling together).
4. Systemic Risk Score (0-100)
Located in the dashboard, this gauge blends the magnitude of the CPI, the number of assets currently caught in Wave 1, and the recency of the last price shock. A score above 80 indicates severe market-wide stress.
Users can fully customize the shock thresholds, cumulative lookback windows, correlation lengths, and all 10 proxy tickers via the indicator settings to tailor the system to specific sectors or asset classes. Indicator

TICK & ADD Market Internals SuiteOverview: This is the ultimate Market Internals tool designed for professional SPX/ES and NQ intraday traders.
Traders often monitor both TICK (for short-term timing) and ADD (for daily trend context). However, displaying them on the same chart is usually problematic due to their different scales (TICK ±1000 vs. ADD ±2000), causing chart compression.
Market Internals Suite solves this with a smart "Visual Scaling" algorithm, perfectly fusing TICK Candles and the ADD Line into a single, coherent pane.
Key Features
1.Hybrid Visualization:
· TICK (Foreground): Displayed as OHLC Candles to capture instant liquidity sweeps and wicks.
· ADD (Background): Displayed as a clean Line to show the underlying market breadth trend without clutter.
2.Smart Visual Scaling:
· To prevent chart distortion, the ADD line is visually scaled down (Default Ratio: 1.5).
· This aligns the ADD trend volatility with the TICK range, allowing you to instantly spot divergences or resonance between sentiment and trend.
3.Real-Time Data Dashboard:
· Never lose track of the actual numbers. A dashboard in the top-right corner displays the TRUE values for both TICK and ADD (unscaled).
· Customizable Text Size: You can adjust the dashboard font size (Small/Normal/Large/Huge) in the settings to fit your screen.
4.TICK Extreme Alerts:
· Visual Highlight: The chart background highlights (Green/Red) only when TICK hits the extreme ±1000 levels.
· The ADD line remains clean and alert-free to serve as a stable reference.
Strategy: Context + Timing:
1.Trend Resonance
When the ADD line trends upward and TICK candles consistently maintain levels above zero, it indicates a healthy, strong trend. This is a signal to look for trend-following long setups.
2.Divergence Analysis (The "Holy Grail" Signal)
This combination view makes spotting internal divergences incredibly easy:
· Bearish Divergence: When Price makes a New High, but the ADD line or TICK peaks make a Lower High. This suggests buying exhaustion beneath the surface and often precedes a reversal down.
· Bullish Divergence: When Price makes a New Low, but the ADD line or TICK lows make a Higher Low. This suggests that selling pressure is being absorbed, signaling a potential bounce or reversal up. Indicator

Lump Sum Favorability (SPX & NDX)This indicator provides a visual dashboard to gauge the statistical favorability of deploying a "Lump Sum" investment into the SPX (S&P 500) or NDX (Nasdaq 100).
The primary goal is not to time the exact market bottom, but to identify zones of significant pessimism or euphoria. Historically, periods of indiscriminate selling have represented high-probability entry points for long-term investors.
The dashboard consists of two parts:
1. The Favorability Gauge: A 12-segment gauge that moves from Red (Unfavorable) to Teal (Favorable).
2. The Summary Text: An optional text box (enabled in settings) that provides a plain-English summary of the current market breadth.
---
The Method: Market Breadth
This indicator is not based on the price of the index itself. Price-based indicators (like an RSI on the SPX) can be misleading. In a market-cap-weighted index, a few mega-cap stocks can hold the index price up while the vast majority of "average" stocks are already in a deep bear market.
This tool uses Market Breadth to measure the true, underlying health and participation of the entire market.
How It Works
1. Data Source: The indicator pulls the daily percentage of companies within the selected index (SPX or NDX) that are trading above their 200-day moving average. (Data tickers: S5TH for SPX, NDTH for NDX).
2. Smoothing: This raw data is volatile. To filter out daily noise and confirm a persistent trend, the indicator calculates a 5-day Simple Moving Average (SMA) of this percentage. This is the value used by the indicator.
3. Interpretation:
High Value (>= 50%): More than half of the stocks are above their long-term average. This signifies the market is "Overheated" or in a risk-on phase. The favorability for a new lump sum investment is considered Low.
Low Value (< 50%): Less than half of the stocks are above their long-term average. This signifies "Oversold" conditions or capitulation. These moments historically offer the best favorability for starting a new long-term investment.
---
How to Use the Indicator
1. The Favorability Gauge
The gauge is designed to be intuitive: Red means "Stop/Caution," and Teal means "Go/Opportunity."
Note: The gauge's logic is inverted from the data value to achieve this simplicity.
Red Zone (Left): UNFAVORABLE
This corresponds to a high percentage of stocks being above their 200d MA (>= 50%). The market is considered Overheated, and the favorability for a new lump sum investment is low.
Teal Zone (Right): FAVORABLE
This corresponds to a low percentage of stocks being above their 200d MA (< 50%). The market is considered Oversold, and the favorability for a new lump sum investment is high.
2. The Summary Text
When "Show Summary Text" is enabled in the settings, a box will appear at the top-center of your chart. This box provides a clear, data-driven summary, such as:
"Currently, only 22% of S&P 500 companies are above their 200-day MA. Market is Oversold."
The color of this text will automatically change to match the market state (Red for Overheated, Teal for Oversold), providing instant confirmation of the gauge's reading.
---
Settings
Market: Choose the index to analyze: SPX (S&P 500) or NDX (Nasdaq 100).
Gauge Position: Select where the gauge dashboard should appear on your chart (default is Bottom Right).
Show Summary Text: Toggle the descriptive text box on or off (default is On).
---
This indicator is a statistical and historical guide, not a financial advice or timing signal. It is designed to measure favorability based on past market behavior, not to provide certainty.
Extreme oversold conditions can persist, and markets can always go lower. This tool should be used as one component of a broader investment and risk-management framework. Past performance is not a guarantee of future results. Indicator

Market Internal Strength (DJI/Nasdaq/S&P)Market Health Dow, Nasdaq & S\&P 500 Breadth
Track the true internal health of the US market's three most important indices the Dow Jones Industrial Average (DJI), the Nasdaq 100 (NDX), and the S\&P 500 (SPX).
Price action alone can be deceiving. A rising index might be driven by only a handful of mega-cap stocks, masking underlying weakness. This indicator provides a crucial look "under the hood" to measure the market's true breadth.
It visualizes the percentage of stocks within each index that are trading above their key moving averages (5, 20, 50, 100, 150, and 200-day). This allows you to instantly gauge whether a market trend is broadly supported by the majority of its constituent stocks.
Key Features
* Covers 3 Major US Indices Seamlessly switch your analysis between the Dow Jones, Nasdaq 100, and S\&P 500.
* Complete Breadth Picture Six MA periods offer a full view, from short-term momentum (5D, 20D) to the long-term institutional trend (150D, 200D).
* Fully Customizable Toggle the visibility of any line and adjust overbought/oversold levels to fit your personal strategy.
How to Use
1. Extreme Readings (Overbought/Oversold)
* Above 80% Signals a very strong, potentially overbought market. Caution is advised as a pullback could be near.
* Below 20% Signals a deeply oversold market, often indicating capitulation and potential buying opportunities.
2. Divergence (Powerful Warning Signal)
* Bearish The index price makes a new high, but this indicator makes a lower high. This warns that the rally is not broad-based and may be losing steam.
* Bullish The index price makes a new low, but this indicator makes a higher low. This suggests internal strength is building and a bottom may be forming.
3. Trend Confirmation
When the long-term lines (150D, 200D) remain high (e.g., \> 50%), the primary market trend is healthy and confirmed. Indicator

BBS – Bond Breadth Signal"When bonds scream, breadth collapses, and fear spikes — BBS listens."
🧠 BBS – Bond Breadth Signal
A reversal timing tool built on macro conviction, not price noise.
The Bond Breadth Signal (BBS) was developed to identify major market inflection points by combining four key market stress indicators:
1) 10-Year Yield ROC – Measures sharp moves in the bond market
2) Z-Score of the 10Y – Captures statistical extremes
3) NSHF (Net Highs–Lows) – Signals internal market strength or weakness
4) TLT ROC + VIX – Confirmations of flight to safety and volatility-driven fear
When all conditions align, BBS marks either a For-Sure Buy or For-Sure Sell — these are rare, high-confidence signals designed to cut through noise and focus on true market dislocations.
🔧 Features:
-Background color and signal arrows on confirmation days
-Signals remain visually active for 3 days for added clarity
-Fully adjustable thresholds and alert toggles
-Plot panel for yield, TLT, NSHF, VIX, and Z-score visuals
This tool isn’t designed to fire every day. It’s meant to wait for those moments when the market truly bends — not just wiggles.
Best used on major indices (SPY, QQQ, IWM) to assess macro turning points. Indicator

Market Breadth Toolkit [LuxAlgo]The Market Breadth Toolkit allows traders to use up to 6 different market breadth measures on two different exchanges, for a total of 12 different views of the market.
This toolkit includes divergence detection and allows setting custom fixed levels for traders who want to experiment with them.
🔶 USAGE
The main idea behind Breadth is to measure the number of advancing and declining issues and/or volume by exchange to have an idea of the underlying strength of the whole exchange.
On the other hand, thrusts represent big impulses in the breadth, as it is described by technicians to be the start of a new bullish trend.
By default, the Toolkit is set to "Breadth Thrust Zweig", with divergences enabled.
We will now explain all the different breadth measures available in the toolkit.
🔹 Deemer Breakaway Momentum
The "Breakaway Momentum" is a concept related to market breadth introduced by legendary technical analyst Walter Deemer.
As stated on his website:
We coined the term "breakaway momentum" in the 1970's to describe this REALLY powerful upward momentum
and:
We now know that the stock market generates breakaway momentum when the 10-day total advances on the NYSE are greater than 1.97 times the 10-day total NYSE declines OR the 20-day total advances on the NYSE are greater than 1.72 times the 20-day total NYSE declines.
As we can see in the chart above, which shows both methods, momentum is identified when the ratio of advancing issues to declining issues is greater than 1.97 for the 10-day average or 1.72 for the 20-day average.
🔹 Zweig Breadth Tools
Legendary trader and author Marting Zweig, best known as the author of "Winning on Wall Street" and the creator of the Put/Call Ratio.
In this toolkit, we feature two of his other tools:
Breadth Thrust: Number of Advancing / (Number of Advancing + Number of Declining Stocks)
Market Thrust: (Number of Advancing × Advancing Volume) — (Number of Declining Stocks × Declining Volume)
As we can see on the above chart, the Breadth Thrust printed a new signal on April 24, 2025, which is a bullish signal on the daily chart that can last several months, considering the previous signals.
On the right side, we have the Market Thrust as the delta between advancing minus declining volume weighted.
🔹 Whaley Measures
Wayne Whaley received the 2010 Charles Dow Award from the CMT Association, as stated on their website: "In 1994, the CMT Association established the Charles H. Dow Award to recognize outstanding research in technical analysis."
We include two of the tools from this paper:
Advance Decline Thrust: Number of Advancing / (Number of Advancing + Number of Declining Stocks)
Up/Down Volume Thrust Advancing Volume / (Advancing Volume + Declining Volume)
The chart above shows Thrust signals at extreme readings as described in the paper.
🔹 Divergences
The divergence detector is enabled by default, traders can disable it and fine-tune the detection length in the settings panel.
🔹 Fixed Levels
Traders can adjust the Thrust detection thresholds in the settings panel.
In the image above, we can see the Deemer Breakaway Momentum 10 with the original threshold (below) and with the 3.0 threshold (above).
🔶 SETTINGS
Breadth: Choose between 6 different breadth thrust measurement methods.
Data: Choose between NYSE or NASDAQ exchanges.
Divergences: Enable/Disable divergences and select the length detection.
🔹 Levels
Use Fixed Levels: Enable/Disable Fixed Levels.
Top Level: Select the top-level threshold.
Bottom Level: Select bottom level threshold.
Levels Style: Choose between dashed, dotted, or solid style.
🔹 Style
Breadth: Select breadth colors
Divergence: Select divergence colors
Indicator

Breadth-Driven Swing StrategyWhat it does
This script trades the S&P 500 purely on market breadth extremes:
• Data source : INDEX:S5TH = % of S&P 500 stocks above their own 200-day SMA (range 0–100).
• Buy when breadth is washed-out.
• Sell when breadth is overheated.
It is long-only by design; shorting and ATR trailing stops have been removed to keep the logic minimal and transparent.
⸻
Signals in plain English
1. Long entry
A. A 200-EMA trough in breadth is printed and the trough value is ≤ 40 %.
or
B. A 5-EMA trough appears, its prominence passes the user threshold, and the lowest breadth reading in the last 20 bars is ≤ 20 %.
(Toggle this secondary trigger on/off with “ Enter also on 5-EMA trough ”.)
2. Exit (close long)
First 200-EMA peak whose breadth value is ≥ 70 %.
3. Risk control
A fixed stop-loss (% of entry price, default 8 %) is attached to every long trade.
⸻
Key parameters (defaults shown)
• Long EMA length 200 • Short EMA length 5
• Peak prominence 0.5 pct-pts • Trough prominence 3 pct-pts
• Peak level 70 % • Trough level 40 % • 5-EMA trough level 20 %
• Fixed stop-loss 8 %
• “Enter also on 5-EMA trough” = true (allows additional entries on extreme momentum reversals)
Feel free to tighten or relax any of these thresholds to match your risk profile or account for different market regimes.
⸻
How to use it
1. Load the script on a daily SPX / SPY chart.
(The price chart drives order execution; the breadth series is pulled internally and does not need to be on the chart.)
2. Verify the breadth feed.
INDEX:S5TH is updated after each session; your broker must provide it.
3. Back-test across several cycles.
Two decades of daily data is recommended to see how the rules behave in bear markets, range markets, and bull trends.
4. Adjust position sizing in the Properties tab.
The default is “100 % of equity”; change it if you prefer smaller allocations or pyramiding caps.
⸻
Why it can help
• Breadth signals often lead price, allowing entries before index-level momentum turns.
• Simple, rule-based exits prevent “waiting for confirmation” paralysis.
• Only one input series—easy to audit, no black-box math.
Trade-offs
• Relies on a single breadth metric; other internals (advance/decline, equal-weight returns, etc.) are ignored.
• May sit in cash during shallow pullbacks that never push breadth ≤ 40 %.
• Signals arrive at the end of the session (breadth is EoD data).
⸻
Disclaimer
This script is provided for educational purposes only and is not financial advice. Markets are risky; test thoroughly and use your own judgment before trading real money.
ストラテジー概要
本スクリプトは S&P500 のマーケットブレッド(内部需給) だけを手がかりに、指数をスイングトレードします。
• ブレッドデータ : INDEX:S5TH
(S&P500 採用銘柄のうち、それぞれの 200 日移動平均線を上回っている銘柄比率。0–100 %)
• 買い : ブレッドが極端に売られたタイミング。
• 売り : ブレッドが過熱状態に達したタイミング。
余計な機能を削り、ロングオンリー & 固定ストップ のシンプル設計にしています。
⸻
シグナルの流れ
1. ロングエントリー
• 条件 A : 200-EMA がトラフを付け、その値が 40 % 以下
• 条件 B : 5-EMA がトラフを付け、
・プロミネンス条件を満たし
・直近 20 本のブレッドス最小値が 20 % 以下
• B 条件は「5-EMA トラフでもエントリー」を ON にすると有効
2. ロング決済
最初に出現した 200-EMA ピーク で、かつ値が 70 % 以上 のバーで手仕舞い。
3. リスク管理
各トレードに 固定ストップ(初期価格から 8 %)を設定。
⸻
主なパラメータ(デフォルト値)
• 長期 EMA 長さ : 200 • 短期 EMA 長さ : 5
• ピーク判定プロミネンス : 0.5 %pt • トラフ判定プロミネンス : 3 %pt
• ピーク水準 : 70 % • トラフ水準 : 40 % • 5-EMA トラフ水準 : 20 %
• 固定ストップ : 8 %
• 「5-EMA トラフでもエントリー」 : ON
相場環境やリスク許容度に合わせて閾値を調整してください。
⸻
使い方
1. 日足の SPX / SPY チャート にスクリプトを適用。
2. ブレッドデータの供給 (INDEX:S5TH) がブローカーで利用可能か確認。
3. 20 年以上の期間でバックテスト し、強気相場・弱気相場・レンジ局面での挙動を確認。
4. 資金配分 は プロパティ → 戦略実行 で調整可能(初期値は「資金の 100 %」)。
⸻
強み
• ブレッドは 価格より先行 することが多く、天底を早期に捉えやすい。
• ルールベースの出口で「もう少し待とう」と迷わずに済む。
• 入力 series は 1 本のみ、ブラックボックス要素なし。
注意点・弱み
• 単一指標に依存。他の内部需給(A/D ライン等)は考慮しない。
• 40 % を割らない浅い押し目では機会損失が起こる。
• ブレッドは終値ベースの更新。ザラ場中の変化は捉えられない。
⸻
免責事項
本スクリプトは 学習目的 で提供しています。投資助言ではありません。
実取引の前に必ず自己責任で十分な検証とリスク管理を行ってください。
Strategy

Indicator

Volume Stack US Top 40 [Pt]█ Overview
Volume Stack US Top 40 is a versatile PulseWire indicator designed to give you an at-a-glance view of market sentiment and volume dynamics across the top 40 U.S. large-cap stocks. Inspired by the popular Saty Volume Stack, this enhanced version aggregates essential volume and price strength data from major tickers on both the NYSE and NASDAQ, and works seamlessly on all timeframes.
█ Key Features
Dynamic Buy / Sell Volume Stack: This indicator dynamically stacks the volume bars so that the side with higher volume appears on top. For example, green over red signals more buy-side volume, while red over green indicates greater sell-side volume.
Cross-Market Analysis: Easily toggle between NYSE and NASDAQ to analyze the most influential U.S. stocks. The indicator automatically loads the correct set of tickers based on your selection.
Flexible Coverage: Choose from Top 10, Top 20, Top 30, or Top 40 tickers to tailor the tool to your desired scope of analysis.
Dynamic Table Display: A neat on-chart table lists the selected ticker symbols along with visual cues that reflect each stock’s strength. You can even remove exchange prefixes for a cleaner look.
█ Inputs & Settings
Market Selector: Choose whether to view data from the NYSE or NASDAQ; the indicator automatically loads the corresponding list of top tickers.
Number of Tickers: Select from ‘Top 10’, ‘Top 20’, ‘Top 30’, or ‘Top 40’ stocks to define the breadth of your analysis.
Color Options: Customize the colors for bullish and bearish histogram bars to suit your personal style.
Table Preferences: Adjust the on-chart table’s display style (grid or one row), text size, and decide whether to show exchange information alongside ticker symbols.
█ Usage & Benefits
Volume Stack US Top 40 is ideal for traders and investors who need a clear yet powerful tool to gauge overall market strength. By combining volume and price action data across multiple major stocks, it helps you:
Quickly assess whether the market sentiment is bullish or bearish.
Confirm trends by comparing volume patterns against intraday price movements.
Enhance your trading decisions with a visual representation of market breadth and dynamic buy/sell volume stacking.
Its intuitive design means you spend less time adjusting complex settings and more time making confident, informed decisions.
Indicator

S&P Short-Range Oscillator**SHOULD BE USED ON THE S&P 500 ONLY**
The S&P Short-Range Oscillator (SRO), inspired by the principles of Jim Cramer's oscillator, is a technical analysis tool designed to help traders identify potential buy and sell signals in the stock market, specifically for the S&P 500 index. The SRO combines several market indicators to provide a normalized measure of market sentiment, assisting traders in making informed decisions.
The SRO utilizes two simple moving averages (SMAs) of different lengths: a 5-day SMA and a 10-day SMA. It also incorporates the daily price change and market breadth (the net change of closing prices). The 5-day and 10-day SMAs are calculated based on the closing prices. The daily price change is determined by subtracting the opening price from the closing price. Market breadth is calculated as the difference between the current closing price and the previous closing price.
The raw value of the oscillator, referred to as SRO Raw, is the sum of the daily price change, the 5-day SMA, the 10-day SMA, and the market breadth. This raw value is then normalized using its mean and standard deviation over a 20-day period, ensuring that the oscillator is centered and maintains a consistent scale. Finally, the normalized value is scaled to fit within the range of -15 to 15.
When interpreting the SRO, a value below -5 indicates that the market is potentially oversold, suggesting it might be a good time to start buying stocks as the market could be poised for a rebound. Conversely, a value above 5 suggests that the market is potentially overbought. In this situation, it may be prudent to hold on to existing positions or consider selling if you have substantial gains.
The SRO is visually represented as a blue line on a chart, making it easy to track its movements. Red and green horizontal lines mark the overbought (5) and oversold (-5) levels, respectively. Additionally, the background color changes to light red when the oscillator is overbought and light green when it is oversold, providing a clear visual cue.
By incorporating the S&P Short-Range Oscillator into your trading strategy, you can gain valuable insights into market conditions and make more informed decisions about when to buy, sell, or hold your stocks. However, always consider other market factors and perform your own analysis before making any trading decisions.
The S&P Short-Range Oscillator is a powerful tool for traders looking to gain insights into market sentiment. It provides clear buy and sell signals through its combination of multiple indicators and normalization process. However, traders should be aware of its lagging nature and potential complexity, and use it in conjunction with other analysis methods for the best results.
Disclaimer
The S&P Short-Range Oscillator is for informational purposes only and should not be considered financial advice. Trading involves risk, and you should conduct your own research or consult a financial advisor before making investment decisions. The author is not responsible for any losses incurred from using this indicator. Use at your own risk. Indicator

Broad market index / Flowly Indicators- Overview
Broad market index is a market breadth based oscillator, depicting broad market trend by analysing ratio between symbols moving up and symbols moving down in a given market. When market breadth is positive, more symbols are going up and when negative, more symbols are going down. As markets tend to correlate, broad market trend dictates likely path for all individual symbols that make up the market.
This tool provides market breadth for US equities (based on NYSE advancers - decliners) and ability to build two custom breadth baskets with up to 39 symbols included in each. Market breadth can be customized with variety of smoothing options, weighting and threshold modes to find most optimal rules for trend following. Performance of the model is reflected on metrics showing percentage of up/down moves during bullish/bearish states.
Example
↑ 63% = 63% of price moves during positive breadth state are to the upside
↓ 59% = 59% of price moves during negative breadth state are to the downside
Breadth state is colorized on line and chart according to its state (negative/positive/equilibrium) and direction (trending up/down). Upper and lower bands depict historical turning points in breadth for identifying extremes in broad market trend. Triangles mark breadth thrusts, in other words abnormally large moves in breadth at either upper or lower extreme. Breadth thrusts can serve as early signs of broad market trend reverting.
- Concept and features
By default, market breadth is calculated based on NYSE advancers - decliners, usable for all major indices that depict broad markets in US equities (SP500, QQQ, IWM). Users can also build 2 custom breadth baskets consisting of up to 39 symbols for defining broad market on other asset classes, such as cryptocurrencies. Custom baskets are suitable for any chart that fairly represents a market as a whole.
Example
Basket consisting of cryptocurrencies = Use on CRYPTOCAP:TOTAL (all cryptocurrencies aggregated)
Basket consisting of healthcare stocks = Use on AMEX:XLV (healthcare sector ETF)
Breadth line can be further refined using various smoothing options (SMA, EMA, HMA, RMA, WMA), threshold method and weights. By default, threshold (dividing line between bullish and bearish states) is set to fixed at 0, depicting an equilibrium where equal amount of symbols are going up and down.
Threshold mode can also be set to Dynamic, switching threshold to a moving average of the breadth line. Fundamental functionality still remains, breadth line above threshold marks bullish state and below threshold marks bearish state. Difference here is that the threshold no longer depicts a point of equilibrium, but simply a smoothed version of the breadth line itself, which can catch turns in broad market trend earlier.
Breadth basket can be adjusted to volatility of the viewed chart, causing an overstating of breadth on high volatility and understating on low volatility. Weighting takes into account magnitude of up/down moves, which can provide better relevance for trend following purposes.
- Practical guide
Example #1 : Broad market trend
The utility of market breadth is based on the idea that markets correlate and individual symbols making up the market will eventually join the broad market trend. With this in mind, going against broad market is like swimming upstream, it's going to be the hard way. A well performing basket with clear skew for upside and downside on respective breadth states can be used to form directional bias for trades and risk on/off regimes for investing.
Example #2 : Broad market reversals
Thrusts signify two things: a historical extreme in breadth and an aggressive move to the opposite direction. Thrusts are valuable clues for exhaustion in broad market trend, potentially leading to a reversal.
Example #3 : Breadth/price divergences
Market breadth and price diverging signify events where most symbols that make up the market are going one way but a few high weight symbols (big tech for SP500) are going the other way. In other words, only a few symbols are moving the market while general interest and intention is to the other direction. Divergences in breadth and price are not ideal for sustainable trend and can be expected to eventually revert to the direction of broad market.
Indicator

Short Term IndeXThe Short-Term Index (STIX) is a simple market indicator designed to assess short-term overbought or oversold conditions in the stock market. Leveraging a combination of advancing and declining issues, STIX provides valuable insights into market sentiment and potential reversals. To enhance its interpretability and reveal the underlying trend with greater clarity, STIX has been refined through a Heiken-Ashi transformation, ensuring a smoother representation of market dynamics.
Calculation and Methodology:
stix = ta.ema(adv / (adv + dec) * 100, len)
STIX is calculated by dividing the difference between the sum of advancing issues (ADV) by the total number of issues traded (ADV + DEC). This quotient is multiplied by 100 to express the result as a percentage. The STIX index ranges from 0 to 100, where extreme values indicate potential overbought (mainly above 60) or oversold (mainly below 40) market conditions.
Heiken-Ashi Transformation:
By applying a Heiken-Ashi transformation to STIX, the indicator gains improved visual clarity and noise reduction. This transformation enhances the ability to identify trend shifts and potential reversal points, making it an even more valuable tool for traders and investors.
Utility and Use Cases:
-The Short-Term Index (STIX) offers a range of practical applications-
1. Overbought/Oversold Conditions: STIX provides a clear indication of short-term overbought or oversold conditions, helping traders anticipate potential market reversals.
2. Reversal Points: STIX can help pinpoint potential reversal points in short-term market trends, providing traders with opportunities to enter or exit positions.
3. Trend Analysis: By observing STIX values over time, traders can assess the strength and sustainability of short-term trends, aiding in trend-following strategies.
The Short-Term Index (STIX), enhanced by its Heiken-Ashi transformation, equips traders and investors with a tool for assessing short-term market conditions, confirming price movements, and identifying potential reversal points. Its robust methodology and refined presentation contribute to a more comprehensive understanding of short-term market dynamics, enabling traders to make well-informed trading decisions.
See Also:
- Other Market Breadth Indicators-
Indicator

Bolton-Tremblay IndexThe Bolton-Tremblay Index (BOLTR) is a dynamic cumulative advance-decline indicator which incorporates the count of unchanged issues as a fundamental element. This index serves as a valuable tool for identifying shifts in market trends and gauging the overall strength or weakness of the market. To enhance its effectiveness and reveal underlying trends, BOLTR has been refined through a Heiken-Ashi transformation, resulting in a smoother and more insightful representation.
Calculation and Methodology:
r = (adv - dec) / unch
var float bt = na
bt := r > 0 ? nz(bt ) + math.sqrt(math.abs(r)) : nz(bt ) - math.sqrt(math.abs(r))
The BOLTR index is derived from a calculation involving three essential components: advancing issues (ADV), declining issues (DEC), and securities with unchanged closing prices (UNC). By formulating the ratio (ADV - DEC) / UNC, BOLTR captures the relationship between market movements and unchanged securities. This ratio then dictates whether the BOLTR index increases or decreases in the following period. If the ratio is positive, the index advances, and if negative, it retreats. This iterative process yields a cumulative index that reflects the evolving dynamics of market trends.
Heiken-Ashi Transformation:
The addition of a Heiken-Ashi transformation imparts a smoothing effect to the BOLTR index, revealing the underlying trend with greater clarity. This transformation diminishes noise and fluctuations, making it easier to identify meaningful shifts in market sentiment and overall market health.
Utility and Use Cases:
-The Bolton-Tremblay Index offers a range of applications that contribute to informed decision-making-
1. Trend Analysis: BOLTR provides insights into the changing trends of the market, helping traders and investors identify potential shifts in market sentiment.
2. Market Strength Assessment: By considering advancing, declining, and unchanged issues, BOLTR offers a comprehensive assessment of market strength and potential weaknesses.
3. Divergences: Traders can use BOLTR to detect divergences between price movements and the cumulative advance-decline dynamics, potentially signaling shifts in market direction.
The Bolton-Tremblay Index offers a versatile toolset for interpreting market trends, evaluating market health, and making better informed trading decisions.
See Also:
- Other Market Breadth Indicators-
Indicator

Sector MomentumThis indicator shows the momentum of a market sector. Under the hood, it's the MACD of the number of stocks above their 20 SMA in a specific sectors. The best insight it gives is to tell if the market is doing a sector rotation or having a full blown correction.
Users have the options to choose a specific sector out of the 11 sectors:
XLB, XLC, XLE, XLF, XLI, XLK, XLP, XLRE, XLU, XLV, XLY or show all them them by adding multiple indicators.
Use this indicator similar to MACD to look for momentum acceleration, deceleration and turn in a sector. More importantly, users can open up the indicator for all sectors and then compare between each.
Examples:
1. When we see momentum slows down in XLP and turn of XLK, it's a sign of sector rotation from consumer staple to tech. Money is going from defensive to riskier assets. Market is leaning towards risk-on mode. Stocks in tech have higher probability to outperform those in consumer staple.
2. When we see momentum subside across all sectors all at once or one by one, particularly both XLP, XLK/XLY, we'd expect market breadth is taking a hit across all sectors. This is not a sector rotation. A short to mid term market correction or drawdown is very likely.
Indicator

Percent of U.S. Stocks Above VWAPThis indicator plots a line reflecting the percentage of all U.S. stocks above or below their VWAP for the given candle. Horizontal lines have been placed at 40% (oversold), 50% (mid-line), and 60% (overbought). I recommend using this indicator as a market breadth indicator when trading individual stocks. In my experience, this indicator is best utilized while trading the major indices (SPX, SPY, QQQ, IWM) or their futures (ES, NQ, RTY) in the following manner:
- When the line crosses 50%, a green or red triangle is plotted indicating the majority of market momentum has turned bullish or bearish based on price positioning vs. VWAP. Look for longs when the line is rising (green) or above 50%, or shorts when the line is falling (red) or below 50%.
- When the line is below 40%, indicator shows red shading; I would not be long anything during this period. When the line exits this level, I begin looking for long entries. This line is adjustable in the indicator settings if you prefer to use a tighter or looser oversold level.
- When the line is above 60%, indicator shows green shading; I would not be short anything during this period. When the line exits this level, I begin looking for short entries. This line is adjustable in the indicator settings if you prefer to use a tighter or looser overbought level.
This indicator uses the PulseWire ticker “PCTABOVEVWAP.US”, thus it only updates during NY market hours. If trading futures, I recommend applying VWAP to your chart and using that as the level to trade against in a similar manner, along with your personal price action analysis and other indicators you find useful.
Indicator

DOW 30 - Market BreadthDOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
This indicator is calculated from all stocks in the DJI as of 8/9/2022;
- Evaluating VWAP,
- 9 EMA,
- 20 EMA.
Vwap Calculations;
Stock above Vwap = 1 (Vwap Bull),
Stock below Vwap = 1 (Vwap Bear),
As there are 30 stocks in the DJI, there is a max value of 30 Vwap Bulls/ Vwap Bears.
Ema Calculation;
Stock above 9 EMA = 0.5 (EMA Bulls),
Stock below 9 EMA = 0.5 (EMA Bears),
Stock above 20 EMA = 0.5 (EMA Bulls),
Stock below 20 EMA = 0.5 (EMA Bears),
For the EMA Bulls to reach 30 all stocks must be trading above both the 9 EMA and 20 EMA to reach a Max Value of 30.
The reasoning for this calculation is to suggest the current strength and speed of the current turn in the market.
Horizontal Lines:
There are three horizontal lines, MAX, MIN & Neutral;
MAX & MIN
Resides at the 30 & 0 levels suggesting the market is currently at an extreme. Representing all stocks are moving in the same direction together.
When the MAX or MIN are represented in the VWAP Line this represents directional conviction in the underlining DJI.
Neutral
Neutral resides at the 15 level and represents that the market is either about to make a decision or is choppy.
EXAMPLE
Below are some examples of how the DOW 30 indicator is able to represent the current market conditions.
Understand Current Market Conditions, either being Bullish, Neutral, or Bearish.
See live Market Mechanics, and understand the current market direction on a short-term timeframe.
DOW 30 indicator is intended for short-term intraday analysis and should not be used solely alone. Best to use this indicator in a combination with technical and fundamental analysis.
If there are any additional requests to the indicator feel free to leave a comment or privet message.
Best of luck trading.
Indicator

Advance/Decline Line [IQ]Advance/Decline Line is a Market Breath indicator.
A/D line calculates a ratio between total number stocks advancing and total number of stocks in one day, providing another way to grasp the market breath at any moment.
We think the indicator covers the whole market, as we use data from the three main exchanges: NYSE, NASDAQ and AMEX.
The New York Stock Exchange (NYSE), nicknamed "The Big Board") is by far the world's largest stock exchange by market capitalization of its listed companies.
The Nasdaq Stock Market (NASDAQ) is ranked second on the list of stock exchanges by market capitalization of shares traded, behind the New York Stock Exchange.
The American Stock Exchange (AMEX) is the third largest stock exchange in the U.S. after the NYSE and the NASDAQ, and handles approximately 10% of all American trades.
How to interpret it:
Green columns mean more than 50% of NASDAQ stocks are advancing, red columns mean more than 50% of NASDAQ stocks are declining.
Green values above the top band mean correlation to the upside, red values bellow the low band mean correlation to the downside.
Correlation means rising probability of capitulation (to the upside or to the downside) and is market by a white bar (as signal).
Important:
For a better interpretation, the Advance/Decline Line indicator should be used in conjunction with other indicators (volatility, volume, etc.). Indicator

Indicator

Indicator
