Class IchimokuKinkoHyo
- Namespace
- FinanceSharp.Indicators
- Assembly
- FinanceSharp.dll
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)
public class IchimokuKinkoHyo : BarIndicator, IIndicator, IUpdatable
- Inheritance
-
IchimokuKinkoHyo
- Implements
- Inherited Members
- Extension Methods
Constructors
IchimokuKinkoHyo(int, int, int, int, int, int)
Creates a new IchimokuKinkoHyo indicator from the specific periods
public IchimokuKinkoHyo(int tenkanPeriod = 9, int kijunPeriod = 26, int senkouAPeriod = 26, int senkouBPeriod = 52, int senkouADelayPeriod = 26, int senkouBDelayPeriod = 26)
Parameters
tenkanPeriodintThe Tenkan-sen period
kijunPeriodintThe Kijun-sen period
senkouAPeriodintThe Senkou A Span period
senkouBPeriodintThe Senkou B Span period
senkouADelayPeriodintThe Senkou A Span delay
senkouBDelayPeriodintThe Senkou B Span delay
IchimokuKinkoHyo(string, int, int, int, int, int, int)
Creates a new IchimokuKinkoHyo indicator from the specific periods
public IchimokuKinkoHyo(string name, int tenkanPeriod = 9, int kijunPeriod = 26, int senkouAPeriod = 26, int senkouBPeriod = 52, int senkouADelayPeriod = 26, int senkouBDelayPeriod = 26)
Parameters
namestringThe name of this indicator
tenkanPeriodintThe Tenkan-sen period
kijunPeriodintThe Kijun-sen period
senkouAPeriodintThe Senkou A Span period
senkouBPeriodintThe Senkou B Span period
senkouADelayPeriodintThe Senkou A Span delay
senkouBDelayPeriodintThe Senkou B Span delay
Properties
Chikou
The Chikou Span component of the Ichimoku indicator
public IndicatorBase Chikou { get; }
Property Value
DelayedKijunSenkouA
The Delayed Kijun Senkou A component of the Ichimoku indicator
public WindowIndicator DelayedKijunSenkouA { get; }
Property Value
DelayedMaximumSenkouB
The Delayed Maximum Senkou B component of the Ichimoku indicator
public WindowIndicator DelayedMaximumSenkouB { get; }
Property Value
DelayedMinimumSenkouB
The Delayed Minimum Senkou B component of the Ichimoku indicator
public WindowIndicator DelayedMinimumSenkouB { get; }
Property Value
DelayedTenkanSenkouA
The Delayed Tenkan Senkou A component of the Ichimoku indicator
public WindowIndicator DelayedTenkanSenkouA { get; }
Property Value
IsReady
Returns true if all of the sub-components of the Ichimoku indicator is ready
public override bool IsReady { get; }
Property Value
Kijun
The Kijun-sen component of the Ichimoku indicator
public IndicatorBase Kijun { get; }
Property Value
KijunMaximum
The Kijun-sen Maximum component of the Ichimoku indicator
public IndicatorBase KijunMaximum { get; }
Property Value
KijunMinimum
The Kijun-sen Minimum component of the Ichimoku indicator
public IndicatorBase KijunMinimum { get; }
Property Value
SenkouA
The Senkou A Span component of the Ichimoku indicator
public IndicatorBase SenkouA { get; }
Property Value
SenkouB
The Senkou B Span component of the Ichimoku indicator
public IndicatorBase SenkouB { get; }
Property Value
SenkouBMaximum
The Senkou B Maximum component of the Ichimoku indicator
public IndicatorBase SenkouBMaximum { get; }
Property Value
SenkouBMinimum
The Senkou B Minimum component of the Ichimoku indicator
public IndicatorBase SenkouBMinimum { get; }
Property Value
Tenkan
The Tenkan-sen component of the Ichimoku indicator
public IndicatorBase Tenkan { get; }
Property Value
TenkanMaximum
The Tenkan-sen Maximum component of the Ichimoku indicator
public IndicatorBase TenkanMaximum { get; }
Property Value
TenkanMinimum
The Tenkan-sen Minimum component of the Ichimoku indicator
public IndicatorBase TenkanMinimum { get; }
Property Value
WarmUpPeriod
Required period, in data points, for the indicator to be ready and fully initialized.
public override int WarmUpPeriod { get; }
Property Value
Methods
Forward(long, DoubleArray)
Computes the next value of this indicator from the given state
protected override DoubleArray Forward(long time, DoubleArray input)
Parameters
timelonginputDoubleArrayThe input given to the indicator
Returns
Reset()
Resets this indicator to its initial state
public override void Reset()