Blog / Strategy
Strategy

Base Departure 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 Base Departure Retest strategy is a pure price-action supply and demand engine that trades the classic Rally-Base-Rally and Drop-Base-Drop pattern without using a single technical indicator. Instead of relying on moving averages or oscillators, it reads raw candle structure to map out zones — narrow price areas where a brief pause (the "base") was followed by an explosive move (the "departure"). This is a swing-style, mean-reversion-to-zone approach rooted in the supply and demand school of technical analysis, where the central idea is that institutions leave footprints when they accumulate or distribute large orders.

In plain terms, supply and demand trading assumes that when price leaves an area very quickly, it likely left unfilled orders behind. If price later returns to that same area, those resting orders may push it away again. The Base Departure Retest engine automates this logic: it identifies the originating base candle, remembers it as a demand zone (for buys) or a supply zone (for sells), and waits patiently for price to come back and show a rejection before entering in the original direction of the impulse.

This strategy is best suited to traders who want to learn how mechanical supply and demand systems are constructed. Because every rule is explicit — what counts as a base, what counts as an impulse, how a retest is confirmed — it is an excellent teaching tool for understanding zone-based entries, distal-edge stop placement, and fixed reward-to-risk targeting. It is designed for trending or impulsive market conditions where strong departures from consolidation are common, rather than choppy, directionless ranges.

How It Works

The engine processes one newly-closed candle at a time and performs two jobs on each bar: it looks for new zones to form, and it manages retests of existing zones. A "candle range" here simply means the distance from a candle's high to its low, and the strategy compares every candle against a rolling average range measured over the recent lookback window.

Zone formation — the strategy signals a new zone when:

Entry — the strategy signals a trade when price retests the zone:

Exit, stop-loss, and take-profit logic:

base departure retest strategy
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
ImpulseFactor 2.0 1.5 4.0 How strong the departure candle's body must be, as a multiple of average range, to qualify as an impulse. Higher values demand more explosive moves.
BaseMaxRangeFactor 0.6 0.3 1.2 Maximum size of the base candle, as a fraction of average range. Lower values require a tighter, quieter consolidation.
RewardRisk 2.0 1.0 4.0 The reward-to-risk multiple used to set the take-profit relative to the stop-loss distance.
ZoneLifetimeBars 40 10 120 How many bars a zone remains active and tradeable before it expires unused.
BufferFactor 0.25 0.0 1.0 Extra padding behind the zone edge for the stop-loss, as a multiple of average range.
BasisPeriod 20 10 50 The lookback window used to calculate the average candle range that all comparisons are measured against.
Lots 0.10 0.01 1.0 The fixed trade volume in lots per position.
base departure retest strategy — MQL5 source code

Recommended Chart Settings

The Base Departure Retest strategy was designed as a general-purpose price-action engine and works on the concept of candle structure rather than any single market. As a starting point for study, many supply and demand traders apply zone systems like this to major forex pairs such as EUR/USD or GBP/USD on the H1 (1-hour) or H4 (4-hour) timeframes, where impulsive departures from consolidation are clean and zones are meaningful. The higher timeframes also produce fewer, higher-quality zones, which makes the logic easier to observe while learning.

Because the engine measures everything relative to a rolling average range, it adapts to different volatility regimes automatically. That said, results will vary considerably across symbols, timeframes, and market conditions. Always test any configuration on historical data and a demo account before drawing conclusions, and remember that a setting that behaves well in one market may behave very differently in another.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Like every approach, the Base Departure Retest engine has clear strengths and equally clear limitations, and understanding both is part of learning to evaluate any trading system.

Strengths of this approach:

Known limitations:

This is a tool for studying how zone-based logic behaves, not a finished solution. Treat its signals as a structured way to observe supply and demand in action, and always validate behaviour yourself before relying on it.

Risk Management Tips

Sound risk management matters far more than any single entry rule. As you study this strategy, keep these general principles in mind:

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