LogoLogo
Return to StockChartsCharts & ToolsArticlesChartSchoolYour Dashboard
  • 📋ChartSchool
  • Table of Contents
    • Overview
      • Why Analyze Securities?
      • Technical Analysis
      • Fundamental Analysis
      • Random Walk vs. Non-Random Walk
      • Asset Allocation and Diversification
      • John Murphy's 10 Laws of Technical Trading
      • John Murphy's "Charting Made Easy" eBook
      • Technical Analysis 101
        • TA 101 – Part 1
        • TA 101 – Part 2
        • TA 101 – Part 3
        • TA 101 – Part 4
        • TA 101 – Part 5
        • TA 101 – Part 6
        • TA 101 – Part 7
        • TA 101 – Part 8
        • TA 101 – Part 9
        • TA 101 – Part 10
        • TA 101 – Part 11
        • TA 101 – Part 12
        • TA 101 – Part 13
        • TA 101 – Part 14
        • TA 101 – Part 15
        • TA 101 – Part 16
        • TA 101 – Part 17
      • Irrational Exuberance
      • Cognitive Biases
      • Arthur Hill on Goals, Style and Strategy
      • Arthur Hill on Moving Average Crossovers
      • Multicollinearity
      • "The Trader's Journal" by Gatis Roze
        • Stage 1: Money Management
        • Stage 2: Business of Investing
        • Stage 3: The Investor Self
        • Stage 4: Market Analysis
        • Stage 5: Routines
        • Stage 6: Stalking Your Trade
        • Stage 7: Buying
        • Stage 8: Monitoring Your Investments
        • Stage 9: Selling
        • Stage 10: Re-Examine, Refine, Re-Enhance
        • Additional Reading
      • Bob Farrell's 10 Rules
      • Richard Rhodes' Trading Rules
      • Donchian Trading Guidelines
      • Why and How To Use Correlation
    • Chart Analysis
      • What Are Charts?
      • Support & Resistance
      • Trend Lines
      • Gaps and Gap Analysis
      • Introduction to Chart Patterns
      • Chart Patterns
        • Broadening Top or Megaphone Top
        • Double Top Reversal
        • Double Bottom Reversal
        • Head and Shoulders Top
        • Head and Shoulders Bottom
        • Falling Wedge
        • Rising Wedge
        • Rounding Bottom
        • Triple Top Reversal
        • Triple Bottom Reversal
        • Bump and Run Reversal
        • Flag, Pennant
        • Symmetrical Triangle
        • Ascending Triangle
        • Descending Triangle
        • Rectangle
        • Price Channel
        • Measured Move—Bullish
        • Measured Move—Bearish
        • Cup With Handle
      • Chart Types
        • Arms CandleVolume
        • CandleVolume
        • Elder Impulse System
        • EquiVolume
        • Heikin-Ashi Candlesticks
        • Kagi Charts
        • Renko Charts
        • Three Line Break Charts
        • MarketCarpets
        • Relative Rotation Graphs (RRG Charts)
        • Seasonality Charts
        • Yield Curve
      • Candlestick Charts
        • Introduction to Candlesticks
        • Candlesticks and Traditional Chart Analysis
        • Candlesticks and Support
        • Candlesticks and Resistance
        • Candlestick Bullish Reversal Patterns
        • Candlestick Bearish Reversal Patterns
        • Candlestick Pattern Dictionary
      • Point and Figure Charts
        • Point and Figure Basics
          • Introduction to Point & Figure Charts
          • Point & Figure Scaling and Timeframes
          • P&F Trend Lines
        • Classic Patterns
          • P&F Bullish Breakouts
          • P&F Bearish Breakdowns
          • P&F Signal Reversed
          • P&F Catapults
          • P&F Triangles
          • P&F Bull & Bear Traps
        • P&F Price Objectives
          • P&F Price Objectives: Breakout and Reversal Method
          • P&F Price Objectives: Horizontal Counts
          • P&F Price Objectives: Vertical Counts
        • Point & Figure Indicators
        • P&F Scans and Alerts
          • P&F Pattern Alerts
      • Chart Annotation Tools
        • Andrews' Pitchfork
        • Stock Market Cycles
        • Fibonacci Retracements
        • Fibonacci Arcs
        • Fibonacci Fans
        • Fibonacci Time Zones
        • Quadrant Lines
        • Raff Regression Channel
        • Speed Resistance Lines
    • Technical Indicators & Overlays
      • Introduction to Technical Indicators and Oscillators
      • Technical Indicators
        • Accumulation/Distribution Line
        • Alligator Indicator
        • Aroon
        • Aroon Oscillator
        • ATR Bands
        • ATR Trailing Stops
        • Average Directional Index (ADX)
        • Average True Range (ATR) and Average True Range Percent (ATRP)
        • Balance of Power (BOP)
        • Bollinger BandWidth
        • %B Indicator
        • Chaikin Money Flow (CMF)
        • Chaikin Oscillator
        • Chande Trend Meter (CTM)
        • CMB Composite Index
        • Commodity Channel Index (CCI)
        • ConnorsRSI
        • Coppock Curve
        • Correlation Coefficient
        • DecisionPoint Price Momentum Oscillator (PMO)
        • Detrended Price Oscillator (DPO)
        • Distance From Highs
        • Distance From Lows
        • Distance To Highs
        • Distance To Lows
        • Distance From Moving Average
        • Ease of Movement (EMV)
        • Force Index
        • Gopalakrishnan Range Index
        • High Low Bands
        • High Minus Low
        • Highest High Value
        • Linear Regression R2
        • Lowest Low Value
        • Mass Index
        • MACD (Moving Average Convergence/Divergence) Oscillator
        • MACD-Histogram
        • MACD-V
        • MACD-V Histogram
        • Median Price
        • Money Flow Index (MFI)
        • Negative Volume Index (NVI)
        • On Balance Volume (OBV)
        • Percentage Price Oscillator (PPO)
        • Percentage Volume Oscillator (PVO)
        • Performance Spread
        • Price Relative/Relative Strength
        • Pring's Know Sure Thing (KST)
        • Pring's Special K
        • Rate of Change (ROC)
        • Relative Strength Index (RSI)
        • Relative Volume (RVOL)
        • RRG Relative Strength
        • StockCharts Technical Rank
        • Slope
        • Standard Deviation (Volatility)
        • Stochastic Oscillator (Fast, Slow, and Full)
        • StochRSI
        • Traffic Light
        • TRIX
        • True Range
        • True Strength Index
        • TTM Squeeze
        • Typical Price
        • Ulcer Index
        • Ultimate Oscillator
        • Vortex Indicator
        • Weighted Close
        • Williams %R
      • Technical Overlays
        • Anchored VWAP
        • Bollinger Bands
        • Chandelier Exit
        • Double Exponential Moving Average (DEMA)
        • Hull Moving Average (HMA)
        • Ichimoku Cloud
        • Kaufman's Adaptive Moving Average (KAMA)
        • Keltner Channels
        • Linear Regression Forecast
        • Linear Regression Intercept
        • Moving Averages—Simple and Exponential
        • Moving Average Ribbon
        • Moving Average Envelopes
        • Parabolic SAR
        • Pivot Points
        • Price Channels
        • Triple Exponential Moving Average (TEMA)
        • Volume-by-Price
        • Volume-Weighted Average Price (VWAP)
        • ZigZag
    • Market Indicators
      • Introduction to Market Indicators
        • Market Indicator Dictionary
      • Advance-Decline Line
      • Advance-Decline Percent
      • Advance-Decline Volume Line
      • Advance-Decline Volume Percent
      • Arms Index (TRIN)
      • Bullish Percent Index (BPI)
      • DecisionPoint Intermediate-Term Breadth Momentum Oscillator (ITBM)
      • DecisionPoint Intermediate-Term Volume Momentum Oscillator (ITVM)
      • DecisionPoint Swenlin Trading Oscillator (STO)
      • High-Low Index
      • High-Low Percent
      • McClellan Oscillator
      • McClellan Summation Index
      • Net New 52-Week Highs
      • Percent Above Moving Average
      • Pring's Bottom Fisher
      • Pring's Diffusion Indicators
      • Pring's Inflation and Deflation Indexes
      • Pring's Net New High Indicators
      • Put/Call Ratio
      • Record High Percent
      • Volatility Indices
    • Market Analysis
      • Dow Theory
      • Sector Rotation Analysis
      • Intermarket Analysis
      • The DecisionPoint Chart Gallery
      • DecisionPoint Rydex Asset Analysis
      • Wyckoff Analysis Articles
        • Wyckoff Market Analysis
        • Wyckoff Stock Analysis
        • The Wyckoff Method: A Tutorial
      • Elliott Wave Analysis Articles
        • Introduction to Elliott Wave Theory
        • Identifying Elliott Wave Patterns
        • Guidelines for Applying Elliott Wave Theory
    • Trading Strategies & Models
      • DecisionPoint Trend Model
      • Trading Strategies
        • Bollinger Band Squeeze
        • CCI Correction
        • CVR3 VIX Market Timing
        • Faber's Sector Rotation Trading Strategy
        • Gap Trading Strategies
        • Harmonic Patterns
        • Hindenburg Omen
        • Ichimoku Cloud Trading Strategies
        • The 'Last' Stochastic Technique
        • MACD Zero-Line Crosses With Swing Points
        • Moving Average Trading Strategies
          • Finding Support and Resistance in Moving Averages
          • Guppy Multiple Moving Average: An MA Ribbon Designed to Tip the Market’s Hand
          • How To Trade Price-to-Moving Average Crossovers
          • Trading the Bounce: Finding Support and Resistance in Moving Averages
          • Trading the Death Cross
          • Trading Using the Golden Cross
          • Using the 5-8-13 EMA Crossover for Short-Term Trades
        • Moving Momentum
        • Narrow Range Day NR7
        • Percent Above 50-day SMA
        • Percent B Money Flow
        • The Pre-Holiday Effect
        • RSI(2)
        • Six-Month Cycle MACD
        • Slope Performance Trend
        • Stochastic Pop and Drop
        • Swing Charting
        • Trend Quantification and Asset Allocation
    • Index & Market Indicator Catalog
      • Advance-Decline Indicators
      • Cboe Indices and Indicators
      • CME Futures and Spot Prices
      • DecisionPoint Sentiment Indicators
      • Dow Jones Breadth Indicators
      • Dow Jones Global Indices
      • Dow Jones Select Indices
      • Dow Jones Titans Indices
      • Dow Jones US Indices
      • Economic Indicators
      • ICE Futures and Spot Prices
      • Intellidex Indices
      • MSCI Indices
      • New 52-week Highs and Lows for Exchanges
      • NYSE Arca Equity Indices
      • NYSE Equity Indices
      • Philadelphia Indices
      • S&P 500 Sector and Industry Groups
      • S&P GSCI Indices
      • StockCharts AD Percent
      • StockCharts AD Volume Percent
      • StockCharts Bullish Percent Index
      • StockCharts High-Low Index
      • StockCharts High-Low Percent
      • StockCharts Percent Above Moving Average
      • StockCharts Pseudo Symbols
      • StockCharts Record High Percent
      • StockCharts Theoretical Indices
      • US Treasury Yields
    • 📖Glossary
      • 📖Glossary - A
      • 📖Glossary - B
      • 📖Glossary - C
      • 📖Glossary - D
      • 📖Glossary - E
      • 📖Glossary - F
      • 📖Glossary - G
      • 📖Glossary - H
      • 📖Glossary - I
      • 📖Glossary - J
      • 📖Glossary - K
      • 📖Glossary - L
      • 📖Glossary - M
      • 📖Glossary - N
      • 📖Glossary - O
      • 📖Glossary - P
      • 📖Glossary - Q
      • 📖Glossary - R
      • 📖Glossary - S
      • 📖Glossary - T
      • 📖Glossary - U
      • 📖Glossary - V
      • 📖Glossary - W
      • 📖Glossary - X, Y, Z
    • Options Glossary
    • Educational Resources
