Documentation ¶
Index ¶
- Constants
- func ADX(high []float64, low []float64, close []float64, period int) []float64
- func ADXR(high []float64, low []float64, close []float64, period int) []float64
- func APO(input []float64, fastPeriod int, slowPeriod int, maType MaType) []float64
- func ATR(high []float64, low []float64, close []float64, period int) []float64
- func Acos(input []float64) []float64
- func Ad(high []float64, low []float64, close []float64, volume []float64) []float64
- func AdOsc(high []float64, low []float64, close []float64, volume []float64, ...) []float64
- func Add(input0, input1 []float64) []float64
- func Aroon(high []float64, low []float64, period int) ([]float64, []float64)
- func AroonOsc(high []float64, low []float64, period int) []float64
- func Asin(input []float64) []float64
- func Atan(input []float64) []float64
- func AvgPrice(inOpen []float64, high []float64, low []float64, close []float64) []float64
- func BB(input []float64, period int, deviation float64, maType MaType) ([]float64, []float64, []float64)
- func BOP(inOpen []float64, high []float64, low []float64, close []float64) []float64
- func Beta(input0 []float64, input1 []float64, period int) []float64
- func CCI(high []float64, low []float64, close []float64, period int) []float64
- func CMO(input []float64, period int) []float64
- func Ceil(input []float64) []float64
- func Correl(input0 []float64, input1 []float64, period int) []float64
- func Cos(input []float64) []float64
- func Cosh(input []float64) []float64
- func DEMA(input []float64, period int) []float64
- func DX(high []float64, low []float64, close []float64, period int) []float64
- func Div(input0, input1 []float64) []float64
- func EMA(input []float64, period int) []float64
- func Exp(input []float64) []float64
- func Floor(input []float64) []float64
- func HTDcPeriod(input []float64) []float64
- func HTDcPhase(input []float64) []float64
- func HTPhasor(input []float64) ([]float64, []float64)
- func HTSine(input []float64) ([]float64, []float64)
- func HTTrendMode(input []float64) []float64
- func HTTrendline(input []float64) []float64
- func KAMA(input []float64, period int) []float64
- func LinearReg(input []float64, period int) []float64
- func LinearRegAngle(input []float64, period int) []float64
- func LinearRegIntercept(input []float64, period int) []float64
- func LinearRegSlope(input []float64, period int) []float64
- func Ln(input []float64) []float64
- func Log10(input []float64) []float64
- func MA(input []float64, period int, maType MaType) []float64
- func MACD(input []float64, fastPeriod int, slowPeriod int, signalPeriod int) ([]float64, []float64, []float64)
- func MACDExt(input []float64, fastPeriod int, fastMAType MaType, slowPeriod int, ...) ([]float64, []float64, []float64)
- func MACDFix(input []float64, signalPeriod int) ([]float64, []float64, []float64)
- func MAMA(input []float64, fastLimit float64, slowLimit float64) ([]float64, []float64)
- func MFI(high []float64, low []float64, close []float64, volume []float64, period int) []float64
- func MaVp(input []float64, periods []float64, minPeriod int, maxPeriod int, ...) []float64
- func Max(input []float64, period int) []float64
- func MaxIndex(input []float64, period int) []float64
- func MedPrice(high []float64, low []float64) []float64
- func MidPoint(input []float64, period int) []float64
- func MidPrice(high []float64, low []float64, period int) []float64
- func Min(input []float64, period int) []float64
- func MinIndex(input []float64, period int) []float64
- func MinMax(input []float64, period int) ([]float64, []float64)
- func MinMaxIndex(input []float64, period int) ([]float64, []float64)
- func MinusDI(high []float64, low []float64, close []float64, period int) []float64
- func MinusDM(high []float64, low []float64, period int) []float64
- func Momentum(input []float64, period int) []float64
- func Mult(input0, input1 []float64) []float64
- func NATR(high []float64, low []float64, close []float64, period int) []float64
- func OBV(input []float64, volume []float64) []float64
- func PPO(input []float64, fastPeriod int, slowPeriod int, maType MaType) []float64
- func PlusDI(high []float64, low []float64, close []float64, period int) []float64
- func PlusDM(high []float64, low []float64, period int) []float64
- func ROC(input []float64, period int) []float64
- func ROCP(input []float64, period int) []float64
- func ROCR(input []float64, period int) []float64
- func ROCR100(input []float64, period int) []float64
- func RSI(input []float64, period int) []float64
- func SAR(high []float64, low []float64, inAcceleration float64, inMaximum float64) []float64
- func SARExt(high []float64, low []float64, startValue float64, offsetOnReverse float64, ...) []float64
- func SMA(input []float64, period int) []float64
- func Sin(input []float64) []float64
- func Sinh(input []float64) []float64
- func Sqrt(input []float64) []float64
- func StdDev(input []float64, period int, inNbDev float64) []float64
- func Stoch(high []float64, low []float64, close []float64, fastKPeriod int, ...) ([]float64, []float64)
- func StochF(high []float64, low []float64, close []float64, fastKPeriod int, ...) ([]float64, []float64)
- func StochRSI(input []float64, period int, fastKPeriod int, fastDPeriod int, ...) ([]float64, []float64)
- func Sub(input0, input1 []float64) []float64
- func Sum(input []float64, period int) []float64
- func SuperTrend(high, low, close []float64, atrPeriod int, factor float64) []float64
- func T3(input []float64, period int, inVFactor float64) []float64
- func TEMA(input []float64, period int) []float64
- func TRANGE(high []float64, low []float64, close []float64) []float64
- func TRIMA(input []float64, period int) []float64
- func TSF(input []float64, period int) []float64
- func Tan(input []float64) []float64
- func Tanh(input []float64) []float64
- func Trix(input []float64, period int) []float64
- func TypPrice(high []float64, low []float64, close []float64) []float64
- func UltOsc(high []float64, low []float64, close []float64, period1 int, period2 int, ...) []float64
- func Var(input []float64, period int) []float64
- func WCLPrice(high []float64, low []float64, close []float64) []float64
- func WMA(input []float64, period int) []float64
- func WilliamsR(high []float64, low []float64, close []float64, period int) []float64
- type MaType
Constants ¶
View Source
const ( TypeSMA = talib.SMA TypeEMA = talib.EMA TypeWMA = talib.WMA TypeDEMA = talib.DEMA TypeTEMA = talib.TEMA TypeTRIMA = talib.TRIMA TypeKAMA = talib.KAMA TypeMAMA = talib.MAMA TypeT3MA = talib.T3MA )
Kinds of moving averages
Variables ¶
This section is empty.
Functions ¶
func BB ¶
func BB(input []float64, period int, deviation float64, maType MaType) ([]float64, []float64, []float64)
BB - Bollinger Bands
func HTDcPeriod ¶
func HTTrendMode ¶
func HTTrendline ¶
func LinearRegAngle ¶
func LinearRegIntercept ¶
func LinearRegSlope ¶
func MACD ¶
func MACD(input []float64, fastPeriod int, slowPeriod int, signalPeriod int) ([]float64, []float64, []float64)
MACD - moving average convergence/divergence
func Stoch ¶
func Stoch(high []float64, low []float64, close []float64, fastKPeriod int, slowKPeriod int, slowKMAType MaType, slowDPeriod int, slowDMAType MaType) ([]float64, []float64)
Stoch is slow stochastic indicator.
func StochF ¶
func StochF(high []float64, low []float64, close []float64, fastKPeriod int, fastDPeriod int, fastDMAType MaType) ([]float64, []float64)
StochF is fast stochastic indicator.
func StochRSI ¶
func StochRSI(input []float64, period int, fastKPeriod int, fastDPeriod int, fastDMAType MaType) ([]float64, []float64)
StochRSI is stochastic RSI indicator.
func SuperTrend ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.