The Ichimoku study default outputs are defined as follows:
CQG name |
Japanese name |
Description |
Imoku:1 |
Tenkan Sen |
SimpleMovingAverage ('Input':HHi+LLow/2, Period:9, Offset:0) |
Imoku:2 |
Kijun Sen (the equilibrium) |
SimpleMovingAverage ('Input':HHi+LLow/2, Period:26, Offset:0) |
Imoku:3 |
Senko Span B |
SimpleMovingAverage ('Input':HHi+LLow/2, Period:52, Offset:26) |
Imoku:4 |
Senko Span A |
SimpleMovingAverage (((Imoku1+Imoku2)/2), Period:1, Offset:26) |
Imoku:5 |
Chikou Span (the laggard) |
SimpleMovingAverage ('Input':Close, Period:1, Offset:-26) where: 'Input' = the contract the study is applied to (e.g. DJI) |
Senko Span A and Senko Span B make up the cloud.
Imoku:1 Tenkan Sen |
(MaxPer(High, Period1) + MinPer(Low, Period1))/2. It is the average of the highest high and the lowest low for last Period1 bars. Default value for Period 1 is 9. Also display offset can be configured for this output (by default it is zero). |
Imoku:2 Kijun Sen |
(MaxPer(High, Period2) + MinPer(Low, Period2))/2. It is same as Imoku1 but with a different period. Default value for Period2 is 26. Also display offset can be configured for this output (by default it is zero). |
Imoku:3 Senko Span B |
(MaxPer(High, Period3) + MinPer(Low, Period3))/2. It is same as Imoku1 but with different period and displayed with offset. Default value for Period3 is 52; default offset is 26 bars into the future. |
Imoku:4 Senko Span A |
MovingAverage4((Imoku1+Imoku2)/2, Period4). It is a moving average of average of the first and the second outputs, which is displayed with offset. The simple (by default), smooth, exponential, weighted, or centered moving average can be used. The default period of moving average is 1 and default offset is 26 bars into the future. |
Imoku:5 Chikou Span |
MovingAverage5(Input5, Period5). It is a moving average of price, selected by a user (Close by default), which is displayed with offset. The simple(by default), smooth, exponential, weighted, or centered moving average can be used. The default period of moving average is 1 and default offset is 26 bars into the past. |
For further information, see:
Elliott, Nicole. Ichimoku Charts: An introduction to Ichimoku Kinko Clouds. Harriman House, 2007.
Imoku Parameters
Parameter |
Description |
Display |
Opens sub-window to set parameters • Color = Line color. • Weight = Line thickness. • Display = Line style: line or histogram. For Cloud1, select this check box to display it. • ShareScale = Determines whether sharing of the vertical scales between studies is accepted. Auto = System determine whether sharing is feasible. On = Scale is shared regardless of the functions and studies displayed. Off = Scale is not shared. ShareScale must be On if study is overlaid on a study with multiple outputs. |
Offset |
Distance in bars between the current bar and the bar to use in the calculation. A positive offset uses future bars. A negative offset uses past bars. For example: 1 = next bar -2 = two bars back from current bar |
Period 1-3 |
Number of bars in the lookback range for the highest high and the lowest low calculation. |
Period 4-5 |
Number of bars in the lookback range for the moving average calculation for Imoku 4 (Senko Span A) and Imoku 5 (Chikou Span) curves. |
Type |
Moving average calculation. Values: • Simple • Smoothed • Exponential • Weighted • Centered • Median • Trix • Exponential Hull Applies only to Imoku 4 (Senko Span A) and Imoku 5 (Chikou Span). |
Price |
Price used to calculate study values. Applies only to Imoku 5 (Chikou Span). |