All indicators

Three Drive Pattern Detector

By LuxAlgoAug 6, 2024

Static chart image

The Three Drive Pattern Detector finds and draws the harmonic Three Drives sequence: three successive drives separated by pullbacks holding proportional ratios, a structure widely watched as a reversal signal. Its defining feature is multi-length swing detection, evaluating up to 99 swing length periods simultaneously and surfacing short- and long-term formations in one pass.

How to Trade the Three Drive Pattern Detector?

  • Completed pattern: the third drive marks the potential reversal zone, bullish or bearish by direction.
  • Ratio labels: the classic anchors are the 0.618 retracement and 1.272 extension, with some sources widening toward 0.786 and 1.618; hover a label to see its exact bounds.
  • 'Ratios With Margin': displays flexible reversal areas, while strict 'Ratios' isolates the most ideal level.
  • Dashed final segments: mark overlapping patterns sharing swing points, or an older pattern adapted to the latest swing data.

The tool does not draw exits; common practice from its documentation places a stop reference at the final drive's 1.618 extension, with profit interest at the pattern's origin and its retracement levels.

Three Drive Pattern Detector Settings

  • Minimum Swing Length and Maximum Swing Length: bounds of the multi-length scan; keep the maximum at or above the minimum.
  • Retracement and Extension: the ratio windows patterns must respect.
  • Width Margin: filters segment duration; tighter percentages demand symmetry, broader ones admit more varied shapes.
  • Show Ratios: strict 'Ratios' or 'Ratios With Margin'.
  • Calculated Bars: restrict analysis to recent bars for speed, or 0 to process all history.
  • Show Dashboard, Location, Size: the last-pattern readout and its placement.

Frequently Asked Questions

Why scan multiple swing lengths at once?

A pattern legible at one swing length is invisible at another, so sweeping the whole range between your minimum and maximum uncovers formations any single configuration would skip.

How strict should the ratios be?

Strict ratios keep detections closest to the textbook 0.618 and 1.272 relationships but appear rarely, while widening toward the margin bounds multiplies detections at the cost of technical validity. The dashboard's last-detection date is a quick gauge of whether your strictness suits the market.

Is the Three Drive Pattern Detector free, and what else covers harmonics?

Yes — it belongs to the free LuxAlgo Library, and from this page you can push it into Quant, LuxAlgo's AI, for testing. For the wider family of harmonic formations beyond Three Drives, see Harmonic Pattern Detection.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo

The Library is free. Quant makes it yours.

Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.