Our journal app is in pre-release. If you notice a problem, please contact us.

Home › Articles › Ichimoku explained: the five lines, and why the cloud is drawn ahead

Article

Ichimoku explained: the five lines, and why the cloud is drawn ahead

Add Ichimoku to a chart and you get five lines and a shaded "cloud", and it is hard to know where to look. But if you look at each line alone, it is simple. This article shows what each of the five lines calculates, and why the cloud is drawn ahead of the latest bar, with a chart. It does not tell you whether to use it as a trade signal.

Published 14 Oct 2026By Kenji Okumura, Representative, Tiltnote (has traded forex)

In short

Most Ichimoku lines are the midpoint between the highest high and lowest low over a set number of bars. Two of them (the leading spans) are drawn 26 bars ahead, and one (the lagging span) 26 bars back. The cloud sits ahead of the latest bar not because it predicts the future, but because past values are shifted forward.

How the five lines are calculated

Ichimoku Kinko Hyo is a Japanese name, roughly "one-glance balance chart". Putting the MT5 help description[1] into numbers gives the list below. The help defines the "average price value" for the conversion line as the highest high plus the lowest low, divided by 2, and uses the same term for the base line and leading span B. The periods can be changed. Commonly used periods are 9, 26 and 52, which are also the values in the MQL5 reference example.[2] Other platforms may use different defaults or count the shift slightly differently, so check your own settings. This article covers only how the lines are calculated.

The shaded area between leading spans A and B is usually called the "cloud".

A made-up price path with the Ichimoku conversion line, base line, leading span A, leading span B (the cloud between them) and lagging span. The leading spans are drawn 26 bars ahead, and the lagging span 26 bars back.
A made-up example. The dotted vertical line is the latest bar. The cloud (between leading spans A and B) extends 26 bars to the right of it, and the lagging span (the round-dotted line) ends 26 bars to the left.

Why the cloud is drawn ahead

In the chart, the cloud reaches to the right of the latest bar, where there is no price yet. It is easy to read that as "the cloud shows the future". But leading spans A and B are values calculated from past prices, placed 26 bars ahead. No price that has not happened yet goes into them.

In the same way, the lagging span places the latest close 26 bars back, so it can be compared with the price from 26 bars ago.

How it differs from a moving average

A moving average (see SMA vs EMA) is the average of closes over a set number of bars. Ichimoku's conversion and base lines are the middle of the highest high and lowest low over a set number of bars. So as long as the highest high and lowest low stay the same, the line can stay flat (like the flat parts of the base line in the chart). Both are calculated from the past and lag behind price (see why indicators lag).

Check how you use it (you decide)

Many ways of reading Ichimoku are described, such as "price broke through the cloud" or "the conversion and base lines crossed". This article does not decide which to use, or whether to use it at all. If you use it, decide these first and log them, so you can see later how it worked for you:

The trading stats calculator turns a profit and loss list into win rate, average P&L and longest losing streak. With few trades, the numbers can change a lot.

Sources

  1. MetaQuotes. Ichimoku Kinko Hyo (MetaTrader 5 Help). https://www.metatrader5.com/en/terminal/help/indicators/trend_indicators/ikh
  2. MetaQuotes. iIchimoku (MQL5 Reference). https://www.mql5.com/en/docs/indicators/iichimoku

Tools for this article

Tag the trades you took on Ichimoku.

Tiltnote is a trading journal that is free to use with manual entries. On every trade you can log your strategy name, how you felt, whether you kept your rules, and a note. Put something like "Ichimoku cloud break" in the strategy name, and you can look back at those trades later.

Try Tiltnote free →Opens the Tiltnote web app. On the free plan, analysis and history show your most recent 14 days (older records are kept and unlock on the paid plan).

More articles

SMA vs EMA: what is the difference?Why indicators lag, and what that means in sudden movesSupport and resistance explainedGolden cross and death cross, explainedWhy a backtest can show an edge that isn't thereHow far can you trust your win rate?Articles →

Feedback on this page

Anything missing, unclear, or a tool you would like? Tell us in any language.

Numbers you entered in a tool are not sent. Please do not include account numbers or passwords. Privacy details

This article is general information. It is not investment advice or a recommendation to make any trade.

Updated 20 Oct 2026 · Run by Kenji Okumura, Representative, Tiltnote · About this site