Dow Jones 30 - DonutThis indicator creates a circular "donut" or pie-chart that visualizes the absolute percentage changes of all 30 Dow Jones Industrial Average components over a user‑defined timeframe. Each component is represented by a colored slice whose angular size (i.e., its share of the full 360°) is proportional to how much the stock’s price moved (in absolute terms) during the selected period. In other words, stocks that moved the most get the largest slices.
A separate legend table lists all 30 tickers with their signed percentage change (positive or negative) and uses the same colors as the donut slices. This allows traders to quickly see:
Which Dow components are experiencing the highest volatility (largest absolute move).
Whether each component is up or down (green for positive, red for negative).
The relative contribution of each stock to the total movement of the index.
The donut chart is drawn on a fixed canvas at the right side of the chart, independent of the price scale, so it does not interfere with the main price action.
Time Frame>>>>>>>>>>>>>>>
The indicator fetches data for a user‑selectable timeframe. The default setting is D (daily), meaning it compares today’s close with the previous day’s close. Using the indicator’s settings, you can change the timeframe to any value supported by Trading-View (e.g., 60 for 60 minutes, W for weekly, M for monthly). The same timeframe is applied to all 30 stocks simultaneously.
How to Use>>>>>>>>>>>>
Add the indicator to any chart in Trading-View. Because it uses a fixed canvas, the underlying chart symbol does not matter – the indicator works standalone.
Adjust the “Timeframe” input (default = “D”) to analyze price changes over a different period, such as weekly or intraday.
Set the “Horizontal Offset” (default = 60) to move the donut chart left or right. The offset determines how many bars from the last bar the donut’s center is placed. Increase the value to shift the donut further to the right, decrease to bring it closer to the price bars.
Interpret the donut chart:
Each slice corresponds to one Dow component (see legend for ticker names).
Slice size = that stock’s absolute percentage change divided by the sum of all absolute percentage changes. Larger slices indicate bigger price swings.
Colors are fixed per ticker (e.g., AAPL is blue, MSFT is purple) to make identification easier.
If a slice is large enough (span ≥ 10°), a small label shows the slice’s percentage of the total absolute movement (not the signed change).
Read the legend table (positioned at the middle right of the chart):
Left column: ticker names, each in its slice color.
Right column: signed percentage change with a “+” or “−” sign, coloured green (positive) or red (negative). This tells you not only the magnitude but also the direction of each stock’s move.
Refresh – the indicator recalculates on every new bar. The donut and legend are updated only on the last bar (most recent complete bar of the selected timeframe) to conserve resources.
Important Notes on Behavior:-
The script makes exactly 30 data requests (one per component) to fetch both the current and previous close. This respects Trading-View’s limit of 40 security calls.
The donut uses absolute percentage changes, so a stock that drops 5% and a stock that rises 5% contribute equally to the slice size.
If all absolute changes are zero (e.g., on a holiday with no price movement), the script defaults to equal slice sizes (each 3.33% of the donut) to keep the visualization intact.
The indicator draws only once per bar (on barstate.islast) and deletes previous drawings to avoid clutter.
Disclaimer:=
This indicator is provided for informational and educational purposes only. It does not constitute financial advice, trading recommendations, or any form of solicitation to buy or sell securities. Past price movements do not guarantee future results. The data used by the indicator may be delayed or inaccurate, and the user assumes all risks associated with any trading decisions made while using this tool. Always conduct your own research and consult a qualified financial advisor before making investment decisions. Indicator