Powered by GitBook
LogoLogo

ON STOCKCHARTS

  • Charts & Tools
  • Articles
  • StockCharts TV
  • ChartSchool

MEMBERS

  • Your Dashboard
  • Your ChartLists
  • Advanced Scans
  • Technical Alerts

HELP

  • Support Center
  • FAQs
  • Contact Us
  • Pricing

COMPANY

  • About Us
  • What's New
  • Careers
  • StockCharts Store

© StockCharts.com, Inc. All Rights Reserved.

On this page
  • What Is the Slope Indicator?
  • Calculating the Slope
  • Trend Identification
  • Trend Strength
  • Trade Bias
  • Relative Strength
  • The Bottom Line
  • Using with SharpCharts
  • Suggested Scans
  • Oversold in an Uptrend
  • Overbought in a Downtrend

Was this helpful?

Export as PDF
  1. Table of Contents
  2. Technical Indicators & Overlays
  3. Technical Indicators

Slope

PreviousStockCharts Technical RankNextStandard Deviation (Volatility)

Last updated 11 months ago

Was this helpful?

What Is the Slope Indicator?

The slope indicator measures the rise-over-run of a linear regression, which is the line of best fit for a price series. Fluctuating above and below zero, the Slope indicator best resembles a without boundaries. It is not well suited for overbought/oversold levels, but can measure the direction and strength of a trend. It can also be used with other indicators to identify potential entry points within an ongoing trend.

