Blog / Strategy
Strategy

Ichimoku Baseline 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 Ichimoku Baseline Breakout is a rule-based, trend-following strategy built around the Ichimoku Kinko Hyo indicator — a Japanese charting system that plots several averaged lines and a shaded "cloud" (the Kumo) to show trend direction, momentum, and support/resistance at a glance. Rather than trading every wiggle of price, this strategy waits for the market to first establish a clear trend using the cloud, and then looks for a specific pullback-and-resume pattern around the Ichimoku baseline (the Kijun-sen). It is a pure price-structure system: every line it uses is derived from bar highs and lows only, with no closing-price moving averages involved.

The strategy is designed for trending market conditions — periods where price is moving persistently in one direction rather than chopping sideways. When price sits cleanly above the cloud, the system only looks for long (buy) opportunities; when price sits below the cloud, it only looks for short (sell) opportunities. This "trade with the cloud" filter is what keeps the approach on the side of the dominant trend and helps it avoid fighting the prevailing move.

As a learning tool, the Ichimoku Baseline Breakout is well suited to traders who want to understand how the classic Ichimoku components fit together into a complete, mechanical trading plan — entry, exit, stop-loss, and take-profit all defined by rules. It is not a "set and forget" money machine, and it is not intended to be traded blindly. Think of it as a clean, transparent example of how a disciplined trend system is structured and how each condition contributes to the overall logic.

How It Works

The strategy evaluates its rules once per completed bar (candle) on a single timeframe. It first computes the core Ichimoku pieces, then checks whether a valid setup exists.

The Ichimoku building blocks:

Entry conditions — the strategy signals a LONG when all of the following are true:

The strategy signals a SHORT under the exact mirror image: price below the cloud, Tenkan below Kijun, price previously at or above the baseline, and price closing back below it. In plain English, the system buys strength that dips to its baseline and resumes, and sells weakness that rallies to its baseline and rolls over — always in the cloud's direction.

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

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

Strategy Parameters

Parameter Default Min Max Description
TenkanPeriod 9 5 15 Lookback (in bars) for the Tenkan-sen conversion line — the faster midpoint.
KijunPeriod 26 15 40 Lookback for the Kijun-sen baseline — the slower midpoint. Also sets the cloud's forward displacement.
SenkouBPeriod 52 30 80 Lookback for Senkou Span B — the widest cloud midpoint.
AtrPeriod 14 7 30 Lookback for the ATR used to size the stop-loss and take-profit.
AtrStopMult 2.0 1.0 4.0 Stop-loss distance as a multiple of ATR.
AtrTargetMult 3.0 1.0 6.0 Take-profit distance as a multiple of ATR.
UseBaselineExit 1 0 1 1 = also exit when price closes back through the Kijun against the trade; 0 = rely on stop/target only.
Lots 0.10 0.01 1.0 Trade volume (position size) in lots.
Ichimoku baseline breakout MT5 EA — MQL5 source code

Recommended Chart Settings

The Ichimoku Baseline Breakout runs on a single timeframe — whichever chart you attach it to. The classic Ichimoku periods (9 / 26 / 52) were originally designed with the daily (D1) chart in mind, and these remain a sensible starting point for study. That said, the strategy's trend-following logic can be examined on intraday charts such as H1 or H4 on major forex pairs (for example EUR/USD or GBP/USD), where trends tend to be cleaner than on very low timeframes.

Because the system is trend-driven, it is best studied on liquid instruments and timeframes that produce sustained directional moves rather than constant chop. Remember that behavior will vary considerably across different symbols, timeframes, and market conditions — a setting that looks reasonable in one environment may perform very differently in another. Always test on your chosen market before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Strengths of this approach. The strategy's biggest advantage is discipline. By requiring price to be on the correct side of the cloud and showing bullish/bearish line alignment and a fresh baseline reclaim, it filters out a large number of low-quality signals and keeps trades aligned with the dominant trend. The ATR-based stop and target mean risk parameters adapt automatically to volatility rather than using fixed pip distances, and the optional baseline-break exit gives the system a logical way to leave a trade when the structure it relied on has broken.

Known limitations of this indicator. Ichimoku is fundamentally a trend tool, and like all trend systems it can struggle in ranging or choppy markets. In sideways conditions, price may repeatedly cross back and forth through the baseline, producing false reclaim signals that get stopped out — a pattern often called "whipsaw." Because the lines are lagging by nature (they are built from lookback windows), entries can arrive after a meaningful part of a move has already happened. The strategy also enters at market with a fixed stop and target, so it does not trail profits on strong runners.

Where it may underperform. Expect the approach to be tested during low-volatility consolidations, news-driven spikes that jump through stops, and abrupt trend reversals where price is above the cloud one moment and collapsing the next. No single set of parameters is optimal in every regime, and over-tuning the settings to past data (curve-fitting) can make results look better in a backtest than they hold up in live conditions. Treat this EA as a structured framework to study, not a guaranteed outcome.

Risk Management Tips

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

Position sizing, patience, and consistency are what separate a durable process from a fragile one. Use this strategy as a way to practice those habits in a controlled, low-stakes setting.

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