Dow Jones Institutional [MarkitTick]💡 This indicator provides a self-contained, institutional-grade market breadth suite specifically engineered for the Dow Jones Industrial Average. By directly computing the aggregate data of 30 component stocks, it delivers highly accurate internal market health metrics without relying on delayed or third-party breadth indices. It calculates five foundational market metrics dynamically, plotting them alongside an automated statistical dashboard and real-time divergence detection.
✨ Originality and Utility
● Self-Contained Breadth Engine
Standard market breadth indicators often require external data feeds that may not be available across all brokerages or may suffer from latency. This tool is highly original because it loops through the exact 30 components of the Dow Jones, applying predefined institutional weightings to construct its own proprietary data feed.
● Multi-Dimensional Metric Suite
Instead of cluttering the chart with multiple scripts, this tool consolidates five crucial breadth measurements into a single, seamless interface. Users can instantly switch between absolute momentum, volume flow, and standard deviation models depending on their analytical needs.
● Strict Anti-Repainting Architecture
The script utilizes historical data offsets within its security requests to ensure that all signals, statistics, and divergences are firmly locked upon bar close. This prevents the common pitfall of repainting and provides a reliable foundation for objective analysis.
🔬 Methodology and Concepts
● The Internal Calculation Loop
The core of the indicator relies on a single-pass data loop that evaluates the previous closing price, previous volume, and the price change of all 30 Dow components. It categorizes each asset as advancing, declining, or unchanged, and tallies both their raw count and their associated volume and liquidity.
● Supported Market Metrics
Advance/Decline Line: A cumulative sum of the net difference between advancing and declining issues, offering a broad view of market participation.
McClellan Oscillator: Derived by subtracting a slow exponential moving average (EMA) of the daily advance/decline ratio from a fast EMA of the same ratio. This highlights short-term shifts in breadth momentum.
McClellan Z-Score (Inst): Applies a standard deviation transformation to the McClellan Oscillator over a lookback period, normalizing the data to highlight institutional overbought and oversold extremes.
Arms Index (TRIN): A volume-weighted breadth measurement calculated by dividing the Advance/Decline Ratio by the Advance/Decline Volume Ratio.
Cumulative Weighted Liquidity: Tracks the net monetary flow based on stock-specific weightings and closing prices, scaled down for readability.
● Divergence Engine
The script continuously compares the selected breadth metric against the actual Dow Jones Industrial Average index. Using pivot highs and lows, it detects both regular and hidden divergences, marking structural disconnects between market price and underlying participation.
🎨 Visual Guide
● Main Chart Elements
Main Series Line: The primary plotted line representing the selected metric (e.g., McClellan Z-Score). Its color is defined by the Main Value Color setting.
Moving Average: A smoothed line tracking the main series, offering a clearer view of the prevailing trend.
Institutional Bounds: When using the Z-Score mode, dashed lines appear at the +2.0 and -2.0 levels, marking statistical extremes.
● Divergence Markers
Regular Bullish Divergence: Displayed as a dashed line connecting pivot lows when the breadth metric is rising but the index is falling.
Hidden Bullish Divergence: Displayed as a dotted line when the breadth metric is falling but the index is making higher lows.
Regular Bearish Divergence: A dashed line on pivot highs marking falling breadth against rising index prices.
Hidden Bearish Divergence: A dotted line indicating rising breadth while the index trend remains structurally bearish.
● Statistical Dashboard
A dynamic table anchored to the bottom right of the chart provides real-time data on the current bar. It displays Advancing/Declining counts, Net Volume percentages, Total Liquidity, and the current TRIN value, color-coded based on positive or negative net flow.
📖 How to Use
● Trend Confirmation
Use the Advance/Decline Line or Cumulative Liquidity modes to confirm the primary trend. If the Dow Jones is reaching new highs but the A/D line is failing to follow suit, it signals poor participation and a potential impending reversal.
● Mean Reversion Trading
Switch to the McClellan Z-Score mode to identify exhaustion points. Readings extending beyond the +2.0 or -2.0 thresholds indicate that the market is statistically overextended. A cross back inside these bands can serve as a trigger for a mean-reversion setup, which is also supported by automated alerts.
● Divergence Trading
Monitor the automated divergence lines. A Regular Bullish Divergence printed at a significant support level on the index provides a high-probability indication that underlying buying pressure is accumulating, even as the visible price continues to drop.
⚙️ Inputs and Settings
● General Settings
Select Metric: The dropdown menu allowing you to choose which breadth calculation to display.
● Timeframe Configuration
Enable Automatic Timeframe Configuration: When enabled, the script dynamically adjusts the moving average and EMA lengths based on whether you are viewing an intraday, daily, or weekly chart.
● Manual Overrides
MA Length: Defines the lookback for the secondary moving average.
McClellan Fast/Slow EMA: Adjusts the sensitivity of the McClellan calculations.
Z-Score Lookback: Determines the historical sample size used for the standard deviation calculation.
Divergence Pivot Size: Sets the strictness of the pivot high/low detection for divergence plotting.
● Visual Configuration
Allows complete customization of the colors used for the main line, moving averages, divergence lines, and dashboard text.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Market Breadth Theory
The script is fundamentally rooted in the academic premise of market breadth, which posits that a healthy market trend must be supported by the majority of its constituent assets. If a major index is driven by a small handful of heavily weighted stocks while the majority decline, the structural integrity of the trend is compromised.
● Standard Deviation and Z-Score Normalization
By applying a Z-Score transformation to the McClellan Oscillator, the indicator utilizes statistical normalization. The Z-Score calculates the number of standard deviations a data point is from the mean. In financial modeling, a Z-score beyond 2.0 or -2.0 encompasses roughly 95% of the data distribution, meaning instances outside these bounds represent significant anomalies or extreme institutional imbalances.
● Volume-Weighted Price Analysis
The inclusion of the Arms Index (TRIN) and Cumulative Weighted Liquidity introduces volume as a confirming variable. Academic research indicates that price movements supported by expanding volume carry higher validity. By comparing the ratio of advancing/declining issues to their respective volume flows, the script filters out low-conviction market noise.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indicator

