Blog / Strategy
Strategy

Wedge Convergence Breakout

Disclaimer: This article is for educational and informational purposes only. It does not constitute financial or investment advice. Trading forex and CFDs carries significant risk of loss. Past performance of any strategy — including backtests — does not guarantee future results. Never trade with money you cannot afford to lose.

What Is This Strategy?

The Wedge Convergence Breakout is a chart-pattern trading strategy that hunts for one of the most recognizable shapes in technical analysis — the wedge — and trades its resolution. A wedge is a converging price channel in which both boundary lines tilt the same direction while the distance between them narrows. This strategy fits two least-squares trendlines (a "line of best fit" through recent price points) — one to the recent bar highs and one to the recent bar lows — and then checks whether those lines are pinching together while sharing a common tilt. When price finally escapes the wedge against its own slope, the strategy signals an entry.

The logic rests on a well-documented idea in classical charting: a wedge represents an exhausting move. In a rising wedge, buyers keep pushing price higher, but each new leg gains less ground and the range compresses — a sign momentum is fading. Classical theory holds that such a pattern tends to resolve against its slope, so a rising wedge is treated as bearish and a falling wedge as bullish. This strategy encodes that convention directly: it goes short when a rising wedge breaks down through its support line, and long when a falling wedge breaks up through its resistance line.

As a learning tool, the Wedge Convergence Breakout is well suited to traders who want to study how objective, rule-based pattern recognition can replace subjective "eyeballing" of trendlines. It is designed for compressing, transitional markets rather than strong one-directional trends or dead-flat ranges. It was built with liquid instruments in mind — a forex major such as EURUSD or GBPUSD, or gold (XAUUSD) — on intraday-to-swing timeframes like M30 or H1. Treat it as a framework for understanding convergence, tilt, and breakout confirmation, not as a shortcut to guaranteed outcomes.

How It Works

The strategy evaluates the market only once per newly-closed bar and uses closed bars only, so its signals do not repaint (change after the fact). Here is what happens on each new bar:

wedge convergence breakout MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
WedgeBars 24 12 60 Number of closed bars used to fit the two boundary trendlines (the wedge window). Larger values track slower, wider wedges.
ConvergenceRatio 0.70 0.40 0.95 Channel width now must be at most this fraction of the width at the window's start. Lower values demand a tighter pinch.
MinSlopeAtr 0.5 0.1 2.0 The average boundary must travel at least this many ATRs across the window, ensuring a genuine shared tilt rather than a flat triangle.
AtrPeriod 14 7 30 Lookback period for the Average True Range used to normalize tilt and size the stop and target.
SlAtrMult 1.5 0.5 4.0 Stop-loss distance as a multiple of ATR. Larger values give the trade more room but risk more per position.
TpAtrMult 2.5 1.0 6.0 Take-profit distance as a multiple of ATR. Together with SlAtrMult this sets the reward-to-risk ratio.
Lots 0.10 0.01 2.0 Fixed order volume in lots. Should be adjusted to your account size and risk tolerance.
Magic 44120 0 9,999,999 Unique identifier so the EA manages only its own positions and does not interfere with other trades.
wedge convergence breakout MT5 EA — MQL5 source code

Recommended Chart Settings

This strategy was designed with liquid instruments in mind — a forex major such as EURUSD or GBPUSD, or gold (XAUUSD) — on M30 to H1 timeframes, where wedges have room to form and resolve cleanly. That said, the timeframe is never hardcoded: the EA measures the wedge on whatever chart period it is attached to at run time, so you are free to experiment.

Because the tilt and risk are both scaled in ATR units, the same parameter thresholds remain meaningful across symbols and timeframes. Even so, results will vary considerably across different market conditions, instruments, and broker spreads. Always test any configuration on your own data before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Strengths of the approach. The Wedge Convergence Breakout turns a traditionally subjective pattern into a fully objective, repeatable rule set. Where two analysts might draw wedge trendlines differently, this strategy uses least-squares fitting so the boundaries are calculated the same way every time. The layered gates — convergence, shared tilt, and a decisive escaping close — are designed to filter out the aimless "pokes" that plague naive channel-breakout systems. Its non-repainting design and ATR-scaled risk are also sound engineering practices worth studying in their own right.

Known limitations. No pattern strategy fires on every bar, and wedges are relatively rare, so signals may be infrequent — this is a patient system, not a high-frequency one. Wedge theory itself is a heuristic, not a physical law: many wedges break in the "wrong" direction, and a linear trendline fit is a simplification of a curved or noisy boundary. Fixed-lot sizing does not adapt to changing account equity, and the fixed reward-to-risk target means the strategy will surrender trades that could have run further while also getting stopped out of moves that briefly go against it.

Where it may underperform. Strong, sustained trends can steamroll a wedge break and stop the trade in the opposite direction. Choppy, low-volatility ranges may produce false convergence signals with no follow-through, and news-driven volatility spikes can blow through ATR-based stops before the pattern's logic ever plays out. Widening spreads around market opens or major economic releases can also erode the edge. Understanding when a strategy struggles is as important as understanding when it works.

Risk Management Tips

Sound risk management matters more than any single entry signal. Consider these general principles as part of your education:

Risk Warning

Trading foreign exchange, CFDs, and other leveraged financial instruments involves substantial risk of loss and is not suitable for all investors. The strategies and tools discussed on this page are provided for educational purposes only and do not constitute financial advice, investment recommendations, or solicitation to trade. Always consult a qualified financial adviser before making trading decisions. Past backtest performance is not indicative of future results.

Downloads

← Back to Blog