Blog / Strategy
Strategy

Origin Zone Retest

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 Origin Zone Retest is a single-timeframe, price-action strategy that combines supply and demand zones with a momentum (impulse) filter built on the Average True Range (ATR) indicator. ATR is a volatility measure that reports the average size of recent price bars, and here it acts as the yardstick that decides whether a candle is genuinely "strong." The strategy identifies a powerful departure candle, remembers the origin it launched from, and then waits patiently for price to return to that origin before it considers a trade. Because it relies only on raw candle geometry rather than a stack of lagging indicators, it belongs to the broader family of supply-and-demand price-action trading.

The core idea is intuitive. When a large, one-directional candle leaves an area quickly, it suggests that motivated buyers or sellers stepped in there. That launching area — the "origin" — becomes a fresh demand zone after a bullish impulse, or a fresh supply zone after a bearish impulse. The strategy assumes these areas are often defended the first time price revisits them, which can offer an objective, repeatable entry with a clearly defined risk boundary.

As a learning tool, this strategy is well suited to traders who want to study how impulse-and-retest logic can be expressed in strict, mechanical rules. It is designed for trending or momentum-driven conditions rather than flat, directionless ranges. Treat what follows as a strategy analysis meant to build understanding of supply/demand mechanics — not as a promise of any particular outcome.

How It Works

The strategy processes one completed bar at a time. It never acts on the still-forming candle; it evaluates the just-closed bar, which keeps signals stable and repaintable-free. Here is the logic, step by step.

Detecting the impulse (origin zone creation):

Entry conditions — the retest:

Stop-loss logic:

Take-profit logic:

Trade management (break-even):

Zone housekeeping:

origin zone retest MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
ImpulseAtrMult 1.2 0.6 2.5 How large the impulse candle's body must be, as a multiple of ATR. Higher values demand stronger momentum before a zone is created.
BodyRatio 0.55 0.40 0.80 Minimum fraction of the candle's total range that its body must fill. Higher values reject wicky, indecisive candles.
ZoneLookback 30 10 100 Number of bars a fresh zone stays valid before it expires unused.
AtrPeriod 14 7 30 Lookback period for the ATR used to size zone thickness, stops, and targets.
SlAtrMult 1.0 0.3 2.5 How far beyond the zone's far edge the stop-loss sits, as a multiple of ATR.
RewardRisk 2.0 1.0 4.0 Take-profit distance expressed as a multiple of the trade's risk.
Lots 0.10 0.01 1.0 Fixed trade volume in lots.
origin zone retest MT5 EA — MQL5 source code

Recommended Chart Settings

The Origin Zone Retest is a single-timeframe strategy, so it reads only the chart it is attached to — there is no higher-timeframe dependency to configure. Because its impulse and zone logic scale automatically with ATR, it can be studied across a range of instruments and timeframes. A common starting point for this style is a liquid forex pair such as EUR/USD on an intraday timeframe like M15 or H1, where momentum bursts and their retests are frequent enough to observe clearly.

Remember that supply and demand behaves differently across assets and sessions. A setting that looks reasonable on one pair or timeframe may behave very differently on another, and results will vary across changing market conditions. Always study the strategy on your chosen symbol and timeframe before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every mechanical strategy has strengths and trade-offs, and understanding both is part of using it responsibly.

Strengths of this approach:

Known limitations:

This is a tool for studying how supply/demand and momentum can be combined mechanically. It is neither a guaranteed edge nor something to dismiss — it is a framework worth understanding on its own terms.

Risk Management Tips

Sound risk management matters more than any single entry signal. Keep these general principles in mind as you study this or any strategy:

Risk management is not a footnote to a strategy — it is the strategy. Prioritise capital preservation over chasing any individual setup.

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