Systemicbeta

Ichimoku Kinko Hyo

systemic:core-ichimokuIndicators

Inputs

NameTypeDescription
VisualTrue/falseTurns on the forward shift of the Leading Spans (Senkou Span A and B) used to draw the cloud.
Short WindowWhole numberThe number of bars the Tenkan-sen (Conversion Line) looks back.
Medium WindowWhole numberThe number of bars the Kijun-sen (Base Line) looks back.
Long WindowWhole numberThe number of bars the Senkou Span B (Leading Span B) looks back.
Price HighNumber seriesThe highest price of each bar.
Price LowNumber seriesThe lowest price of each bar.

Outputs

NameTypeDescription
Leading Span ANumber seriesThe faster boundary of the Kumo (cloud), plotted ahead of the current price when Visual is on.
Leading Span BNumber seriesThe slower boundary of the Kumo (cloud), showing longer-term support/resistance.
Base LineNumber seriesThe medium-term trend line of the Ichimoku system.
Conversion LineNumber seriesThe short-term momentum line of the Ichimoku system.

Cost

25
credits per run
1,000
bars

0.213 + 0.0244·n credits for n bars, rounded up. The marks are each plan's limit of bars.

Overview and History

The Ichimoku Kinko Hyo, also known as the Ichimoku Cloud, is a technical analysis system. Japanese journalist Goichi Hosoda developed it in the late 1930s and published it in 1969. It shows trend, momentum and support/resistance in a single chart. Its name means "one glance equilibrium chart." For a detailed history, see Investopedia: Ichimoku Cloud and TradingView: Ichimoku Cloud History.

Ichimoku is widely used in traditional markets (stocks, forex, commodities) and in cryptocurrencies, mostly by trend-following traders.


Components

The classic Ichimoku system has five lines. This module returns the first four. The formulas below use the standard windows (9, 26, 52); the module uses your Short, Medium and Long Window inputs instead.

  1. Tenkan-sen (Conversion Line):

    • Formula: Tenkan-sen=Highest High9+Lowest Low92\text{Tenkan-sen} = \frac{\text{Highest High}_{9} + \text{Lowest Low}_{9}}{2}
    • Usage: Short-term trend indicator. Price above Tenkan-sen suggests an uptrend; below, a downtrend.
  2. Kijun-sen (Base Line):

    • Formula: Kijun-sen=Highest High26+Lowest Low262\text{Kijun-sen} = \frac{\text{Highest High}_{26} + \text{Lowest Low}_{26}}{2}
    • Usage: Medium-term trend and confirmation line. Crossovers with Tenkan-sen can signal trend changes.
  3. Senkou Span A (Leading Span A):

    • Formula: Senkou Span A=Tenkan-sen+Kijun-sen2\text{Senkou Span A} = \frac{\text{Tenkan-sen} + \text{Kijun-sen}}{2} Plotted 26 bars ahead (the Medium Window) when Visual is on.
    • Usage: One boundary of the Ichimoku Cloud (Kumo), acting as dynamic support/resistance.
  4. Senkou Span B (Leading Span B):

    • Formula: Senkou Span B=Highest High52+Lowest Low522\text{Senkou Span B} = \frac{\text{Highest High}_{52} + \text{Lowest Low}_{52}}{2} Plotted 26 bars ahead (the Medium Window) when Visual is on.
    • Usage: The other boundary of the cloud, providing additional support/resistance.
  5. Chikou Span (Lagging Span):

    • Formula: The current closing price, plotted 26 bars back.
    • Usage: Shows momentum. Above price = bullish; below = bearish.
    • Note: This module does not return the Chikou Span.

The Ichimoku Cloud (Kumo)

The area between Senkou Span A and Senkou Span B forms the Kumo or cloud:

  • Bullish Cloud: Senkou Span A above Senkou Span B; acts as support.
  • Bearish Cloud: Senkou Span A below Senkou Span B; acts as resistance.
  • The cloud's thickness reflects the strength of support/resistance.

Visualizing Ichimoku

Calculation Flow

flowchart TD
    A[Price Data] --> B[Calculate Tenkan-sen]
    A --> C[Calculate Kijun-sen]
    B & C --> D[Calculate Senkou Span A]
    A --> E[Calculate Senkou Span B]
    D & E --> G[Plot Kumo Cloud]
    B & C & D & E --> H[Ichimoku Output]

Signal Workflow

sequenceDiagram
    participant Market
    participant Ichimoku
    participant Trader
    Market->>Ichimoku: Price data
    Ichimoku->>Ichimoku: Calculate all lines
    Ichimoku->>Trader: Signal (e.g., crossovers, cloud breaks)
    Trader->>Trader: Decide to buy, sell or hold

Usage

  • Trend Identification: Price above the cloud = uptrend; below = downtrend; inside = consolidation.
  • Support and Resistance: The cloud acts as dynamic support/resistance. Thicker clouds = stronger barriers.
  • Trading Signals:
    • Bullish: Tenkan-sen crosses above Kijun-sen, price breaks above cloud, Chikou Span above price.
    • Bearish: Tenkan-sen crosses below Kijun-sen, price breaks below cloud, Chikou Span below price.

Practical Use Cases

