Class Indicators.StochRsi

java.lang.Object
com.quantfinlib.indicators.Indicators.StochRsi
Enclosing class:
Indicators

public static final class Indicators.StochRsi extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    StochRsi(double[] k, double[] d)
    Creates the value; array and collection arguments are copied.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    d(int i)
    Element i of d.
    double[]
    A fresh copy of d.
    int
    Length of d.
    boolean
    equals(Object other)
     
    int
     
    double
    k(int i)
    Element i of k.
    double[]
    A fresh copy of k.
    int
    Length of k.
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StochRsi

      public StochRsi(double[] k, double[] d)
      Creates the value; array and collection arguments are copied.
  • Method Details

    • k

      public double k(int i)
      Element i of k.
    • kLength

      public int kLength()
      Length of k.
    • kCopy

      public double[] kCopy()
      A fresh copy of k.
    • d

      public double d(int i)
      Element i of d.
    • dLength

      public int dLength()
      Length of d.
    • dCopy

      public double[] dCopy()
      A fresh copy of d.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object