STOCHIndicatorUnit

public class STOCHIndicatorUnit

A single date's stochastic oscillator reading — the smoothed %K and %D lines.

Author

Sylvester Sefa-Yeboah

Since

1.1.0

Constructors

Link copied to clipboard
public void STOCHIndicatorUnit(String date, double slowK, double slowD)
Creates a unit.

Properties

Link copied to clipboard
public String date
The date this reading applies to.
Link copied to clipboard
public double slowDValue
The slow %D line: slow %K smoothed further by slowDPeriod.
Link copied to clipboard
public double slowKValue
The slow %K line: the raw %K smoothed by slowKPeriod.

Functions

Link copied to clipboard
public String getDate()
Returns the date this reading applies to.
Link copied to clipboard
public double getSlowDValue()
Returns the slow %D value.
Link copied to clipboard
public double getSlowKValue()
Returns the slow %K value.
Link copied to clipboard
public String toString()