Returns an instance of the class iIchimoku, which calculates the value of the indicator Ichimoku.


SYNTAX


public iIchimoku iIchimoku (HistoricalData data,int tenkan_sen,int kijun_sen,int senkou_span)


PARAMETERS


data — HistoricalData
Data for the calculation of the indicator


tenkan_sen — int
tenkan sen


kijun_sen — int
kijun sen


senkou_span — int
senkou span


RETURN


iIchimoku Returns an instance of the class iIchimoku


EXAMPLE


 The following code example shows how to use the indicator Ichimoku.
 
 using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using PTLRuntime.NETScript;
 using System.Drawing;
 using PTLRuntime.NETScript.Indicators;

 namespace Indicators
 {
     public class IndicatorExample : NETStrategy
     {
         private Indicator indicator;

         public override void Init()
         {
             indicator = Indicators.iIchimoku(CurrentData, 9, 26, 52);
         }
     }
 }