Ichimoku
Ichimoku Cloud
A five-line all-in-one trend system that reads regime, momentum, and dynamic support/resistance from a single chart overlay.
The Ichimoku Cloud is a five-line trend system from Japan that reads regime, momentum, and support/resistance at a glance. Price above the cloud = bullish regime; the Tenkan/Kijun cross is the momentum trigger; the cloud itself acts as dynamic support or resistance and is projected 26 bars into the future. Default settings: 9, 26, 52, displacement 26.
Ichimoku Kinko Hyo ("one-glance equilibrium chart") plots five lines: Tenkan-sen (9-bar midpoint), Kijun-sen (26-bar midpoint), Senkou Span A (the average of Tenkan and Kijun, plotted 26 bars forward), Senkou Span B (52-bar midpoint, also plotted 26 bars forward), and Chikou Span (close shifted 26 bars back). The area between Senkou A and Senkou B is the cloud (Kumo) — projected ahead so the chart shows future support/resistance before price gets there.
The three reading lenses are: price vs cloud (above = bullish regime, inside = no-trade zone, below = bearish regime); the Tenkan/Kijun cross (faster momentum trigger); and the future cloud (Senkou A above or below Senkou B colors the cloud green or red, signalling the regime that's coming). Chikou Span confirms by checking that lagged price isn't tangled in old price action. Ichimoku gives the richest single-glance read of any classical system — at the cost of more signals to interpret.
How do I read Ichimoku?
- Close above the cloud = bullish regime. Close below the cloud = bearish regime. Close inside the cloud = no-trade zone (undefined regime).
- Tenkan/Kijun cross = momentum trigger. Tenkan crossing above Kijun is bullish; crossing below is bearish. The position of the cross relative to the cloud matters — crosses above the cloud are strong-trend continuation signals; crosses inside the cloud are usually noise.
- Cloud thickness = strength of the projected support/resistance. A thick cloud is hard to push through; a thin cloud breaks easily.
- Future-cloud color (the cloud 26 bars ahead): green when Senkou A is above Senkou B, red when below. A future-cloud twist (color flip) is an early regime-change signal.
- Chikou Span confirmation: if the lagged close is clear of past candles, the regime is confirmed. If it is tangled in past price, momentum is mixed — wait for clarity.
- Price respecting the Kijun-sen during a trend is a clean continuation pattern. Bounces off the Kijun are textbook trend-following entries.
How is Ichimoku calculated?
Ichimoku is built from midpoints of high/low ranges over three lookback windows, plus two derived lines (one averaging Tenkan and Kijun, one lagging price). Two of the lines are projected forward to form the cloud; one is shifted backward to confirm regime against past price.
- 1.Tenkan-sen = (9-bar highest high + 9-bar lowest low) / 2 — the short-term equilibrium line.
- 2.Kijun-sen = (26-bar highest high + 26-bar lowest low) / 2 — the medium-term equilibrium line.
- 3.Senkou Span A = (Tenkan-sen + Kijun-sen) / 2, plotted 26 bars forward — one boundary of the cloud.
- 4.Senkou Span B = (52-bar highest high + 52-bar lowest low) / 2, plotted 26 bars forward — the other cloud boundary. Color the cloud green when Span A > Span B, red when below.
- 5.Chikou Span = current close, plotted 26 bars back — used to confirm regime by checking if lagged price is clear of old price action.
What are the default Ichimoku settings?
| Parameter | Default | When to adjust |
|---|---|---|
| Tenkan-sen length | 9 | Goichi Hosoda's original. Most crypto traders also use 9. Some intraday traders drop to 7 for faster signals at the cost of more noise. |
| Kijun-sen length | 26 | Original. The medium-term equilibrium and the most-respected dynamic support/resistance level on the chart. Rarely worth changing. |
| Senkou Span B length | 52 | Original. Doubled Kijun length sets the slow boundary of the cloud. Tuning down (e.g. to 40) makes the cloud more reactive but less stable as a regime reference. |
| Displacement | 26 | Forward and backward shift for Senkou Spans and Chikou Span. Must match the Kijun length conceptually — changing this without retuning the system is the most common Ichimoku tuning mistake. |
How do I plot Ichimoku in Pine Script?
//@version=5
indicator("Ichimoku Cloud Example", overlay=true)
tenkanLen = input.int(9, title="Tenkan-sen Length", minval=1)
kijunLen = input.int(26, title="Kijun-sen Length", minval=1)
senkouBLen = input.int(52, title="Senkou Span B Length", minval=1)
displacement = input.int(26, title="Displacement", minval=1)
donchian(len) => math.avg(ta.lowest(len), ta.highest(len))
tenkan = donchian(tenkanLen)
kijun = donchian(kijunLen)
senkouA = math.avg(tenkan, kijun)
senkouB = donchian(senkouBLen)
chikou = close
plot(tenkan, title="Tenkan-sen", color=color.blue)
plot(kijun, title="Kijun-sen", color=color.red)
p1 = plot(senkouA, title="Senkou Span A", color=color.green, offset=displacement)
p2 = plot(senkouB, title="Senkou Span B", color=color.red, offset=displacement)
fill(p1, p2, color=senkouA > senkouB ? color.new(color.green, 85) : color.new(color.red, 85))
plot(chikou, title="Chikou Span", color=color.purple, offset=-displacement)Pine has no built-in ta.ichimoku() — the lines are computed manually from highest/lowest. The donchian() helper returns the midpoint of an N-bar range, which is exactly what Tenkan, Kijun, and Senkou Span B require. The two Senkou plots are forward-shifted with offset=displacement, and fill() between them produces the colored cloud that automatically swaps green/red based on Span A vs Span B. Chikou is just the close plotted backwards with a negative offset.
Continue exploring
Related indicators
MACD
Moving Average Convergence Divergence
A trend-momentum indicator built from the difference between two EMAs, plus a signal line and histogram that visualise momentum shifts.
View MACDMomentumRSI
Relative Strength Index
A momentum oscillator that measures the speed and magnitude of recent price changes on a bounded 0–100 scale.
View RSIVolatilityBB
Bollinger Bands
A volatility envelope built from a moving average and ±2 standard deviations, expanding and contracting as volatility changes.
View BBAbout this reference
This page is an educational reference explaining what Ichimoku is, how it is calculated, its default settings, and how to plot it in Pine Script. It is compiled from established trading literature and public technical documentation. Last review: .
Educational content. Not financial advice.