Indicator

Indicator

Breadth Indicators NYSE Percent Above Moving AverageBreadth Indicators NYSE - transmits the processed data from the Barchart provider
NYSE - Breadth Indicators
S&P 500 - Breadth Indicators
DOW - Breadth Indicators
RUSSEL 1000 - Breadth Indicators
RUSSEL 2000 - Breadth Indicators
RUSSEL 3000 - Breadth Indicators
Moving Average - 5, 20, 50, 100, 150, 200
The "Percentage above 50-day SMA" indicator measures the percentage of stocks in the index trading above their 50-day moving average. It is a useful tool for assessing the general state of the market and identifying overbought and oversold conditions.
One way to use the "Percentage above 50-day SMA" indicator in a trading strategy is to combine it with a long-term moving average to determine whether the trend is bullish or bearish. Another way to use it is to combine it with a short-term moving average to identify pullbacks and rebounds within the overall trend.
The purpose of using the "Percentage above 50-day SMA" indicator is to participate in a larger trend with a better risk-reward ratio. By using this indicator to identify pullbacks and bounces, you can reduce the risk of entering trades at the wrong time.
Bull Signal Recap:
150-day EMA of $SPXA50R crosses above 52.5 and remains above 47.50 to set the bullish tone.
5-day EMA of $SPXA50R moves below 40 to signal a pullback
5-day EMA of $SPXA50R moves above 50 to signal an upturn
Bear Signal Recap:
150-day EMA of $SPXA50R crosses below 47.50 and remains below 52.50 to set the bearish tone.
5-day EMA of $SPXA50R moves above 60 to signal a bounce
5-day EMA of $SPXA50R moves below 50 to signal a downturn
Tweaking
There are numerous ways to tweak a trading system, but chartists should avoid over-optimizing the indicator settings. In other words, don't attempt to find the perfect moving average period or crossover level. Perfection is unattainable when developing a system or trading the markets. It is important to keep the system logical and focus tweaks on other aspects, such as the actual price chart of the underlying security.
What do levels above and below 50% signify in the long-term moving average?
A move above 52.5% is deemed bullish, and below 47.5% is deemed bearish. These levels help to reduce whipsaws by using buffers for bullish and bearish thresholds.
How does the short-term moving average work to identify pullbacks or bounces?
When using a 5-day EMA, a move below 40 signals a pullback, and a move above 60 signals a bounce.
How is the reversal of pullback or bounce identified?
A move back above 50 after a pullback or below 50 after a bounce signals that the respective trend may be resuming.
How can you ensure that the uptrend has resumed?
It’s important to wait for the surge above 50 to ensure the uptrend has resumed, signaling improved breadth.
Can the system be tweaked to optimize indicator settings?
While there are various ways to tweak the system, seeking perfection through over-optimizing settings is advised against. It's crucial to keep the system logical and focus tweaks on the price chart of the underlying security.
RUSSIAN \ Русская версия.
Индикатор "Процент выше 50-дневной скользящей средней" измеряет процент акций, торгующихся в индексе выше их 50-дневной скользящей средней. Это полезный инструмент для оценки общего состояния рынка и выявления условий перекупленности и перепроданности.
Один из способов использования индикатора "Процент выше 50-дневной скользящей средней" в торговой стратегии - это объединить его с долгосрочной скользящей средней, чтобы определить, является ли тренд бычьим или медвежьим. Другой способ использовать его - объединить с краткосрочной скользящей средней, чтобы выявить откаты и отскоки в рамках общего тренда.
Цель использования индикатора "Процент выше 50-дневной скользящей средней" - участвовать в более широком тренде с лучшим соотношением риска и прибыли. Используя этот индикатор для выявления откатов и отскоков, вы можете снизить риск входа в сделки в неподходящее время.
Краткое описание бычьего сигнала:
150-дневная ЕМА на уровне $SPXA50R пересекает отметку 52,5 и остается выше 47,50, что задает бычий настрой.
5-дневная ЕМА на уровне $SPXA50R опускается ниже 40, сигнализируя об откате
5-дневная ЕМА на уровне $SPXA50R поднимается выше 50, сигнализируя о росте
Обзор медвежьих сигналов:
150-дневная ЕМА на уровне $SPXA50R пересекает уровень ниже 47,50 и остается ниже 52,50, что указывает на медвежий настрой.
5-дневная ЕМА на уровне $SPXA50R поднимается выше 60, сигнализируя о отскоке
5-дневная ЕМА на уровне $SPXA50 опускается ниже 50, что сигнализирует о спаде
Корректировка
Существует множество способов настроить торговую систему, но графологам следует избегать чрезмерной оптимизации настроек индикатора. Другими словами, не пытайтесь найти идеальный период скользящей средней или уровень пересечения. Совершенство недостижимо при разработке системы или торговле на рынках. Важно поддерживать логику системы и уделять особое внимание другим аспектам, таким как график фактической цены базовой ценной бумаги.
Что означают уровни выше и ниже 50% в долгосрочной скользящей средней?
Движение выше 52,5% считается бычьим, а ниже 47,5% - медвежьим. Эти уровни помогают снизить риски, используя буферы для бычьих и медвежьих порогов.
Как краткосрочная скользящая средняя помогает идентифицировать откаты или отскоки?
При использовании 5-дневной ЕМА движение ниже 40 указывает на откат, а движение выше 60 указывает на отскок.
Как определяется разворот отката или отскока?
Движение выше 50 после отката или ниже 50 после отскока сигнализирует о возможном возобновлении соответствующего тренда.
Как вы можете гарантировать, что восходящий тренд возобновился?
Важно дождаться скачка выше 50, чтобы убедиться в возобновлении восходящего тренда, сигнализирующего о расширении диапазона.
Можно ли настроить систему для оптимизации настроек индикатора?
Хотя существуют различные способы настройки системы, не рекомендуется стремиться к совершенству с помощью чрезмерной оптимизации настроек. Крайне важно сохранить логичность системы и сфокусировать изменения на ценовом графике базовой ценной бумаги. Indicator