Calculating the Slope

Slope is based on a linear regression (line of best fit). Even though the formula for a linear regression is beyond the scope of this article, a linear regression can be shown using the Raff Regression Channel in SharpCharts. This indicator features a linear regression in the middle with equidistant outer trend lines. Slope equals the rise-over-run for the linear regression. Rise refers to the price change. Run refers to the timeframe. A 20-day Slope would be the rise-over-run of a 20-day linear regression. If the rise is 4 points and the run is two days, then the slope would be 2 (4/2 = 2). If the rise is -6 points and the run is 2, then the slope would be -3 (-6/2 = -3). In general, an advancing period has a positive slope and a declining period has a negative slope. The steepness depends on the sharpness of the advance or decline.

Trend Identification

Trend Strength

Directional movement can also be important when analyzing the slope. A negative and rising slope shows improvement within a downtrend. A positive and falling slope shows deterioration within an uptrend. Chart 3 shows the Nasdaq 100 ETF (QQQQ) with the 100-day Slope. A 20-day simple moving average was added to identify upturns and downturns. A Slope is rising when above its 20-day SMA and falling when below. Four key crossovers are identified on this chart (green/red arrows). Notice that the crossovers occurred before the Slope turned negative or positive. This is like a leading indication for the Slope. Also, notice the bounce after the negative cross in July 2008 and the retest after the positive cross in January 2009. These early slope reversals foreshadowed a move into positive territory or a trend change, but you should not expect an extended move after every moving average crossover. The 100-day Slope moved below its 20-day SMA in August 2009, yet QQQQ kept moving higher. A declining and positive Slope reflects less steepness in the advance. Notice how the 100-day Slope remained positive as QQQQ continued higher from September 2009 to January 2010.

