Blog / Strategy
Strategy

Liquidity Sweep OTE Continuation

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 Liquidity Sweep Ote Continuation strategy is a pure price-action expert advisor for MetaTrader 5 built around the ICT (Inner Circle Trader) "Optimal Trade Entry" concept — a retracement-entry pattern popular among smart-money and order-flow traders. It uses no technical indicators at all. Instead, it reads raw OHLC (open, high, low, close) candle data on a single chart timeframe and maps market structure directly from confirmed swing pivots, making it a transparent tool for studying how stop-runs and structure shifts are detected mechanically.

The strategy is designed for trending or post-reversal market conditions where price first sweeps a pool of resting liquidity (the cluster of stop-loss orders sitting just beyond an obvious swing high or low) and then shifts direction with a clear impulse. It is not a grid system, a martingale, or a scalper that fires on every tick — it patiently waits for a specific three-stage sequence to complete before it considers a single trade. Because it acts only after structure has visibly changed, it tends to stay flat during choppy, directionless ranges.

As a learning tool, this expert advisor is best suited to intermediate traders who want to see how the textbook "liquidity grab → break of structure → discount/premium entry" model can be translated into deterministic, repeatable code. Studying it helps you understand swing-pivot detection, state machines, and risk-anchored entries. It is presented here for educational analysis of a well-known trading pattern, not as a profit opportunity.

How It Works

The Liquidity Sweep Ote Continuation strategy builds every trade through a three-stage state machine. It evaluates conditions once per fully-closed bar, ignoring the still-forming candle, and it never holds more than one position at a time.

Market structure mapping

Stage 1 — The liquidity sweep (the signal to arm)

Stage 2 — The displacement / break of structure

Stage 3 — The Optimal Trade Entry (OTE)

Stop-loss logic

Take-profit logic

liquidity sweep OTE MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
SwingLookback 3 2 6 Number of bars a candle must dominate on each side to confirm a fractal swing pivot. Higher values mean fewer, more significant pivots.
OteShallow 0.62 0.50 0.72 The shallow edge of the Optimal Trade Entry pocket, as a fraction of the displacement leg (62% by default).
OteDeep 0.79 0.70 0.90 The deep edge of the OTE pocket (79% by default). Together with OteShallow it defines the discount/premium entry band.
RiskRewardRatio 2.0 1.0 5.0 The fixed reward-to-risk multiple used to place the take-profit relative to the stop distance.
MaxSweepToBosBars 8 2 25 Maximum bars allowed between the liquidity sweep and the break of structure before the setup expires.
MaxOteBars 12 3 40 Maximum bars allowed between the break of structure and the OTE retrace tag before the setup expires.
Lots 0.10 0.01 1.0 Fixed trade volume in lots for each position.
liquidity sweep OTE MT5 EA — MQL5 source code

Recommended Chart Settings

This strategy was designed to operate on the primary (chart) timeframe only, reading raw candles from whatever chart you attach it to. Because the ICT liquidity-and-structure model is most cleanly observed on intraday charts, many traders study it on liquid instruments such as major forex pairs (for example EUR/USD or GBP/USD) or index CFDs, typically on the M15, M30, or H1 timeframes where swing pivots are well-defined and spreads remain modest.

There is no single "correct" market for this approach. The swing-pivot, sweep, and OTE logic is generic, so you are encouraged to test it across several symbols and timeframes. Keep in mind that results will vary significantly across different instruments, sessions, and volatility regimes — a setting that maps structure well on one pair may behave very differently on another.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Like every mechanical system, the Liquidity Sweep Ote Continuation strategy has clear strengths and equally clear limitations that you should understand before relying on it for any decision.

Strengths

Limitations

This is a tool for studying a structured price-action concept, not a hands-off solution. Treat any signal it generates as a starting point for analysis, not a recommendation.

Risk Management Tips

Sound risk management matters far more than any single entry model. 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