In Cryptocurrencies

  • Trend Following: Crypto traders use Ichimoku to identify strong trends and filter out noise in volatile markets. See Binance Academy: Ichimoku in Crypto.
  • Breakout Confirmation: Cloud breaks with supporting signals (e.g., Chikou Span confirmation) are used to validate breakouts.
  • Risk Management: The cloud's thickness helps set stop-losses and manage risk during high volatility.

In Securities

  • Multi-Timeframe Analysis: Used to confirm trends across daily, weekly, and monthly charts.
  • Dynamic Support/Resistance: Helps identify key levels for entries and exits.

Ichimoku in Macroeconomic Context

Ichimoku can be used alongside macro indicators (e.g., CPI, VIX) to filter out noise and focus on sustained trends. For example, during macro-driven volatility, Ichimoku helps traders avoid false breakouts by requiring confirmation from multiple components.

flowchart TD
    A[Macro Event: CPI, Fed, Regulation] --> B[Market Volatility]
    B --> C[Price Fluctuations]
    C --> D[Ichimoku Cloud Filters Trend]
    D --> E[Trading Signal]

For more on macro impacts, see Investopedia: How Economic Indicators Affect Markets.


Advantages

  • Comprehensive Analysis: Integrates trend, momentum, and support/resistance in one system.
  • Versatility: Works across timeframes and asset classes.
  • Clear Signals: Gives buy/sell signals based on crossovers and cloud breaks.

Disadvantages

  • Complexity: Multiple lines can be overwhelming for beginners.
  • Lagging Nature: Some signals may be delayed, especially in fast markets.
  • Less Effective in Ranges: Can produce false signals in choppy or sideways markets.

References and Further Reading


Glossary

  • Ichimoku Cloud (Kumo): The area between Senkou Span A and B, representing support/resistance.
  • Tenkan-sen: Conversion Line, short-term trend.
  • Kijun-sen: Base Line, medium-term trend.
  • Senkou Span A/B: Leading Spans, cloud boundaries.
  • Chikou Span: Lagging Span, momentum confirmation.
  • Crossover: When one line crosses another, often used as a signal.
  • Breakout: Price movement outside the cloud or key levels.
  • Macro Indicator: Economic data or events such as inflation, regulation, or central bank policy.

Data Alignment and Input Handling

Ichimoku needs a high and a low price series that cover the same bars.

Alignment Rules

ScenarioBehavior
High and Low from same sourceAlready aligned (recommended)
Different periodsThe series with the longer period repeats its latest value on every bar of the shorter period
Different lengthsThe result covers only the bars where both series have data

Minimum Data Requirements

Each line needs as many bars with data as its window (see Missing Data below). The inputs must have at least as many bars as the largest window; otherwise the module returns an error. The windows must satisfy Short ≤ Medium ≤ Long.

ParameterTypical ValueBars Needed
Short Window99+
Medium Window2626+
Long Window5252+

Best Practice

Take high and low prices from the same data source at the same period.


Missing Data

A bar counts only when both Price High and Price Low have a value. A bar that misses either one (data gap, weekend, holiday) is empty on all four outputs. A window (Short/Medium/Long) counts N bars with data, not N calendar bars: the Highest High / Lowest Low looks back across a gap to the bars before it. Until a window has its first N bars with data, that line is empty. When Visual is on, Leading Span A and B are also moved forward by the Medium Window, so they plot ahead of price. Their first Medium Window bars are then empty. The output keeps the same length, so the part of the cloud beyond the last bar is not returned.


Indicator Assessment

The following chart evaluates Ichimoku across key dimensions for both traditional securities and cryptocurrency markets:

%%{init: {"themeVariables": {"quadrant1Fill": "#e8f5e9", "quadrant2Fill": "#e3f2fd", "quadrant3Fill": "#fff3e0", "quadrant4Fill": "#fce4ec"}}}%%
quadrantChart
    title Ichimoku Cloud Indicator Assessment
    x-axis Low Complexity --> High Complexity
    y-axis Low Popularity --> High Popularity
    quadrant-1 High Popularity & Complex
    quadrant-2 High Popularity & Simple
    quadrant-3 Low Popularity & Simple
    quadrant-4 Low Popularity & Complex
    Ichimoku - Stocks: [0.78, 0.72]
    Ichimoku - Crypto: [0.75, 0.80]

Dimension Breakdown

DimensionStocksCryptoNotes
Popularity7.2/108.0/10Very popular; especially strong crypto adoption
Reliability7/106.5/10Excellent in trending markets; weaker in ranges
Complexity7.8/107.5/10Five interrelated components; steeper learning curve
Versatility8/108.5/10Works across all timeframes and asset classes
Recent Interest6.5/108/10Surging in crypto; stable in traditional markets
  • Popularity: Ichimoku is one of the best-known technical analysis systems. It is widely used in Japanese and Asian markets and is growing in cryptocurrency trading.
  • Reliability: Reliable in trending markets, where it shows direction and support/resistance well. Less effective in choppy, range-bound markets, where false signals occur.
  • Complexity: The system has several lines and takes longer to learn than simple indicators like RSI or MACD.
  • Versatility: Works for any asset class and timeframe.
  • Recent Interest: Renewed interest in cryptocurrency trading, where it helps filter trends in volatile markets.

This documentation is for educational purposes and should not be considered investment advice. Always consult multiple sources and consider your risk tolerance before trading.

Rendering diagrams...
© 2026 WanoLabs. All rights reservedBeta v0.1.5