Trade Bias

Relative Strength

The Slope of two (or more) securities can be compared to identify relative strength and relative weakness. The chart below shows Amazon (AMZN) with the S&P 500. Both securities are shown with the 20-day Slope (black). The blue vertical line marks a point in early November when Amazon had a positive Slope and the S&P 500 had a negative Slope. Amazon was clearly outperforming the S&P 500 at this time. In fact, when the S&P 500 bottomed in early November, Amazon led the way higher with a move from 117 to 143. Notice that Amazon moved higher even as the Slope moved lower. The Amazon Slope turned negative in mid-December and the S&P 500 Slope was still positive. This situation repeated the second week of January. Based on the Slope comparison, Amazon went from relative strength in November to relative weakness in December and January. During these two months, the 20-day linear regression for Amazon was sloping down while the 20-day linear regression for the S&P 500 was sloping up.

The Bottom Line


Using with SharpCharts

Slope can be found near the bottom of the indicator list on SharpCharts. The default parameters (20) can be changed to suit the desired timeframe. Like all indicators, Slope can be positioned above the price plot, behind the price plot or below the price plot. In addition, users can click the green arrow next to advanced options to apply a moving average or another indicator to Slope.

Suggested Scans

Oversold in an Uptrend

This scan reveals stocks that are oversold (short-term Williams %R below -80) in a medium-term uptrend (positive 100-day Slope).

