What Is the Kijun Sen Line? The Five Ichimoku Lines
What is the kijun sen line? The midpoint of the last 26 bars' whole range. All five Ichimoku formulas, and why the kijun stands still so often.
The kijun-sen, usually called the base line in English, is the midpoint of the last 26 bars' whole range: the highest high over those 26 bars plus the lowest low, divided by two. It is an average of two extremes, not an average of closing prices.
The five formulas are published widely. What they do to the lines is not, so we built all five on our own data and counted. On EUR/USD 15-minute bars the kijun did not move at all on 60.2% of bars, while a 26-period average of closes on the same bars did not move on 0.3% of them.
Every count here comes from the same measurement: EUR/USD and GER40, the euro-quoted German index, on 15-minute, hourly, 4-hour and daily bars, January to August 2026, aggregated up from our cleaned Dukascopy 1-minute candles, with daily bars cut at 00:00 UTC, which is where ChartLabs cuts them. That is eight instrument and timeframe combinations, and where a number varies between them the range is given.
What is the kijun-sen?
The midpoint of the range of the last 26 bars. Take the highest high of the last 26 bars, take the lowest low of the same 26 bars, add them and halve the result.
The specialist site ichimoku-kinko-hyo.info states it cleanly: the kijun "depicts the average of the highest and lowest prices over the last 26 periods". Finance Strategists says the same thing with one useful hedge, calling it "Computed by averaging the highest high and the lowest low for a particular period, typically the past 26 periods". The 26 is a convention. If you change it, you are using a different line and you should write the number down.
"Base line" is the usual English name. WH SelfInvest's walk-through of the system calls it the "standard line".
What is the tenkan-sen?
Exactly the same calculation over 9 bars instead of 26: the highest high of the last 9 bars plus the lowest low, divided by two. The usual English name is the conversion line, and you will sometimes see "turning line".
WH SelfInvest uses a name you will not meet anywhere else. It heads the section "The CMO (the turning line)" and says "The CMO line is an average of the highest highs and lowest lows over the last 9 periods", then switches to calling it the Tenkan Sen in the same paragraph. If you run into "CMO line" in an Ichimoku context it means the tenkan-sen, but it is not the standard name and we would not use it.
Kijun or tenkan: what is the difference?
Only the lookback: 9 bars against 26. What that changes in practice is how often each line moves at all.
Because both lines are midpoints of a range, they change only when a new high or a new low enters the window or an old extreme drops out of it. Most bars do neither.
| Line | How often it was unchanged from one bar to the next |
|---|---|
| Kijun, 26 bars | about 50% to 66% of bars |
| Tenkan, 9 bars | 33% to 39% of bars |
| A 26-period average of closes, for contrast | 0.0% to 0.3% of bars |
So the faster line moves on roughly three bars in five and the slower one on fewer than half. That is what "fast line" and "slow line" mean here in practice.
An average of closes changes on virtually every bar, because every new close is a new number. A range midpoint does not.
What are the five Ichimoku formulas?
All five in one block, quoted from OANDA's education page:
- Tenkan-sen, the conversion line: "(9-period high + 9-period low)/2"
- Kijun-sen, the base line: "(26-period high + 26-period low)/2"
- Senkou span A, leading span A: "(Conversion line + base line)/2, plotted 26 periods forward"
- Senkou span B, leading span B: "(52-period high + 52-period low)/2, plotted 26 periods forward"
- Chikou span, the lagging span: "Current closing price plotted 26 periods backward"
The two spans are calculated from today's bars and drawn 26 bars into the future, which is why the cloud extends past the last candle. The chikou is today's close drawn 26 bars into the past. The cloud sitting under today's candle was calculated 26 bars ago.
You will see the system described as having five components and as having six. OANDA does both on one page, because counting the cloud itself alongside the two spans that form it gives six. Both counts describe the same chart.
The system was published in 1969. OANDA credits it to "journalist Goichi Hosoda".
Is Ichimoku in ChartLabs, and where are the five lines?
Yes, as one indicator rather than five. Ichimoku Cloud sits in the chart's Indicators menu, in the Standard list under the Trend heading, and it draws all five lines and the shaded cloud straight onto the price pane. There is no separate menu entry for the kijun or the tenkan: adding Ichimoku Cloud adds the whole set at once.
Our legend labels the lines in English, which is worth knowing if you came here looking for the Japanese names. Conversion is the tenkan-sen, Base is the kijun-sen, Lead A and Lead B are senkou spans A and B, and Lagging is the chikou span. The settings hold four numbers, Conversion Line Length 9, Base Line Length 26, Leading Span B Length 52 and Displacement 26, and the lagging span runs on that same displacement rather than a number of its own.
Why does the kijun go flat, and what does a flat kijun mean?
It goes flat because no new high or low has entered or left the 26-bar window, so the midpoint is arithmetically unchanged. On our data this is the normal state of the line: the base line is flat more often than it moves.
ichimoku-kinko-hyo.info notices the behaviour, writing that "Unlike a traditional moving average, The Kijun-Sen forms increments" and that "These increments are important levels of support or resistance". That is correct.
On EUR/USD 15-minute bars, 16,520 bars in the sample, the kijun was unchanged on 9,934 of 16,493 bar-to-bar comparisons, or 60.2%. The line is read from the 27th bar, the first one with 26 bars behind it, and each bar from there on is compared with the one before. Those flats came in 2,514 separate runs. Run length counts the bars at the same value, so a stretch of three flat bars is a run of three rather than the two steps inside it, and on that count the median run was 3 bars and the longest 26. When the line did move, the median move was 0.00010 against a median bar range of 0.00047, about a fifth of one bar's range. Across the other seven combinations the flat share ran from about 50% on EUR/USD daily to 65.6% on GER40's daily bars.
What a flat kijun means is unsettled, and the sources disagree:
| Source | What it says a flat kijun means |
|---|---|
| WH SelfInvest | "A flat Kijun Sen indicates a range bound price. A sloped Kijun Sen indicates a trend" |
| Finance Strategists | "A flat Kijun-Sen suggests a range-bound market, with the price oscillating around the line" |
| ichimoku-kinko-hyo.info | "the greater its angle (its inclination) the stronger the trend. Conversely, a flat Kijun-Sen will indicate a break in the trend" |
| ichimoku-kinko-hyo.info, same page | teaches readers to "Enter into a position as soon as prices throw back towards a Kijun Flat (under certain conditions)" |
Two of them read a flat as a range, one reads it as a break in the trend, and that same page also treats the flat as a level to trade back towards. The last two are not quite contradictory, but they are different claims, and the same page elsewhere warns that "in a range market, the Kijun-Sen, like all the other Ichimoku lines within the range, is not a relevant support or resistance level anymore".
On our data the kijun is flat on three bars in five, so if a flat kijun signals a range, the signal is firing most of the time.
Which span is the top of the cloud?
Neither one, always. The top of the cloud is whichever of the two spans happens to be higher at that point, and which one that is changes constantly.
TrendSpider states it the other way round. It writes that senkou span A "forms the lower boundary of the Ichimoku Cloud and can be used as a support level" and that span B "forms the upper boundary of the Ichimoku Cloud and can be used as a resistance level". On our data span A was above span B on 45.2% of EUR/USD 15-minute bars, 45.4% on hourly, 49.3% on 4-hour and 29.0% on daily, and on GER40 51.9%, 54.0%, 57.7% and 70.0%. So that description is wrong somewhere between 29% and 70% of the time depending on which chart you are looking at, and which way it is wrong depends on the instrument.
The correct reading is on the same TrendSpider page a few lines later, where it describes the two spans switching positions, and WH SelfInvest states it directly: "The cloud is colored in green when the trend is bullish (Senkou Span A is above Senkou Span B)". The colour of the cloud tells you which span is on top.
What is a kumo twist?
The moment the two spans cross and swap places. TrendSpider: "A Kumo Twist occurs when the Senkou Span A and Senkou Span B lines switch positions".
If the top of the cloud is whichever span is higher, a twist is the bar where top and bottom change hands, and the cloud changes colour there. Because the spans are drawn 26 bars forward, a twist appears ahead of the current candle, which is why people describe the cloud as forward looking.
What is the chikou span for?
It is today's closing price drawn 26 bars back, so you can compare today's price with the price 26 bars ago without counting candles. WH SelfInvest puts it in one sentence that makes it click: "it allows traders to quickly see how today's price action compares to the price action of 26 periods ago".
The line carries no new information, since it is the close you already have, moved. What it buys you is a visual comparison you would otherwise do in your head.
What does the tenkan/kijun cross actually show?
Often it shows the fast line travelling through a stationary one. On EUR/USD 15-minute bars we counted 587 tenkan and kijun crosses, and on 236 of them, 40.2%, the kijun did not move on that bar at all.
The same pattern holds elsewhere: 52 of 137 crosses on EUR/USD hourly, 248 of 562 on GER40's 15-minute bars, 67 of 144 on its hourly. So when a source describes a bullish signal occurring when the tenkan crosses above the kijun, in two cases out of five the event is entirely the tenkan's doing, with the slower line sitting still.
On EUR/USD daily bars there were only 5 crosses in 208 trading days. Any claim about this signal on a daily chart is resting on a handful of events, which is not enough to conclude anything from.
The two trend readings, and how often they disagree
Two different "is this an uptrend" rules are both published as the Ichimoku answer. One reads the kijun: Finance Strategists writes that "A price above the Kijun-Sen is typically seen as bullish, indicating positive momentum". The other reads the cloud: OANDA's interpretation has price above the cloud as bullish, and TrendSpider's breakout strategy triggers when "the price breaks above the upper Kumo".
Counted only on bars where the cloud reading says anything at all, the two disagreed on 20.4% of EUR/USD 15-minute bars, 2,842 of 13,939. Across the eight combinations the disagreement ran from 14.7% to 22.2%. The disagreements split nearly evenly in both directions, 1,567 against 1,275 on EUR/USD 15-minute, so neither reading is simply the slower one. They are different rules.
Price sat inside the cloud, where the cloud reading is silent and the kijun reading still speaks, on 13.9% to 15.2% of bars in seven of the eight combinations. On GER40's daily bars it was only 1.9%. OANDA describes that state as a "choppy/sideways trend".
If you say "the Ichimoku says we are in an uptrend", about one bar in five you need to say which part of it you meant.
How would you test this in a backtest?
The lines are fully determined by the open, high, low and close of each bar, so the only free choices are the three lookbacks, 9, 26 and 52, and the 26-bar shift. Those four numbers are conventions, and every one of them is yours to change, so you should fix them in writing before you start and leave them alone.
That makes Ichimoku clean to test, and it moves the question onto the reading rather than the calculation. A workable approach:
- Fix the four numbers and do not change them mid-test.
- Decide in advance which trend rule you are using, the kijun or the cloud, because they disagree on about one bar in five.
- Decide in advance what you do when price is inside the cloud, because that is about one bar in seven and the cloud rule is silent there.
- Step the chart forward bar by bar and log the signal and what followed, with the chart as it looked at the time.
- Count the bars where the kijun was flat separately. If most of your signals landed on a flat kijun, you are testing the tenkan.
ChartLabs is built for step 4. You replay historical charts bar by bar and take practice trades as if the market were live, so you cannot see what happened next while you are deciding, and every logged trade captures a snapshot of the chart and its drawings at the moment of entry. Our data comes from Dukascopy, cleaned to remove anomalies and built into 1-minute candles, which is the data behind every count above.
One detail belongs in step 1 if you ever compare our cloud with one drawn elsewhere. Our displacement follows TradingView's built-in, which shifts the spans by the displacement minus one, so at 26 they sit 25 bars ahead of the bar they were calculated from. Write that down beside the four numbers. The indicator draws the lines. The reading and the testing are still your eyes on the replay.
Finance Strategists notes that while the base line "provides valuable market insights, it does not guarantee profitability". Backtesting will tell you how a rule behaved on history, and that is all it can tell you.
For the mechanics of running and logging a test, see our beginner's guide to backtesting a strategy. For the pair-specific details that change results on EUR/USD, see forex backtesting. And if you are deciding whether to test this by hand or in code, manual vs automated backtesting lays out what each one tests.
The short version
- The kijun-sen is the midpoint of the last 26 bars' full range, not an average of closes. The tenkan-sen is the same over 9 bars.
- Span A is the average of those two, span B is the 52-bar midpoint, and both are drawn 26 bars forward. The chikou is the close drawn 26 bars back.
- Because they are range midpoints, the kijun stood still on about 50% to 66% of bars in our sample and a 26-period average of closes stood still on under 1%.
- Neither span is permanently the top of the cloud. Span A was on top anywhere from 29% to 70% of the time depending on the chart.
- Two in five tenkan and kijun crosses on our 15-minute data happened on a bar where the kijun had not moved.
To watch the five lines behave on your own chart, bar by bar, before you build a rule on them, start a free trial of ChartLabs.
Related Topics
Related
Backtesting a Trading Strategy: A Beginner's Guide
What backtesting is, why it matters, and how to run one step by step: defining your rules, choosing clean historical data, stepping through the chart trade by trade, logging results, and reading the metrics that tell you whether your strategy has a real edge.
Forex Backtesting: Test Your Strategy on Real Data
A practical guide to backtesting forex strategies: why session dynamics, spread variation, and pair-specific behavior change your results, what clean historical data actually means, and a five-step process for testing a strategy before you risk real capital.
Manual vs Automated Backtesting: Which One Should You Use?
Automated backtesting tells you whether a set of rules made money. Manual backtesting tells you whether you can trade them. A practical comparison of what each one tests, what it costs you in time and skill, and which to reach for first.