Skip to content
All library documents

Automating Rising and Falling Wedge Detection with Confirmed Pivots

Article MQL5 articles

Summary

This article describes an MQL5 indicator that identifies rising and falling wedges from confirmed swing highs and lows. Its detection framework checks for multiple pivot touches on each boundary, compares the direction and relative steepness of the trendlines to establish convergence, and filters overlapping structures. The indicator draws and manages detected patterns, then monitors price for a breakout or a move that invalidates the expected structure. Inputs let users tune pivot sensitivity, minimum touches, displayed history, line projection, and labels.

The document presents the method as a way to make chart-pattern recognition more consistent and to reduce reliance on manually drawn lines. It reports testing across instruments and timeframes, claiming stable detection and clear charts, but gives no detailed results or quantitative performance measures. Wedges are treated as structural analysis rather than standalone trade signals; the article advises using them within a broader strategy and validating behavior under individual market conditions. The provided excerpt omits much of the implementation and validation detail.

Key ideas

  • A wedge is defined by converging boundaries containing successive swing highs and lows.
  • Confirmed pivots and repeated touches are used to validate each boundary.
  • Relative line slopes distinguish rising wedges from falling wedges.
  • The indicator tracks breakouts and structural failures after detection.
  • Pattern detection provides context and is not presented as a complete trading system.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.