Lean
$LEAN_TAG$
|
This indicator computes the Ichimoku Kinko Hyo indicator. It consists of the following main indicators: Tenkan-sen: (Highest High + Lowest Low) / 2 for the specific period (normally 9) Kijun-sen: (Highest High + Lowest Low) / 2 for the specific period (normally 26) Senkou A Span: (Tenkan-sen + Kijun-sen )/ 2 from a specific number of periods ago (normally 26) Senkou B Span: (Highest High + Lowest Low) / 2 for the specific period (normally 52), from a specific number of periods ago (normally 26) More...
Public Member Functions | |
IchimokuKinkoHyo (int tenkanPeriod=9, int kijunPeriod=26, int senkouAPeriod=26, int senkouBPeriod=52, int senkouADelayPeriod=26, int senkouBDelayPeriod=26) | |
Creates a new IchimokuKinkoHyo indicator from the specific periods More... | |
IchimokuKinkoHyo (string name, int tenkanPeriod=9, int kijunPeriod=26, int senkouAPeriod=26, int senkouBPeriod=52, int senkouADelayPeriod=26, int senkouBDelayPeriod=26) | |
Creates a new IchimokuKinkoHyo indicator from the specific periods More... | |
override void | Reset () |
Resets this indicator to its initial state More... | |
Public Attributes | |
override bool | IsReady => Tenkan.IsReady && Kijun.IsReady && SenkouA.IsReady && SenkouB.IsReady |
Returns true if all of the sub-components of the Ichimoku indicator is ready More... | |
Protected Member Functions | |
override decimal | ComputeNextValue (IBaseDataBar input) |
Computes the next value of this indicator from the given state More... | |
Protected Member Functions inherited from QuantConnect.Indicators.BarIndicator | |
BarIndicator (string name) | |
Creates a new TradeBarIndicator with the specified name More... | |
Properties | |
IndicatorBase< IndicatorDataPoint > | Tenkan [get] |
The Tenkan-sen component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | Kijun [get] |
The Kijun-sen component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | SenkouA [get] |
The Senkou A Span component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | SenkouB [get] |
The Senkou B Span component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | Chikou [get] |
The Chikou Span component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | TenkanMaximum [get] |
The Tenkan-sen Maximum component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | TenkanMinimum [get] |
The Tenkan-sen Minimum component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | KijunMaximum [get] |
The Kijun-sen Maximum component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | KijunMinimum [get] |
The Kijun-sen Minimum component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | SenkouBMaximum [get] |
The Senkou B Maximum component of the Ichimoku indicator More... | |
IndicatorBase< IndicatorDataPoint > | SenkouBMinimum [get] |
The Senkou B Minimum component of the Ichimoku indicator More... | |
WindowIndicator< IndicatorDataPoint > | DelayedTenkanSenkouA [get] |
The Delayed Tenkan Senkou A component of the Ichimoku indicator More... | |
WindowIndicator< IndicatorDataPoint > | DelayedKijunSenkouA [get] |
The Delayed Kijun Senkou A component of the Ichimoku indicator More... | |
WindowIndicator< IndicatorDataPoint > | DelayedMaximumSenkouB [get] |
The Delayed Maximum Senkou B component of the Ichimoku indicator More... | |
WindowIndicator< IndicatorDataPoint > | DelayedMinimumSenkouB [get] |
The Delayed Minimum Senkou B component of the Ichimoku indicator More... | |
int | WarmUpPeriod [get] |
Required period, in data points, for the indicator to be ready and fully initialized. More... | |
Properties inherited from QuantConnect.Indicators.IIndicatorWarmUpPeriodProvider | |
int | WarmUpPeriod [get] |
Required period, in data points, for the indicator to be ready and fully initialized. More... | |
This indicator computes the Ichimoku Kinko Hyo indicator. It consists of the following main indicators: Tenkan-sen: (Highest High + Lowest Low) / 2 for the specific period (normally 9) Kijun-sen: (Highest High + Lowest Low) / 2 for the specific period (normally 26) Senkou A Span: (Tenkan-sen + Kijun-sen )/ 2 from a specific number of periods ago (normally 26) Senkou B Span: (Highest High + Lowest Low) / 2 for the specific period (normally 52), from a specific number of periods ago (normally 26)
Definition at line 28 of file IchimokuKinkoHyo.cs.
QuantConnect.Indicators.IchimokuKinkoHyo.IchimokuKinkoHyo | ( | int | tenkanPeriod = 9 , |
int | kijunPeriod = 26 , |
||
int | senkouAPeriod = 26 , |
||
int | senkouBPeriod = 52 , |
||
int | senkouADelayPeriod = 26 , |
||
int | senkouBDelayPeriod = 26 |
||
) |
Creates a new IchimokuKinkoHyo indicator from the specific periods
tenkanPeriod | The Tenkan-sen period |
kijunPeriod | The Kijun-sen period |
senkouAPeriod | The Senkou A Span period |
senkouBPeriod | The Senkou B Span period |
senkouADelayPeriod | The Senkou A Span delay |
senkouBDelayPeriod | The Senkou B Span delay |
Definition at line 114 of file IchimokuKinkoHyo.cs.
QuantConnect.Indicators.IchimokuKinkoHyo.IchimokuKinkoHyo | ( | string | name, |
int | tenkanPeriod = 9 , |
||
int | kijunPeriod = 26 , |
||
int | senkouAPeriod = 26 , |
||
int | senkouBPeriod = 52 , |
||
int | senkouADelayPeriod = 26 , |
||
int | senkouBDelayPeriod = 26 |
||
) |
Creates a new IchimokuKinkoHyo indicator from the specific periods
name | The name of this indicator |
tenkanPeriod | The Tenkan-sen period |
kijunPeriod | The Kijun-sen period |
senkouAPeriod | The Senkou A Span period |
senkouBPeriod | The Senkou B Span period |
senkouADelayPeriod | The Senkou A Span delay |
senkouBDelayPeriod | The Senkou B Span delay |
Definition at line 138 of file IchimokuKinkoHyo.cs.
|
protected |
Computes the next value of this indicator from the given state
input | The input given to the indicator |
Definition at line 211 of file IchimokuKinkoHyo.cs.
override void QuantConnect.Indicators.IchimokuKinkoHyo.Reset | ( | ) |
Resets this indicator to its initial state
Definition at line 239 of file IchimokuKinkoHyo.cs.
override bool QuantConnect.Indicators.IchimokuKinkoHyo.IsReady => Tenkan.IsReady && Kijun.IsReady && SenkouA.IsReady && SenkouB.IsReady |
Returns true if all of the sub-components of the Ichimoku indicator is ready
Definition at line 200 of file IchimokuKinkoHyo.cs.
|
get |
The Tenkan-sen component of the Ichimoku indicator
Definition at line 33 of file IchimokuKinkoHyo.cs.
|
get |
The Kijun-sen component of the Ichimoku indicator
Definition at line 38 of file IchimokuKinkoHyo.cs.
|
get |
The Senkou A Span component of the Ichimoku indicator
Definition at line 43 of file IchimokuKinkoHyo.cs.
|
get |
The Senkou B Span component of the Ichimoku indicator
Definition at line 48 of file IchimokuKinkoHyo.cs.
|
get |
The Chikou Span component of the Ichimoku indicator
Definition at line 53 of file IchimokuKinkoHyo.cs.
|
get |
The Tenkan-sen Maximum component of the Ichimoku indicator
Definition at line 58 of file IchimokuKinkoHyo.cs.
|
get |
The Tenkan-sen Minimum component of the Ichimoku indicator
Definition at line 63 of file IchimokuKinkoHyo.cs.
|
get |
The Kijun-sen Maximum component of the Ichimoku indicator
Definition at line 68 of file IchimokuKinkoHyo.cs.
|
get |
The Kijun-sen Minimum component of the Ichimoku indicator
Definition at line 73 of file IchimokuKinkoHyo.cs.
|
get |
The Senkou B Maximum component of the Ichimoku indicator
Definition at line 78 of file IchimokuKinkoHyo.cs.
|
get |
The Senkou B Minimum component of the Ichimoku indicator
Definition at line 83 of file IchimokuKinkoHyo.cs.
|
get |
The Delayed Tenkan Senkou A component of the Ichimoku indicator
Definition at line 88 of file IchimokuKinkoHyo.cs.
|
get |
The Delayed Kijun Senkou A component of the Ichimoku indicator
Definition at line 93 of file IchimokuKinkoHyo.cs.
|
get |
The Delayed Maximum Senkou B component of the Ichimoku indicator
Definition at line 98 of file IchimokuKinkoHyo.cs.
|
get |
The Delayed Minimum Senkou B component of the Ichimoku indicator
Definition at line 103 of file IchimokuKinkoHyo.cs.
|
get |
Required period, in data points, for the indicator to be ready and fully initialized.
Definition at line 205 of file IchimokuKinkoHyo.cs.