public interface AQFinancial
Modifier and Type | Method and Description |
---|---|
double[] |
accdistosc(double[] high,
double[] low,
double[] close,
double[] volume)
Calculates Accumulation Distribution (Chaikin) Oscillator for incoming data.
|
double[] |
accumdistrib(double[] high,
double[] low,
double[] close,
double[] volume)
Calculates accumulation/distribution line of incoming data.
|
double[][] |
bollinger(double[] in,
int span)
Returns Bollinger bands for incoming data.
|
double[] |
chaikinmoneyflow(double[] high,
double[] low,
double[] close,
double[] volume,
int span)
Calculates Chaikin Money Flow for incoming data.
|
double[] |
chaikinosc(double[] high,
double[] low,
double[] close,
double[] volume)
Calculates Chaikin Oscillator for incoming data.
|
double[] |
chvol(double[] high,
double[] low,
int span)
Calculates Chaikin volitility.
|
double |
clv(double high,
double low,
double close)
Calculates close location value of incoming data.
|
double[] |
ema(double[] in,
int span)
Calculates Exponential moving average-- moving average whose weighting factors decrease exponentially.
|
double[] |
hhigh(double[] close,
int span)
Calculates highest high in a given period
|
double[] |
llow(double[] close,
int span)
Calculates lowest low in a given period
|
double[][] |
macd(double[] in,
int fastspan,
int slowspan,
int convspan)
Returns moving average convergence/divergence for incoming data.
|
double[] |
medianprice(double[] high,
double[] low)
Calculates median price of incoming data..
|
double[] |
momentum(double[] close,
int span)
Calculates momentum of incoming data.
|
double[] |
movingaverage(double[] in,
int span)
Calculates Simple Moving average
[link]
|
double[] |
movingstd(double[] in,
int span)
Calculates Moving Standard Deviation.
|
double[] |
nvi(double[] volume,
double[] close)
Calculates negative volume index of incoming data.
|
double[] |
obv(double[] volume,
double[] close)
Calculates on balance volume of incoming data.
|
double[] |
proc(double[] close,
int span)
Returns price rate of change of incoming data.
|
double[] |
pvi(double[] volume,
double[] close)
Calculates positive volume index of incoming data.
|
double[] |
pvt(double[] volume,
double[] close)
Calculates price and volume trend of incoming data.
|
double[] |
rsi(double[] close,
int span)
Calculates Relative strength index of incoming data.
|
double[][] |
stochosc(double[] high,
double[] low,
double[] close)
Calculates default (14-day fast) stochastic oscillator.
|
double[][] |
stochosc(double[] high,
double[] low,
double[] close,
int span,
int smoothspan)
Calculates general stochastic oscillator.
|
double[][] |
stochosc(double[] high,
double[] low,
double[] close,
int span,
java.lang.String option)
Calculates fast or slow stochastic oscillator of user defined width.
|
double |
sum(double[] in)
Calculates sum of incoming data
|
double[] |
trh(double[] high,
double[] close)
Calculates True Range High of incoming array.
|
double[] |
trl(double[] low,
double[] close)
Calculates True Range Low of incoming array.
|
double[] |
typicalprice(double[] high,
double[] low,
double[] close)
Calculates typical price of incoming data.
|
double[] |
vroc(double[] volume,
int span)
Calculates volume rate of change.
|
double[] |
waccumdistrib(double[] high,
double[] low,
double[] close)
Calculates Williams accumulation/distribution of incoming data.
|
double[] |
wclose(double[] high,
double[] low,
double[] close)
Calculates weighted close.
|
double[] accumdistrib(double[] high, double[] low, double[] close, double[] volume)
high
- a double precision array.low
- a double precision array.close
- a double precision array.volume
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble clv(double high, double low, double close)
high
- a double precision value.low
- a double precision value.close
- a double precision value.java.lang.IllegalArgumentException
- if the incoming data is emptydouble[] chaikinosc(double[] high, double[] low, double[] close, double[] volume)
high
- a double precision array.low
- a double precision array.close
- a double precision array.volume
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble sum(double[] in)
in
- incoming data arrayjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] accdistosc(double[] high, double[] low, double[] close, double[] volume)
high
- a double precision array.low
- a double precision array.close
- a double precision array.volume
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble[] chaikinmoneyflow(double[] high, double[] low, double[] close, double[] volume, int span)
high
- a double precision array.low
- a double precision array.close
- a double precision array.volume
- a double precision array.span
- an integer valuejava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] ema(double[] in, int span)
in
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] movingaverage(double[] in, int span)
in
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] movingstd(double[] in, int span)
in
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[][] bollinger(double[] in, int span)
in
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[][] macd(double[] in, int fastspan, int slowspan, int convspan)
in
- a double precision array.fastspan
- an integerslowspan
- an integerconvspan
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] chvol(double[] high, double[] low, int span)
high
- a double precision array.low
- a double precision array.span
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble[] momentum(double[] close, int span)
close
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] nvi(double[] volume, double[] close)
volume
- a double precision array.close
- a double precision arrayjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] pvi(double[] volume, double[] close)
volume
- a double precision array.close
- a double precision arrayjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] obv(double[] volume, double[] close)
volume
- a double precision array.close
- a double precision arrayjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] proc(double[] close, int span)
close
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] pvt(double[] volume, double[] close)
volume
- a double precision array.close
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] rsi(double[] close, int span)
close
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] vroc(double[] volume, int span)
volume
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] typicalprice(double[] high, double[] low, double[] close)
high
- a double precision array.low
- a double precision arrayclose
- a double precision arrayjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] medianprice(double[] high, double[] low)
high
- a double precision array.low
- a double precision arrayjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] hhigh(double[] close, int span)
close
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[] llow(double[] close, int span)
close
- a double precision array.span
- an integerjava.lang.IllegalArgumentException
- if the incoming array is emptydouble[][] stochosc(double[] high, double[] low, double[] close)
high
- a double precision array.low
- a double precision array.close
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble[][] stochosc(double[] high, double[] low, double[] close, int span, java.lang.String option)
high
- a double precision array.low
- a double precision array.close
- a double precision array.span
- an integeroption
- a string
java.lang.IllegalArgumentException
- if the incoming array is emptydouble[][] stochosc(double[] high, double[] low, double[] close, int span, int smoothspan)
high
- a double precision array.low
- a double precision array.close
- a double precision array.span
- an integersmoothspan
- an integer
java.lang.IllegalArgumentException
- if the incoming array is emptydouble[] wclose(double[] high, double[] low, double[] close)
high
- a double precision array.low
- a double precision array.close
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble[] trh(double[] high, double[] close)
high
- a double precision array.close
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble[] trl(double[] low, double[] close)
low
- a double precision array.close
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is emptydouble[] waccumdistrib(double[] high, double[] low, double[] close)
high
- a double precision array.low
- a double precision array.close
- a double precision array.java.lang.IllegalArgumentException
- if the incoming array is empty
Copyright © 2019 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.