IchimokuKinkoHyo


Summary

Ichimoku Kinko Hyo Indicator is a moving average based trend identification system.

Remarks

Ichimoku Kinko Hyo Indicator contains more data points than standard candlestick charts and thus provides a clearer picture of potential price action.

Syntax

public IchimokuKinkoHyo IchimokuKinkoHyo(int tenkanSenPeriods, int kijunSenPeriods, int senkouSpanBPeriods)
public IchimokuKinkoHyo IchimokuKinkoHyo(MarketSeries marketSeries, int tenkanSenPeriods, int kijunSenPeriods, int senkouSpanBPeriods)

Parameters

NameDescription

Example 1

//...
private IchimokuKinkoHyo ichimokuKinkoHyo;
//...
protected override void OnStart()
{
    ichimokuKinkoHyo = Indicators.IchimokuKinkoHyo
        (tenkanSenPeriods, kijunSenPeriods, senkouSpanBPeriods);            
}
protected override void OnBar()
{
    Print("ChikouSpan Value = {0}", ichimokuKinkoHyo.ChikouSpan.LastValue);
    Print("KijunSen Value = {0}", ichimokuKinkoHyo.KijunSen.LastValue);
    Print("SenkouSpanA Value = {0}", ichimokuKinkoHyo.SenkouSpanA.LastValue);
    Print("SenkouSpanB Value = {0}", ichimokuKinkoHyo.SenkouSpanB.LastValue);
    Print("TenkanSen Value = {0}", ichimokuKinkoHyo.TenkanSen.LastValue);
    //...
}
Reference