Skip to content

trend indicator

Ichimoku Cloud backtesting — Ichimoku Cloud

The Ichimoku Cloud is a multi-line trend system that plots support/resistance, momentum, and a forward-projected "cloud" all from simple price midpoints, at several different time offsets. It packs more information onto the chart than most indicators — which also makes it easy to over-interpret, and testing individual pieces of the system separates what actually moves the needle from what doesn’t.

Try Ichimoku Cloud on BTC/USDT ETH/USDT SOL/USDT

How Ichimoku Cloud works

The Conversion Line (Tenkan-sen) and Base Line (Kijun-sen) are each the midpoint of the highest high and lowest low over their own lookback windows — the Conversion Line reacts faster, the Base Line slower. Leading Span A is the midpoint of those two lines, plotted forward by the displacement; Leading Span B is the midpoint of a longer high-low range, also plotted forward — together they form the cloud, and the space between them widens or narrows with volatility. The Lagging Span (Chikou) is simply the current close plotted backward by the displacement, for visually comparing current price against price several candles ago. CandleTest computes all five lines with TradingView-parity math. Common testable rules: price crossing above or below either leading span, and price holding above both spans at once as a whole-cloud confirmation filter.

Ichimoku Cloud settings

Conversion Lengthdefault 9

The lookback window for the Conversion Line (Tenkan-sen). Shorter values make it react quickly to short-term price swings.

Base Lengthdefault 26

The lookback window for the Base Line (Kijun-sen). Longer values produce a slower, more stable reference line that the Conversion Line crosses less often.

Leading Span B Lengthdefault 52

The lookback window for Leading Span B, the slower of the two cloud boundaries. Longer values make the cloud’s far edge track a broader price range.

Displacementdefault 26

How many candles forward the cloud (and backward the Lagging Span) is shifted. This is what turns the cloud into a forward-looking projection rather than a same-candle overlay.

Example Ichimoku Cloud strategies to backtest

Cloud breakout

Enter long when the close crosses above Leading Span A (the near edge of the cloud). Exit when the close crosses back below it.

Cloud confirmation entry

Enter long when the close crosses above Leading Span A and price is also above Leading Span B — confirming the breakout clears the whole cloud, not just its near edge. Exit when the close crosses back below Leading Span A.

Every rule above is buildable in the no-code strategy builder — pick conditions, press run, and get win rate, drawdown and equity curve on real exchange data with fees and leverage modeled.

Ichimoku Cloud FAQ

Do I need to understand all five Ichimoku lines to trade it?

No — most testable rules use just one or two of the lines, such as a breakout past Leading Span A or a whole-cloud confirmation using both leading spans together. Backtesting individual pieces separately is a practical way to learn which parts of the system carry the signal on your market.

What does it mean when price is inside the cloud?

It is generally read as an unclear or transitional phase, since the cloud represents a projected support/resistance zone rather than a firm level — many traders avoid new entries while price sits inside it. Whether filtering out in-cloud entries actually improves a rule’s backtest results is worth checking directly.

Is Ichimoku useful on lower timeframes for crypto?

It was designed with daily charts in mind, but the same midpoint math works at any timeframe — it just reacts faster on lower timeframes and can produce more noise. Backtest the specific timeframe you intend to trade rather than assuming daily-chart conventions transfer directly.

Is CandleTest’s Ichimoku the same as TradingView’s?

Yes — the Conversion Line, Base Line, both leading spans, and the Lagging Span follow TradingView’s conventions and displacement handling, and are unit-tested for parity.

Related indicators