Cloud breakout long
A regime-change long that fires when price reclaims the cloud after a downtrend or consolidation.
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.
Entry ideas
A regime-change long that fires when price reclaims the cloud after a downtrend or consolidation.
The classic Tenkan/Kijun bullish cross, filtered for quality by requiring price to be above the cloud.
An early-regime long that anticipates a bullish regime by reading the projected cloud color flip.
Exit ideas
The fastest Ichimoku exit, mirroring the TK cross-up entry.
A patient regime exit that holds until price falls back into or under the cloud.
A volatility-adaptive trailing exit anchored to the Kijun-sen line.
Utilities
A bias filter that gates any directional strategy by the price-vs-cloud regime.
A higher-timeframe alignment filter that pins entries to the daily Ichimoku regime.
| 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. |
//@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.
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.
Ichimoku is a trend system. In three regimes it fires misleading signals.
Tight ranges put price inside the cloud, where Ichimoku explicitly defines the regime as undefined. Traders who ignore the rule and take TK crosses inside the cloud get whipsawed — every cross is noise because the cloud itself has no slope to follow.
Fast reversals from extended trends are the second failure mode. Ichimoku exits via the Kijun, cloud break, or TK cross — all of which lag. When a strong trend ends on a single sharp candle (news, gap, flash crash), Ichimoku traders give back significant profit before any of the exit signals fire.
Low-volatility drift produces a flat, thin cloud and constantly-crossing Tenkan/Kijun lines. Each cross looks valid; in aggregate they bleed accounts. Pair Ichimoku with a volatility filter (ATR percentile, ADX above 20) so signals only fire when the market is actually moving.
Ichimoku is also less reliable on intraday timeframes below 1H — the displacement assumes a daily-chart cadence and shorter timeframes tend to fight that rhythm.
| Indicator | When to prefer |
|---|---|
| MACD | MACD gives one momentum read (the histogram + signal cross); Ichimoku gives five interlocking reads with projected support/resistance. Use MACD when you want a single clear signal; use Ichimoku when you want a multi-lens regime picture and can afford the complexity. |
| Supertrend | Supertrend collapses regime to a single binary flip with volatility-adjusted stops. Ichimoku layers regime, momentum, and future-projection at the cost of being harder to read at a glance. Supertrend for mechanical systems; Ichimoku for discretionary trend reads. |
| EMA crossover | A two-EMA cross is a stripped-down version of the same regime read. Use EMA crossovers when you want clean rules and minimum interpretation; use Ichimoku when you want forward-projected support/resistance via the cloud. |
Goichi Hosoda calibrated these in the 1930s when the Japanese trading week was 6 days. Nine bars covered ~1.5 weeks, 26 bars covered ~1 month, 52 bars covered ~2 months. The 5-day week broke the original arithmetic but the ratios held up empirically across markets and timeframes, so the original numbers became standard. Most traders who tune them end up overfitting one backtest window.
The cloud is the area between Senkou Span A (Tenkan/Kijun midpoint) and Senkou Span B (52-bar midpoint), projected 26 bars into the future. It represents projected support/resistance: a thick cloud is harder to break through; a thin cloud breaks easily. Because it is plotted ahead of price, you can see where Ichimoku expects support/resistance to appear before price gets there.
They answer different questions. MACD reads momentum from the EMA gap and gives one timing signal per regime. Ichimoku reads regime, momentum, and projected support/resistance from five lines and gives multiple interacting signals. MACD is cleaner for systematic execution; Ichimoku is richer for discretionary reads. Many traders combine them: Ichimoku for regime, MACD for entry timing within that regime.
Yes, on higher timeframes (4H and above). Crypto markets are 24/7 and the defaults still hold up — most successful crypto Ichimoku setups keep the original 9/26/52/26. Lower timeframes (15m, 1H) generate more whipsaws and benefit from pairing with a volatility filter, but parameter changes without proportional re-tuning of all four numbers usually make things worse, not better.
Continue exploring
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 MACDMomentumRelative Strength Index
A momentum oscillator that measures the speed and magnitude of recent price changes on a bounded 0–100 scale.
View RSIVolatilityBollinger Bands
A volatility envelope built from a moving average and ±2 standard deviations, expanding and contracting as volatility changes.
View BBAbout these ideas
Each entry, exit, and utility rule in the Playbook is hand-picked from established trading literature, validated against historical backtests, and reviewed by the PineWiz team. We add new ideas as we encounter them and refresh existing ones when market behavior or default settings shift. Last review: .
Educational content. Not financial advice.