Market Average TrendThis indicator aims to be complimentary to SPDR Tracker , but I've adjusted the name as I've been able to utilize the "INDEX" data provider to support essentially every US market.
This is a breadth market internal indicator that allows quick review of strength given the 5, 20, 50, 100, 150 and 200 simple moving averages. Each can be toggled to build whatever combinations are desired, I recommend reviewing classic combinations such as 5 & 20 as well as 50 & 200.
It's entirely possible that I've missed some markets that "INDEX" provides data for, if you find any feel free to drop a comment and I'll add support for them in an update.
Markets currently supported:
S&P 100
S&P 500
S&P ENERGIES
S&P INFO TECH
S&P MATERIALS
S&P UTILITIES
S&P FINANCIALS
S&P REAL ESTATE
S&P CON STAPLES
S&P HEALTH CARE
S&P INDUSTRIALS
S&P TELECOM SRVS
S&P CONSUMER DISC
S&P GROWTH
NAS 100
NAS COMP
DOW INDUSTRIAL
DOW COMP
DOW UTILITIES
DOW TRANSPORTATION
RUSSELL 1000
RUSSELL 2000
RUSSELL 3000
You can utilize this to watch stocks for dip buys or potential trend continuation entries, short entries, swing exits or numerous other portfolio management strategies.
If using it with stocks, it's advisable to ensure the stock often follows the index, otherwise obviously it's great to use with major indexes and determine holdings sentiment.
Important!
The "INDEX" data provider only supplies updates to all of the various data feeds at the end of day, I've noticed quite some delays even after market close and not taken time to review their actual update schedule (if even published). Therefore, it's strongly recommended to mostly ignore the last value in the series until it's the day after.
Only works on daily timeframes and above, please don't comment that it's not working if on other timeframes lower than daily :)
Feedback and suggestions are always welcome, enjoy! Indicator

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

Indicator

Indicator

Indicator

Strategy

Strategy

Strategy
