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 Mid Body Reclaim Reversal is a pure price-action reversal strategy built on the piercing line / dark cloud cover candlestick pattern — a classic two-candle "deep reclaim" formation. It uses no indicators at all: no moving averages, no oscillators, no RSI. Every decision comes from raw candle geometry and raw swing extremes, which makes it an excellent teaching example for traders who want to understand how candlestick structure alone can describe a sudden shift in market control.
In plain terms, the pattern looks for a moment where one side of the market has been firmly in charge — a strong directional candle — and then the very next candle first extends that move to a fresh extreme before violently snapping back. When that reversing candle closes back deep inside the prior candle's real body (past its midpoint) but does not fully engulf it, the strategy treats this as a "more than half given back" reclaim. The traders who chased the new extreme are suddenly offside, and the side that owned the prior candle has been overrun. This is the counter-trend "fingerprint" the strategy is designed to detect.
This is a counter-trend reversal style, meaning it fades a tired drive rather than following momentum. It was designed for liquid markets such as EUR/USD or XAU/USD (gold) on the M15 and H1 timeframes, though the logic runs on any liquid symbol or timeframe. It is best suited to intermediate learners who already understand basic candlestick anatomy and want to study how a textbook reversal pattern can be expressed as precise, rule-based conditions. Because it trades against the prevailing move, it is a strategy to analyze and test, not a shortcut — reversal trading is one of the harder disciplines to master.
How It Works
The classic piercing line and dark cloud cover patterns traditionally require a price gap between candles. Gapless intraday forex almost never prints one, so the strategy replaces the gap with its honest equivalent: the signal candle must trade to a fresh extreme of the recent swing window before reversing. The strategy evaluates conditions once per newly-closed bar and holds only one position at a time.
For a long (bullish piercing-line reclaim ending a down-drive), the strategy signals an entry when all of the following are true:
- Net down run: the market traveled net downward into the prior candle (the prior close is below the close from
RunBarsago), confirming an actual trend leg where stops likely sit. - Decisive prior body: the prior candle is a strong bearish body — a real drive, not a doji — with its body at least
MinPriorBodyof its total range. - Fresh swing low: the signal candle dips to a new lowest low of the lookback window, proving it genuinely extended the move.
- Dipped below prior close: the signal candle's low pushes below the prior candle's close (the no-gap substitute).
- Mid-body reclaim: the signal candle then closes back at or above the prior body's midpoint (
PenetrationFrac), deep inside the prior body. - Not a full engulf: the close stays below the prior candle's open — this is a reclaim, not an engulfing bar.
- Decisive bullish signal body: the signal candle closes above its own open.
A short (bearish dark cloud cover reclaim ending an up-drive) is the exact mirror: a net up run, a decisive bullish prior candle, a fresh swing high, a poke above the prior close, a close back below the prior body's midpoint without fully engulfing, and a decisive bearish signal body.
Stop-loss logic: For longs, the stop sits just below the lower of the signal low and prior low, minus a small buffer (BufferFrac of the signal candle's range). For shorts, it sits just above the higher of the two highs, plus the same buffer. The stop is placed past the rejected extreme — the structural point the reversal invalidates.
Take-profit logic: The target is a fixed multiple of that structural stop distance, set by RiskReward. With the default of 2.0, the strategy signals a take-profit twice as far from entry as the stop — a defined-risk, fixed reward-to-risk model.

Strategy Parameters
| Parameter | Default | Min | Max | Description |
|---|---|---|---|---|
| Lots | 0.10 | 0.01 | 1.00 | Fixed trade volume (position size) in lots for each trade. |
| RunBars | 4 | 2 | 10 | Number of bars in the directional run feeding the prior drive candle; defines the trend-leg gate. |
| Lookback | 12 | 5 | 50 | Length of the swing window used to confirm the signal candle printed a fresh extreme. |
| PenetrationFrac | 0.50 | 0.50 | 0.95 | How deep into the prior candle's body the close must reclaim (0.50 = midpoint, 0.95 = near the far edge). |
| MinPriorBody | 0.45 | 0.20 | 0.80 | Minimum body size of the prior candle as a fraction of its full range, ensuring a decisive drive. |
| RiskReward | 2.0 | 1.0 | 5.0 | Take-profit distance as a multiple of the structural stop distance. |
| BufferFrac | 0.10 | 0.00 | 1.00 | Extra stop-loss padding as a fraction of the signal candle's range. |

Recommended Chart Settings
This strategy was designed primarily for EUR/USD or XAU/USD (gold) on the M15 or H1 timeframes. These liquid markets tend to produce cleaner candle structure and tighter spreads, which matters for a pattern that depends on precise body and extreme relationships. The logic will run on any liquid symbol or timeframe, but the default parameters were tuned with these conditions in mind. Remember that results will vary considerably across different instruments, sessions, and market conditions — what behaves well in a trending, volatile environment may behave very differently in a quiet, range-bound one.
How to Install on MetaTrader 5
- Download the .ex5 file from the link below
- Copy it to your MT5
MQL5\Expertsfolder - Restart MetaTrader 5 or refresh the Navigator panel
- Drag the EA onto a chart matching the recommended symbol and timeframe
- Configure the input parameters and enable Algo Trading
What to Consider Before Using This EA
The main strength of this approach is its clarity. Because it relies on raw candle geometry rather than lagging indicators, every signal is fully explainable after the fact — you can look at the chart and see exactly why a trade triggered. The multiple gates (decisive prior body, fresh extreme, measured run, mid-body reclaim, no full engulf) are deliberately selective, which filters out a great deal of noise and keeps the strategy from firing on weak or ambiguous candles. The structural stop and fixed reward-to-risk target also give it a disciplined, defined-risk character.
The limitations are equally important to understand. As a counter-trend reversal method, it deliberately trades against the prevailing move, which is inherently challenging: a strong trend can keep extending well past any single reclaim candle, and reversal patterns produce frequent false signals during powerful, one-directional drives. Because the conditions are strict, the strategy may trade infrequently, and a long quiet stretch between signals is normal. It may also underperform in choppy, low-volatility ranges where "fresh extremes" carry little meaning, or during high-impact news when spreads widen and candle shapes distort. No pattern works in every regime, and this one is no exception. Treat it as a structured framework to study and forward-test, not a finished system.
Risk Management Tips
Sound risk management matters far more than any single entry signal. A few general principles every learner should internalize:
- Position sizing: Size each trade so that a stop-out costs only a small, pre-decided fraction of your account. A common educational guideline is risking no more than 1–2% of equity per trade.
- Use a demo account first: Always forward-test on a demo or paper account until you understand how the strategy behaves across different sessions and conditions before considering any live capital.
- Understand drawdown: Even a well-designed strategy experiences losing streaks. Study the historical drawdown and ask whether you could tolerate it emotionally and financially.
- Account for costs: Spreads, commissions, and slippage all erode results, especially on shorter timeframes — include them in any testing.
- Avoid over-leverage: Leverage magnifies losses as readily as gains. Conservative leverage gives a strategy room to survive normal variance.
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
- Expert Advisor: MidBodyReclaimReversal.ex5 (2 downloads)
- Source Code: MidBodyReclaimReversal.mq5 (2 downloads)
- Documentation: MidBodyReclaimReversal.pdf (5 downloads)