Systemicalpha

Ichimoku Kinko Hyo

systemic:core-ichimokuIndicatorsfunction1 cr

Inputs

NameTypeDescription
VisualbooleanControls how the Leading Spans (Senkou Span A and B) are computed for visualization purposes.
Short WindowintegerLookback period for the Tenkan-sen (Conversion Line) calculation.
Medium WindowintegerLookback period for the Kijun-sen (Base Line) calculation.
Long WindowintegerLookback period for the Senkou Span B calculation.
Price HighfloatarrayThe high price series for each period in your dataset.
Price LowfloatarrayThe low price series for each period in your dataset.

Outputs

NameTypeDescription
Leading Span AfloatarrayThe faster boundary of the Kumo (cloud), plotted ahead of current price.
Leading Span BfloatarrayThe slower boundary of the Kumo (cloud), providing longer-term support/resistance projection.
Base LinefloatarrayThe medium-term trend indicator of the Ichimoku system.
Conversion LinefloatarrayThe short-term momentum line of the Ichimoku system.

Overview and History

The Ichimoku Kinko Hyo, commonly known as the Ichimoku Cloud, is a comprehensive technical analysis system developed by Japanese journalist Goichi Hosoda in the late 1930s and published in 1969 after decades of refinement. Designed to provide a holistic view of market conditions at a glance, Ichimoku integrates trend, momentum, and support/resistance into a single chart. Its name translates to "one glance equilibrium chart," reflecting its goal of delivering actionable insights quickly. For a detailed history, see Investopedia: Ichimoku Cloud and TradingView: Ichimoku Cloud History.

Ichimoku is widely used in both traditional markets (stocks, forex, commodities) and cryptocurrencies, where its ability to adapt to different timeframes and market conditions makes it a favorite among trend-following traders.


Components

Ichimoku consists of five key lines:

  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 periods ahead.
    • 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 periods ahead.
    • Usage: The other boundary of the cloud, providing additional support/resistance.
  5. Chikou Span (Lagging Span):

    • Formula: The current closing price, plotted 26 periods back.
    • Usage: Visualizes momentum. Above price = bullish; below = bearish.

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]
    A --> F[Calculate Chikou Span]
    D & E --> G[Plot Kumo Cloud]
    B & C & D & E & F --> H[Ichimoku Output]

Signal Workflow

sequenceDiagram
    participant Market
    participant Ichimoku
    participant Trader
    Market->>Ichimoku: New price data
    Ichimoku->>Ichimoku: Update all lines
    Ichimoku->>Trader: Signal (e.g., crossovers, cloud breaks)
    Trader->>Market: Execute trade 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: Ichimoku is popular among crypto traders for identifying strong trends and filtering 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: Offers actionable 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 requires synchronized high and low price data series. These must represent the same time periods to ensure accurate calculations.

Alignment Rules

ScenarioBehavior
High and Low from same sourceNaturally aligned (recommended)
Different timeframesSystem upsamples lower-frequency data by forward-filling
Different lengthsSystem pads shorter series to match the longest

Minimum Data Requirements

The window parameters determine minimum data needs, counted in bars actually observed (see Missing Data below), not calendar slots:

ParameterDefaultMinimum Observed Bars
Short Window99+
Medium Window2626+
Long Window5252+

Best Practice

Always source high and low prices from the same data provider at the same frequency to ensure proper alignment.


Missing Data

Ichimoku needs both Price High and Price Low present on a bar for it to count; a bar missing either one (data gap, weekend, holiday) never gets a fabricated value on any of the four outputs. A window (Short/Medium/Long) means N bars actually observed, not N calendar slots: each midline's Highest High / Lowest Low keeps counting back through real bars, bridging straight from the last session before a gap to the first session after it. Until a window's first N observed bars accumulate, that midline has no value yet - a leading gap of None, never the old sentinel-mean warm-up. When Visual is on, Leading Span A/B are additionally displaced forward by the Medium Window on the full output grid so they plot ahead of price; the newly vacated head positions are None, never a look-ahead average of the series.


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 most recognized technical analysis systems globally, with particularly strong adoption in Japanese and Asian markets, and growing popularity in cryptocurrency trading.
  • Reliability: Highly reliable in trending markets where it excels at identifying direction and support/resistance. Less effective in choppy, range-bound conditions where false signals occur.
  • Complexity: The five-component system has a steeper learning curve than simple indicators like RSI or MACD. However, once mastered, it provides comprehensive market insight.
  • Versatility: Extremely versatile—applicable to any asset class and timeframe. The cloud adapts dynamically to market conditions.
  • Recent Interest: Enjoying renewed interest in cryptocurrency trading, where its ability to filter trends in volatile markets is particularly valued.

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 reservedAlpha build v0.1.5