OPEN-SOURCE SCRIPT

Dow Theory Market Structure Pro

1 254
Dow Theory Market Structure Pro is a price-action indicator designed to help traders identify and interpret market trends using classic Dow Theory principles.

The indicator automatically detects confirmed swing highs and swing lows and classifies the evolving market structure as:

  • HH: Higher High
  • HL: Higher Low
  • LH: Lower High
  • LL: Lower Low


A sequence of Higher Highs and Higher Lows indicates a bullish structure, while Lower Highs and Lower Lows indicate a bearish structure. Mixed structures are classified as a range or transition phase.

Key Features
  1. Automatic HH, HL, LH and LL identification
  2. Swing-high and swing-low trend lines
  3. Dynamic support and resistance levels
  4. Bullish breakout and bearish breakdown signals
  5. Bull, bear and range market classification
  6. Trend-strength score from -2 to +2
  7. Daily and weekly market-structure comparison
  8. Multi-timeframe trend-alignment status
  9. Price position within the current support-resistance range
  10. Upside-to-downside distance calculation
  11. Customisable dashboard, colours and display settings
  12. Alert conditions for structural changes, breakouts and breakdowns
  13. Trend-Strength Framework

The indicator assigns one point to each bullish structural condition and subtracts one point for each bearish condition:

  • +2: Strong Bull, with HH and HL
  • +1: Bullish Bias
  • 0: Range or Transition
  • -1: Bearish Bias
  • -2: Strong Bear, with LH and LL
  • Support and Resistance


The latest confirmed swing high is displayed as resistance, while the latest confirmed swing low is displayed as support. These levels automatically update when a new pivot is confirmed.

A breakout signal occurs when price closes above the current confirmed resistance. A breakdown signal occurs when price closes below the current confirmed support.

Multi-Timeframe View

The dashboard compares Daily and Weekly Dow Theory structures to indicate whether the two timeframes are bullishly aligned, bearishly aligned or mixed.

Important Note

Swing points are confirmed using a user-defined Pivot Length. Because confirmation requires additional bars to form after a potential turning point, swing labels and structure changes appear with an intentional delay. Increasing Pivot Length identifies fewer, more significant swings, while decreasing it produces faster but more sensitive signals.

This indicator is intended for market-structure analysis and trend confirmation. It does not predict future price movements or provide standalone buy or sell recommendations.

Disclaimer

This script is provided for educational and analytical purposes only and does not constitute financial advice. Market-structure signals, support and resistance levels, breakouts, breakdowns and multi-timeframe readings may produce false or delayed signals. Users should perform independent analysis and apply appropriate risk management before making investment or trading decisions.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。