Ichimoku Kinko Hyo
systemic:core-ichimokuIndicatorsInputs
| Name | Type | Description |
|---|---|---|
| Visual | True/false | Turns on the forward shift of the Leading Spans (Senkou Span A and B) used to draw the cloud. |
| Short Window | Whole number | The number of bars the Tenkan-sen (Conversion Line) looks back. |
| Medium Window | Whole number | The number of bars the Kijun-sen (Base Line) looks back. |
| Long Window | Whole number | The number of bars the Senkou Span B (Leading Span B) looks back. |
| Price High | Number series | The highest price of each bar. |
| Price Low | Number series | The lowest price of each bar. |
Outputs
| Name | Type | Description |
|---|---|---|
| Leading Span A | Number series | The faster boundary of the Kumo (cloud), plotted ahead of the current price when Visual is on. |
| Leading Span B | Number series | The slower boundary of the Kumo (cloud), showing longer-term support/resistance. |
| Base Line | Number series | The medium-term trend line of the Ichimoku system. |
| Conversion Line | Number series | The short-term momentum line of the Ichimoku system. |
Cost
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.
-
Tenkan-sen (Conversion Line):
- Formula:
- Usage: Short-term trend indicator. Price above Tenkan-sen suggests an uptrend; below, a downtrend.
-
Kijun-sen (Base Line):
- Formula:
- Usage: Medium-term trend and confirmation line. Crossovers with Tenkan-sen can signal trend changes.
-
Senkou Span A (Leading Span A):
- Formula: Plotted 26 bars ahead (the Medium Window) when Visual is on.
- Usage: One boundary of the Ichimoku Cloud (Kumo), acting as dynamic support/resistance.
-
Senkou Span B (Leading Span B):
- Formula: Plotted 26 bars ahead (the Medium Window) when Visual is on.
- Usage: The other boundary of the cloud, providing additional support/resistance.
-
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
- Investopedia: Ichimoku Cloud
- TradingView: Ichimoku Cloud History
- Binance Academy: Ichimoku in Crypto
- Investopedia: How Economic Indicators Affect Markets
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
| Scenario | Behavior |
|---|---|
| High and Low from same source | Already aligned (recommended) |
| Different periods | The series with the longer period repeats its latest value on every bar of the shorter period |
| Different lengths | The 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.
| Parameter | Typical Value | Bars Needed |
|---|---|---|
| Short Window | 9 | 9+ |
| Medium Window | 26 | 26+ |
| Long Window | 52 | 52+ |
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
| Dimension | Stocks | Crypto | Notes |
|---|---|---|---|
| Popularity | 7.2/10 | 8.0/10 | Very popular; especially strong crypto adoption |
| Reliability | 7/10 | 6.5/10 | Excellent in trending markets; weaker in ranges |
| Complexity | 7.8/10 | 7.5/10 | Five interrelated components; steeper learning curve |
| Versatility | 8/10 | 8.5/10 | Works across all timeframes and asset classes |
| Recent Interest | 6.5/10 | 8/10 | Surging 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.