[type = stock] AND [country = US]
AND [Daily SMA(20,Daily Volume) > 40000]
AND [Daily SMA(60,Daily Close) > 5]

AND [Daily Slope(100,Daily Close) > 0]
AND [Daily Williams %R(10) < -80]

Overbought in a Downtrend

This scan reveals stocks that are overbought (short-term Williams %R above -20) in a medium-term downtrend (negative 100-day Slope).

[type = stock] AND [country = US]
AND [Daily SMA(20,Daily Volume) > 40000]
AND [Daily SMA(60,Daily Close) > 5]

AND [Daily Slope(100,Daily Close) < 0]
AND [Daily Williams %R(10) > -20]

Chart 1 shows SPY with three different 20-day periods (orange, yellow, blue). A 20-day is shown for each 20-day period. The linear regression, in the middle, represents the “line of best fit” for the 20 data points. The dotted lines mark the end of the 20-day period and the value of the slope at that price point. The first period is relatively flat and the slope is barely positive. The second period is up and the slope is clearly positive. The third period is down and the slope is negative. Keep in mind that the Slope changes as old data points are dropped off and new data points are added.

Slope can be used to . A positive slope is by definition an uptrend. Similarly, a negative slope defines a downtrend. Chart 2 shows the Dow Industrials with a 52-week Slope (one year). The red dotted lines show the Slope turning negative, while the green dotted lines show the slope turning positive. The 52-week Slope was positive for around two years (2006-2007) and then turned negative in February 2008. Even though the Dow bottomed in March 2009 and moved sharply higher, the 52-week Slope did not cross back into positive territory until September 2009. Notice that the slope does not predict the trend. Instead, it follows the trend or the price points. This means there will be some lag.

Slope alone cannot be used to participate in an ongoing trend, but it can be used with other indicators to identify potential entry points. In particular, Slope can be used for trend identification to establish a trading bias. A positive slope dictates a bullish bias, while a negative Slope dictates a bearish bias. Once a trading bias is established, a momentum oscillator can be used to identify potential entry points. The choice of momentum oscillator is really a personal preference. The example with Apple uses the 100-day Slope with 10-day . The look-back period for the Slope should be significantly longer than the look-back period for the momentum oscillator. The Slope defines the bigger trend, while the momentum oscillator represents a subset of that trend. Chart 4 shows the 100-day Slope moving above zero in July to establish a bullish bias. Only bullish signals are considered for the momentum oscillator. These include oversold readings, centerline crossovers, or signal line crossovers. Williams %R does not have a signal line, but and PPO do. The blue dotted lines show when 10-day Williams %R moves below -80% to become oversold. Notice that these readings correspond with short pullbacks in the stock. Except for the last oversold reading in early December, Apple resumed its uptrend soon after these oversold readings.

Slope measures the rise-over-run of a linear regression. In general, an uptrend is present when Slope is positive and a downtrend exists when the slope is negative. The timeframe depends on the number of days. 10 days covers a short-term trend, 100 days a medium-term trend, and 250 days a long-term trend. As with typical trend-following indicators, Slope lags price and reverses after an actual top or bottom. This does not, however, detract from its usefulness. Trend identification and trend strength are important tools, even for traders. As with moving averages, Slope can be used with momentum indicators to participate in an ongoing trend. for a live chart with the Slope indicator.

Learn More. For more details on the syntax to use for Slope scans, please see our in the Support Center.

Raff Regression Channel
quantify the trend
Williams %R
MACD
Click here
Scanning Indicator Reference
Slope - Chart 1
Slope - Chart 2
Slope - Chart 3
Slope - Chart 4
Slope - Chart 5
momentum oscillator