Ichimoku Kinko Hyo Indicator.


Ichimoku is a moving average based trend identification system. It contains more data points than standard candlestick charts and thus provides a clearer picture of potential price action.


public interface IchimokuKinkoHyo


ChikouSpan PropertyIt is used as a support-resistance aid.
KijunSen PropertyThis is a confirmation line, a support-resistance line, and can be used as a trailing stop line.
SenkouSpanA PropertyLeading span 1, this line forms one edge of the kumo, or cloud.
If the price is above the Senkou span, the top line serves as the first support level while the bottom line serves as the second support level.
SenkouSpanB PropertyLeading span 2, this line forms the other edge of the kumo.
TenkanSen PropertyIt is primarily used as a signal line and a minor support-resistance line.

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);