Documentation
¶
Index ¶
- func ChangeMaType(ma string) MaType
- type RootModule
- type Ta
- func (ta Ta) Adx(h, l, c floats.Slice, n int64) floats.Slice
- func (ta Ta) Apo(t MaType, in floats.Slice, fastN, slowN int64) floats.Slice
- func (ta Ta) Aroon(h, l floats.Slice, n int64) (floats.Slice, floats.Slice)
- func (ta Ta) AroonOsc(h, l floats.Slice, n int64) floats.Slice
- func (ta Ta) Atr(h, l, c floats.Slice, n int64) floats.Slice
- func (ta Ta) BBands(ma string, in floats.Slice, n int64, upNStdDev, dnNStdDev float64) map[string]floats.Slice
- func (ta Ta) Cci(h, l, c floats.Slice, n int64) floats.Slice
- func (ta Ta) Change(args ...any) any
- func (ta Ta) Cmo(in floats.Slice, n int64) floats.Slice
- func (ta Ta) DWma(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Dema(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Dev(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Diff(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Dx(h, l, c floats.Slice, n int64) floats.Slice
- func (ta Ta) Ema(in floats.Slice, n int64) floats.Slice
- func (c *Ta) Exports() modules.Exports
- func (ta Ta) Hma(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Jma(in floats.Slice, n int64, phase float64, power float64) floats.Slice
- func (ta Ta) Kama(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Macd(in floats.Slice, fastN, slowN, signalN int64) (floats.Slice, floats.Slice, floats.Slice)
- func (ta Ta) Natr(h, l, c floats.Slice, n int64) floats.Slice
- func (ta Ta) Obv(c, v floats.Slice) floats.Slice
- func (ta Ta) Ppo(in floats.Slice, t MaType, fastN, slowN int64) floats.Slice
- func (ta Ta) Roc(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Rsi(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Sma(in floats.Slice, n int64) floats.Slice
- func (ta Ta) StdDev(in floats.Slice, n int64) floats.Slice
- func (ta Ta) StochRsi(in floats.Slice, n, kN int64, dt MaType, dN int64) (floats.Slice, floats.Slice)
- func (ta Ta) TRange(h, l, c floats.Slice) floats.Slice
- func (ta Ta) Trima(in floats.Slice, n int64) floats.Slice
- func (ta Ta) Trix(in floats.Slice, n int64) floats.Slice
- func (ta Ta) UltOsc(h, l, c floats.Slice, n1, n2, n3 int64) floats.Slice
- func (ta Ta) Var(in floats.Slice, n int64) floats.Slice
- func (ta Ta) WillR(h, l, c floats.Slice, n int64) floats.Slice
- func (ta Ta) Wma(in floats.Slice, n int64) floats.Slice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeMaType ¶
func ChangeMaType(ma string) MaType
Types ¶
type RootModule ¶
type RootModule struct{}
RootModule is the global module instance that will create module instances for each VU.
func (*RootModule) NewModuleInstance ¶
func (*RootModule) NewModuleInstance(vu modules.VU) modules.Instance
NewModuleInstance implements the modules.Module interface to return a new instance for each VU.
Click to show internal directories.
Click to hide internal directories.