Class Indicators.Ichimoku
java.lang.Object
com.quantfinlib.indicators.Indicators.Ichimoku
- Enclosing class:
Indicators
Ichimoku lines.
chikou is for display only: chikou[i]
holds close(i + kijun), a price from the future relative to
bar i. Any rule or signal reading it at bar i looks
ahead. The causal form of the lagging-span signal is
close(i) compared with close(i − kijun), which
strategy rules should read from the close array directly.-
Constructor Summary
ConstructorsConstructorDescriptionIchimoku(double[] tenkan, double[] kijun, double[] senkouA, double[] senkouB, double[] chikou) Creates the value; array and collection arguments are copied. -
Method Summary
Modifier and TypeMethodDescriptiondoublechikou(int i) Elementiofchikou.double[]A fresh copy ofchikou.intLength ofchikou.booleaninthashCode()doublekijun(int i) Elementiofkijun.double[]A fresh copy ofkijun.intLength ofkijun.doublesenkouA(int i) ElementiofsenkouA.double[]A fresh copy ofsenkouA.intLength ofsenkouA.doublesenkouB(int i) ElementiofsenkouB.double[]A fresh copy ofsenkouB.intLength ofsenkouB.doubletenkan(int i) Elementioftenkan.double[]A fresh copy oftenkan.intLength oftenkan.toString()
-
Constructor Details
-
Ichimoku
public Ichimoku(double[] tenkan, double[] kijun, double[] senkouA, double[] senkouB, double[] chikou) Creates the value; array and collection arguments are copied.
-
-
Method Details
-
tenkan
public double tenkan(int i) Elementioftenkan. -
tenkanLength
public int tenkanLength()Length oftenkan. -
tenkanCopy
public double[] tenkanCopy()A fresh copy oftenkan. -
kijun
public double kijun(int i) Elementiofkijun. -
kijunLength
public int kijunLength()Length ofkijun. -
kijunCopy
public double[] kijunCopy()A fresh copy ofkijun. -
senkouA
public double senkouA(int i) ElementiofsenkouA. -
senkouALength
public int senkouALength()Length ofsenkouA. -
senkouACopy
public double[] senkouACopy()A fresh copy ofsenkouA. -
senkouB
public double senkouB(int i) ElementiofsenkouB. -
senkouBLength
public int senkouBLength()Length ofsenkouB. -
senkouBCopy
public double[] senkouBCopy()A fresh copy ofsenkouB. -
chikou
public double chikou(int i) Elementiofchikou. -
chikouLength
public int chikouLength()Length ofchikou. -
chikouCopy
public double[] chikouCopy()A fresh copy ofchikou. -
equals
-
hashCode
-
toString
-