Individuals Institutional

Call toll-free 800.328.1267

Market Insights

Opportunity knocks for those with trading in their DNA.
Curiosity creates opportunity. Insights create strategy. Born traders create their destiny.

Platform Tools for Market Internals and Breadth
David Russell
December 18, 2024

TradeStation’s platform is known for letting customers build their own tools. It also provides a series of calculated indexes for advanced technical analysis.

Today’s article will cover some of these indicators, which may be especially useful for assessing market internals.

TradeStation’s servers constantly monitor indexes like the S&P 500, Nasdaq-100 and Dow Jones Industrial Average. They track items like the number of stocks making new highs and lows, companies above moving averages and advancing/declining issues. The data is made available with proprietary symbols available on charts and RadarScreen™. (See the tables below for more.)

Customers can use these tools to confirm moves in the underlying index. For example, if fewer stocks make new highs as prices rise, it could suggest an uptrend is weakening.

Showing Highs & Lows

Let’s begin with a chart of the SPDR S&P 500 ETF (SPY) and the number of companies making new 52-week highs and new 52-week lows:

  • Click on the Apps menu and select Chart Analysis. When it appears, type “SPY” and hit enter.
  • Click the Timeframe button on the top left of the chart and select “Daily.” This ensures you are viewing daily bars.
  • Click the Data button on the top right of the chart and select “Add Symbol.” Enter this symbol: $52WHSP
  • Click the Data button on the top right of the chart and select “Add Symbol.” Enter this symbol: $52WLSP

SPDR S&P 500 ETF (SPY) with indexes showing new 52-week highs and lows. Dialog box shows adjustments described below.

The indexes will likely appear in two separate subgraphs at the bottom of the chart. TradeStation may plot them with candlesticks, but simple line charts may be more appropriate. To make the change:

  • Double click on one of the lower charts and a Customize Symbol dialog box will appear.
  • Click on the Style tab on the left.
    • Go to the “Bar” menu near the top and select “Line on close.”
    • You can also change the color of the chart.
  • Click on the Scaling tab to the left. This controls the subgraph (how far below the main chart)

Follow these steps for both $52WHSP and $52WLSP. Set them both to “Line on close” but consider giving them different colors. ($52WHSP, which shows new highs, could be green. $52WLSP, which shows new lows, could be red.) Also make sure they are assigned to the same subgraph using the Scaling tab.

Symbol Description
$52WHSP Number of S&P 500 Stocks Hitting New 52-week highs
$52WLSP Number of S&P 500 Stocks Hitting New 52-week lows
$52WHND Number of Nasdaq-100 Stocks Hitting New 52-week highs
$52WLND Number of Nasdaq-100 Stocks Hitting New 52-week lows
$52WHRL Number of Russell 2000 Stocks Hitting New 52-week highs
$52WLRL Number of Russell 2000 Stocks Hitting New 52-week lows
$52WHI Number of Dow Jones Industrial Stocks Hitting New 52-week highs
$52WLI Number of Dow Jones Industrial Stocks Hitting New 52-week lows

Moving Average Indexes

Another method considers stocks in relation to moving averages to assess the market’s strength. We’ll use TradeStation indexes showing the number of S&P 500 companies above their respective 20- and 50-day moving averages.

Begin with a daily chart of SPY as above. But add these two symbols instead: $20DMAASP and $50DMAASP. Follow the same steps with adjusting the chart type, colors and subgraphs.

Some traders may find this analysis useful for seeing inflection points when stocks change direction. These indexes may start falling before the market tops, or turn upward before the index reverses higher. Examples include:

  • January 2022: The number of stocks above their 20-day MAs started falling 2-3 weeks before selling hit the broader market.
  • October 2022: The number of stocks above their 20-day MAs started rising 2-3 weeks before the index bottomed and started climbing.
Symbol Description
$20DMAASP S&P 500 Stocks Over 20-day MA
$50DMAASP S&P 500 Stocks Over 50-day MA
$200DMAASP S&P 500 Stocks Over 200-day MA
$20DMAAND Nasdaq-100 Stocks Over 20-day MA
$50DMAAND Nasdaq-100 Stocks Over 50-day MA
$200DMAAND Nasdaq-100 Stocks Over 200-day MA
$50DMAARL Russell 2000 Stocks Over 20-day MA
$50DMAARL Russell 2000 Stocks Over 50-day MA
$200DMAARL Russell 2000 Stocks Over 200-day MA
$20DMAAI Dow Jones Industrial Stocks Over 20-day MA
$50DMAAI Dow Jones Industrial Stocks Over 50-day MA
$200DMAAI Dow Jones Industrial Stocks Over 200-day MA

 

SPDR S&P 500 ETF (SPY) between November 2021 and November 2022. Lower study shows the number of index members above their 20-day MAs.

Advance Decline Line

Another use of calculated indexes is advance/decline analysis, a common tool for measuring market breadth.

Begin again with a daily chart of SPY. Then follow these steps:

  1. Add these two symbols: $ADVSP and $DECLSP
  2. Customize both symbols. Go to to the Scaling tab and change the subgraph to “Hidden.”
  3. Click on Studies → Add Study. A dialog box will appear. Select “Advance Decl Line” and click OK.

This might be a little more complicated because the indicator uses the two symbols added in step 1. To make sure they are correctly assigned to the indicator, click on Data -> Edit Symbol. This will display the symbols in the chart and their respective data identifiers. Notice how SPY is Data1, $ADVSP is Data2 and $DECLSP is Data3.

Now right click on the indicator in the lower study and select “Edit ‘Advance-Decl Line.'” Follow the Inputs tab to the left. Make sure the data number for $ADVSP is assigned to AdvIssues and $DECLSP is assigned to DecIssues.

You can now see the performance of SPY with the advance/decline line at the bottom. This may help confirm or cast doubt doubt on moves in the broader market.

Using Different Indexes

There’s one more thing about the advance/decline line: TradeStation has different advancing and declining indexes for the various benchmarks. Users may want to reference this table when analyzing others like the Nasdaq-100:

Benchmark ETF Advancers Decliners
S&P 500 SPY $ADVSP $DECLSP
Nasdaq-100 QQQ $ADVND $DECLND
Dow Jones Industrial Average DIA $ADVI $DECLI
Russell 2000 IWM $ADVRL $DECLRL

SPDR S&P 500 ETF (SPY) with advance/decline line.


Standardized Performances for ETFs mentioned above

ETF 1 Year 5 Years 10 Years
SPDR S&P 500 ETF (SPY) +32.02% +91.71% +190.81%
Invesco QQQ (QQQ) +31.17% +148.80% +381.84%
iShares Russell 2000 (IWM) 34.63% +45.51% +107.28%
SPDR DJ Industrial Average (DIA) +25.02% +60.20% +152.72%

As of November 29, 2024. Based on TradeStation Data.

Exchange Traded Funds (“ETFs”) are subject to management fees and other expenses. Before making investment decisions, investors should carefully read information found in the prospectus or summary prospectus, if available, including investment objectives, risks, charges, and expenses. Click here to find the prospectus.

Tags:

About the author

David Russell is Global Head of Market Strategy at TradeStation. Drawing on nearly two decades of experience as a financial journalist and analyst, his background includes equities, emerging markets, fixed-income and derivatives. He previously worked at Bloomberg News, CNBC and E*TRADE Financial. Russell systematically reviews countless global financial headlines and indicators in search of broad tradable trends that present opportunities repeatedly over time. Customers can expect him to keep them apprised of sector leadership, relative strength and the big stories – especially those overlooked by other commentators. He’s also a big fan of generating leverage with options to limit capital at risk.