Versions in this module Expand all Collapse all v0 v0.0.1 May 4, 2024 Changes in this version + const DPeriod + const DefaultEMVScale + const MaxNumOfALMA + const MaxNumOfALMATruncateSize + const MaxNumOfATR + const MaxNumOfATRTruncateSize + const MaxNumOfEWMA + const MaxNumOfEWMATruncateSize + const MaxNumOfRMA + const MaxNumOfRMATruncateSize + const MaxNumOfSMA + const MaxNumOfSMATruncateSize + const MaxNumOfStdev + const MaxNumOfStdevTruncateSize + const MaxNumOfVOL + const MaxNumOfVOLTruncateSize + const MaxNumOfWWMA + const MaxNumOfWWMATruncateSize + func CalculateKLinesEMA(allKLines []types.KLine, priceF types.KLineValueMapper, window int) float64 + func Min(x, y int) int + type AD struct + EndTime time.Time + PrePrice float64 + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *AD) CalculateAndUpdate(kLines []types.KLine) + func (inc *AD) EmitUpdate(value float64) + func (inc *AD) Index(i int) float64 + func (inc *AD) Last(i int) float64 + func (inc *AD) Length() int + func (inc *AD) OnUpdate(cb func(value float64)) + func (inc *AD) Update(high, low, cloze, volume float64) + type ALMA struct + Offset float64 + Sigma int + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *ALMA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *ALMA) EmitUpdate(value float64) + func (inc *ALMA) Index(i int) float64 + func (inc *ALMA) Last(i int) float64 + func (inc *ALMA) Length() int + func (inc *ALMA) OnUpdate(cb func(value float64)) + func (inc *ALMA) Update(value float64) + type ATR struct + EndTime time.Time + PercentageVolatility floats.Slice + PreviousClose float64 + RMA *RMA + UpdateCallbacks []func(value float64) + func (inc *ATR) Clone() *ATR + func (inc *ATR) EmitUpdate(value float64) + func (inc *ATR) Index(i int) float64 + func (inc *ATR) Last(i int) float64 + func (inc *ATR) Length() int + func (inc *ATR) OnUpdate(cb func(value float64)) + func (inc *ATR) PushK(k types.KLine) + func (inc *ATR) TestUpdate(high, low, cloze float64) *ATR + func (inc *ATR) Update(high, low, cloze float64) + type ATRP struct + EndTime time.Time + PercentageVolatility floats.Slice + PreviousClose float64 + RMA *RMA + UpdateCallbacks []func(value float64) + func (inc *ATRP) Bind(updater KLineWindowUpdater) + func (inc *ATRP) CalculateAndUpdate(kLines []types.KLine) + func (inc *ATRP) EmitUpdate(value float64) + func (inc *ATRP) Index(i int) float64 + func (inc *ATRP) Last(i int) float64 + func (inc *ATRP) Length() int + func (inc *ATRP) OnUpdate(cb func(value float64)) + func (inc *ATRP) PushK(k types.KLine) + func (inc *ATRP) Update(high, low, cloze float64) + type BOLL struct + DownBand floats.Slice + EndTime time.Time + K float64 + SMA *SMA + StdDev *StdDev + UpBand floats.Slice + func (inc *BOLL) Bind(updater KLineWindowUpdater) + func (inc *BOLL) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *BOLL) CalculateAndUpdate(allKLines []types.KLine) + func (inc *BOLL) EmitUpdate(sma float64, upBand float64, downBand float64) + func (inc *BOLL) GetDownBand() types.SeriesExtend + func (inc *BOLL) GetSMA() types.SeriesExtend + func (inc *BOLL) GetStdDev() types.SeriesExtend + func (inc *BOLL) GetUpBand() types.SeriesExtend + func (inc *BOLL) LastDownBand() float64 + func (inc *BOLL) LastUpBand() float64 + func (inc *BOLL) LoadK(allKLines []types.KLine) + func (inc *BOLL) OnUpdate(cb func(sma float64, upBand float64, downBand float64)) + func (inc *BOLL) PushK(k types.KLine) + func (inc *BOLL) Update(value float64) + type BandType int + type CA struct + Interval types.Interval + Values floats.Slice + func (inc *CA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *CA) EmitUpdate(value float64) + func (inc *CA) Index(i int) float64 + func (inc *CA) Last(i int) float64 + func (inc *CA) Length() int + func (inc *CA) OnUpdate(cb func(value float64)) + func (inc *CA) PushK(k types.KLine) + func (inc *CA) Update(x float64) + type CCI struct + Input floats.Slice + MA floats.Slice + TypicalPrice floats.Slice + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *CCI) CalculateAndUpdate(allKLines []types.KLine) + func (inc *CCI) EmitUpdate(value float64) + func (inc *CCI) Index(i int) float64 + func (inc *CCI) Last(i int) float64 + func (inc *CCI) Length() int + func (inc *CCI) OnUpdate(cb func(value float64)) + func (inc *CCI) PushK(k types.KLine) + func (inc *CCI) Update(value float64) + type DEMA struct + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *DEMA) Bind(updater KLineWindowUpdater) + func (inc *DEMA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *DEMA) Clone() *DEMA + func (inc *DEMA) EmitUpdate(value float64) + func (inc *DEMA) Index(i int) float64 + func (inc *DEMA) Last(i int) float64 + func (inc *DEMA) Length() int + func (inc *DEMA) OnUpdate(cb func(value float64)) + func (inc *DEMA) PushK(k types.KLine) + func (inc *DEMA) TestUpdate(value float64) *DEMA + func (inc *DEMA) Update(value float64) + type DMI struct + ADX types.UpdatableSeriesExtend + ADXSmoothing int + DIMinus *types.Queue + DIPlus *types.Queue + DMN types.UpdatableSeriesExtend + DMP types.UpdatableSeriesExtend + PrevHigh float64 + PrevLow float64 + func (inc *DMI) CalculateAndUpdate(allKLines []types.KLine) + func (inc *DMI) EmitUpdate(diplus float64, diminus float64, adx float64) + func (inc *DMI) GetADX() types.SeriesExtend + func (inc *DMI) GetDIMinus() types.SeriesExtend + func (inc *DMI) GetDIPlus() types.SeriesExtend + func (inc *DMI) Length() int + func (inc *DMI) OnUpdate(cb func(diplus float64, diminus float64, adx float64)) + func (inc *DMI) PushK(k types.KLine) + func (inc *DMI) Update(high, low, cloze float64) + type Drift struct + LastValue float64 + MA types.UpdatableSeriesExtend + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *Drift) Bind(updater KLineWindowUpdater) + func (inc *Drift) CalculateAndUpdate(allKLines []types.KLine) + func (inc *Drift) Clone() (out *Drift) + func (inc *Drift) EmitUpdate(value float64) + func (inc *Drift) Index(i int) float64 + func (inc *Drift) Last(i int) float64 + func (inc *Drift) Length() int + func (inc *Drift) OnUpdate(cb func(value float64)) + func (inc *Drift) PushK(k types.KLine) + func (inc *Drift) TestUpdate(value float64) *Drift + func (inc *Drift) Update(value float64) + func (inc *Drift) ZeroPoint() float64 + type EMV struct + EMVScale float64 + UpdateCallbacks []func(value float64) + Values *SMA + func (inc *EMV) EmitUpdate(value float64) + func (inc *EMV) Index(i int) float64 + func (inc *EMV) Last(i int) float64 + func (inc *EMV) Length() int + func (inc *EMV) OnUpdate(cb func(value float64)) + func (inc *EMV) PushK(k types.KLine) + func (inc *EMV) Update(high, low, vol float64) + type EWMA struct + EndTime time.Time + Values floats.Slice + func (inc *EWMA) Clone() *EWMA + func (inc *EWMA) EmitUpdate(value float64) + func (inc *EWMA) Index(i int) float64 + func (inc *EWMA) Last(i int) float64 + func (inc *EWMA) Length() int + func (inc *EWMA) OnUpdate(cb func(value float64)) + func (inc *EWMA) PushK(k types.KLine) + func (inc *EWMA) TestUpdate(value float64) *EWMA + func (inc *EWMA) Update(value float64) + type FisherTransform struct + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *FisherTransform) Clone() types.UpdatableSeriesExtend + func (inc *FisherTransform) EmitUpdate(value float64) + func (inc *FisherTransform) Index(i int) float64 + func (inc *FisherTransform) Last(i int) float64 + func (inc *FisherTransform) Length() int + func (inc *FisherTransform) OnUpdate(cb func(value float64)) + func (inc *FisherTransform) Update(value float64) + type GHFilter struct + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *GHFilter) EmitUpdate(value float64) + func (inc *GHFilter) Index(i int) float64 + func (inc *GHFilter) Last(i int) float64 + func (inc *GHFilter) Length() int + func (inc *GHFilter) OnUpdate(cb func(value float64)) + func (inc *GHFilter) PushK(k types.KLine) + func (inc *GHFilter) Update(value float64) + type GMA struct + SMA *SMA + UpdateCallbacks []func(value float64) + func (inc *GMA) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *GMA) Clone() (out *GMA) + func (inc *GMA) EmitUpdate(value float64) + func (inc *GMA) Index(i int) float64 + func (inc *GMA) Last(i int) float64 + func (inc *GMA) Length() int + func (inc *GMA) LoadK(allKLines []types.KLine) + func (inc *GMA) OnUpdate(cb func(value float64)) + func (inc *GMA) PushK(k types.KLine) + func (inc *GMA) TestUpdate(value float64) *GMA + func (inc *GMA) Update(value float64) + type HULL struct + func (inc *HULL) EmitUpdate(value float64) + func (inc *HULL) Index(i int) float64 + func (inc *HULL) Last(i int) float64 + func (inc *HULL) Length() int + func (inc *HULL) OnUpdate(cb func(value float64)) + func (inc *HULL) PushK(k types.KLine) + func (inc *HULL) Update(value float64) + type KLineCalculateUpdater interface + CalculateAndUpdate func(allKLines []types.KLine) + type KLineClosedBinder interface + BindK func(target KLineClosedEmitter, symbol string, interval types.Interval) + type KLineClosedEmitter interface + OnKLineClosed func(func(k types.KLine)) + type KLinePusher interface + PushK func(k types.KLine) + type KLineWindowUpdater interface + OnKLineWindowUpdate func(func(interval types.Interval, window types.KLineWindow)) + type KalmanFilter struct + AdditionalSmoothWindow uint + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *KalmanFilter) EmitUpdate(value float64) + func (inc *KalmanFilter) Index(i int) float64 + func (inc *KalmanFilter) Last(i int) float64 + func (inc *KalmanFilter) Length() int + func (inc *KalmanFilter) OnUpdate(cb func(value float64)) + func (inc *KalmanFilter) PushK(k types.KLine) + func (inc *KalmanFilter) Update(value float64) + type KlingerOscillator struct + Fast types.UpdatableSeries + Slow types.UpdatableSeries + VF VolumeForce + func (inc *KlingerOscillator) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *KlingerOscillator) EmitUpdate(value float64) + func (inc *KlingerOscillator) Last(i int) float64 + func (inc *KlingerOscillator) Length() int + func (inc *KlingerOscillator) OnUpdate(cb func(value float64)) + func (inc *KlingerOscillator) PushK(k types.KLine) + func (inc *KlingerOscillator) Update(high, low, cloze, volume float64) + type LinReg struct + EndTime time.Time + UpdateCallbacks []func(value float64) + ValueRatios floats.Slice + Values floats.Slice + func (lr *LinReg) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (lr *LinReg) EmitUpdate(value float64) + func (lr *LinReg) Index(i int) float64 + func (lr *LinReg) IndexRatio(i int) float64 + func (lr *LinReg) Last(i int) float64 + func (lr *LinReg) LastRatio() float64 + func (lr *LinReg) Length() int + func (lr *LinReg) LengthRatio() int + func (lr *LinReg) LoadK(allKLines []types.KLine) + func (lr *LinReg) OnUpdate(cb func(value float64)) + func (lr *LinReg) PushK(k types.KLine) + func (lr *LinReg) Update(kline types.KLine) + type Line struct + Interval types.Interval + func NewLine(startIndex int, startValue float64, endIndex int, endValue float64, ...) *Line + func (l *Line) Bind(updater KLineWindowUpdater) + func (l *Line) Index(i int) float64 + func (l *Line) Last(i int) float64 + func (l *Line) Length() int + func (l *Line) SetXY1(index int, value float64) + func (l *Line) SetXY2(index int, value float64) + type MACDConfig struct + LongPeriod int + ShortPeriod int + type MACDLegacy struct + EndTime time.Time + Histogram floats.Slice + Values floats.Slice + func (inc *MACDLegacy) EmitUpdate(macd float64, signal float64, histogram float64) + func (inc *MACDLegacy) Last(i int) float64 + func (inc *MACDLegacy) Length() int + func (inc *MACDLegacy) MACD() types.SeriesExtend + func (inc *MACDLegacy) OnUpdate(cb func(macd float64, signal float64, histogram float64)) + func (inc *MACDLegacy) PushK(k types.KLine) + func (inc *MACDLegacy) Singals() types.SeriesExtend + func (inc *MACDLegacy) Update(x float64) + type MACDValues struct + func (inc *MACDValues) Index(i int) float64 + func (inc *MACDValues) Last(i int) float64 + func (inc *MACDValues) Length() int + type OBV struct + EndTime time.Time + PrePrice float64 + Values floats.Slice + func (inc *OBV) Bind(updater KLineWindowUpdater) + func (inc *OBV) CalculateAndUpdate(kLines []types.KLine) + func (inc *OBV) EmitUpdate(value float64) + func (inc *OBV) Index(i int) float64 + func (inc *OBV) Last(i int) float64 + func (inc *OBV) OnUpdate(cb func(value float64)) + func (inc *OBV) PushK(k types.KLine) + func (inc *OBV) Update(price, volume float64) + type PSAR struct + AF float64 + EP float64 + EndTime time.Time + Falling bool + High *types.Queue + Low *types.Queue + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *PSAR) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *PSAR) EmitUpdate(value float64) + func (inc *PSAR) Last(i int) float64 + func (inc *PSAR) Length() int + func (inc *PSAR) OnUpdate(cb func(value float64)) + func (inc *PSAR) PushK(k types.KLine) + func (inc *PSAR) Update(high, low float64) + type Pivot struct + EndTime time.Time + Highs floats.Slice + Lows floats.Slice + func (inc *Pivot) Bind(updater KLineWindowUpdater) + func (inc *Pivot) CalculateAndUpdate(klines []types.KLine) + func (inc *Pivot) EmitUpdate(valueLow float64, valueHigh float64) + func (inc *Pivot) LastHigh() float64 + func (inc *Pivot) LastLow() float64 + func (inc *Pivot) OnUpdate(cb func(valueLow float64, valueHigh float64)) + type PivotHigh struct + EndTime time.Time + Highs floats.Slice + Values floats.Slice + func (inc *PivotHigh) EmitUpdate(value float64) + func (inc *PivotHigh) Last(i int) float64 + func (inc *PivotHigh) Length() int + func (inc *PivotHigh) OnUpdate(cb func(value float64)) + func (inc *PivotHigh) PushK(k types.KLine) + func (inc *PivotHigh) Update(value float64) + type PivotLow struct + EndTime time.Time + Lows floats.Slice + Values floats.Slice + func (inc *PivotLow) EmitUpdate(value float64) + func (inc *PivotLow) Last(i int) float64 + func (inc *PivotLow) Length() int + func (inc *PivotLow) OnUpdate(cb func(value float64)) + func (inc *PivotLow) PushK(k types.KLine) + func (inc *PivotLow) Update(value float64) + type PivotSupertrend struct + ATRMultiplier float64 + AverageTrueRange *ATR + EndTime time.Time + PivotHigh *PivotHigh + PivotLow *PivotLow + PivotWindow int + UpdateCallbacks []func(value float64) + func (inc *PivotSupertrend) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *PivotSupertrend) Direction() types.Direction + func (inc *PivotSupertrend) EmitUpdate(value float64) + func (inc *PivotSupertrend) GetSignal() types.Direction + func (inc *PivotSupertrend) Index(i int) float64 + func (inc *PivotSupertrend) Last(i int) float64 + func (inc *PivotSupertrend) LastSupertrendResistance() float64 + func (inc *PivotSupertrend) LastSupertrendSupport() float64 + func (inc *PivotSupertrend) Length() int + func (inc *PivotSupertrend) LoadK(allKLines []types.KLine) + func (inc *PivotSupertrend) OnUpdate(cb func(value float64)) + func (inc *PivotSupertrend) PushK(k types.KLine) + func (inc *PivotSupertrend) Update(highPrice, lowPrice, closePrice float64) + type RMA struct + Adjust bool + EndTime time.Time + Values floats.Slice + func (inc *RMA) Bind(updater KLineWindowUpdater) + func (inc *RMA) CalculateAndUpdate(kLines []types.KLine) + func (inc *RMA) Clone() types.UpdatableSeriesExtend + func (inc *RMA) EmitUpdate(value float64) + func (inc *RMA) Index(i int) float64 + func (inc *RMA) Last(i int) float64 + func (inc *RMA) Length() int + func (inc *RMA) OnUpdate(cb func(value float64)) + func (inc *RMA) PushK(k types.KLine) + func (inc *RMA) Update(x float64) + type RSI struct + EndTime time.Time + PreviousAvgGain float64 + PreviousAvgLoss float64 + Prices floats.Slice + Values floats.Slice + func (inc *RSI) Bind(updater KLineWindowUpdater) + func (inc *RSI) CalculateAndUpdate(kLines []types.KLine) + func (inc *RSI) EmitUpdate(value float64) + func (inc *RSI) Index(i int) float64 + func (inc *RSI) Last(i int) float64 + func (inc *RSI) Length() int + func (inc *RSI) OnUpdate(cb func(value float64)) + func (inc *RSI) PushK(k types.KLine) + func (inc *RSI) Update(price float64) + type SMA struct + EndTime time.Time + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *SMA) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *SMA) Clone() types.UpdatableSeriesExtend + func (inc *SMA) EmitUpdate(value float64) + func (inc *SMA) Index(i int) float64 + func (inc *SMA) Last(i int) float64 + func (inc *SMA) Length() int + func (inc *SMA) LoadK(allKLines []types.KLine) + func (inc *SMA) OnUpdate(cb func(value float64)) + func (inc *SMA) PushK(k types.KLine) + func (inc *SMA) Update(value float64) + type SSF struct + Poles int + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *SSF) CalculateAndUpdate(allKLines []types.KLine) + func (inc *SSF) EmitUpdate(value float64) + func (inc *SSF) Index(i int) float64 + func (inc *SSF) Last(i int) float64 + func (inc *SSF) Length() int + func (inc *SSF) OnUpdate(cb func(value float64)) + func (inc *SSF) PushK(k types.KLine) + func (inc *SSF) Update(value float64) + type STOCH struct + D floats.Slice + EndTime time.Time + HighValues floats.Slice + K floats.Slice + LowValues floats.Slice + UpdateCallbacks []func(k float64, d float64) + func (inc *STOCH) EmitUpdate(k float64, d float64) + func (inc *STOCH) GetD() types.Series + func (inc *STOCH) GetK() types.Series + func (inc *STOCH) LastD() float64 + func (inc *STOCH) LastK() float64 + func (inc *STOCH) OnUpdate(cb func(k float64, d float64)) + func (inc *STOCH) PushK(k types.KLine) + func (inc *STOCH) Update(high, low, cloze float64) + type Simple interface + Last func(int) float64 + OnUpdate func(f func(value float64)) + type StdDev struct + EndTime time.Time + Values floats.Slice + func (inc *StdDev) EmitUpdate(value float64) + func (inc *StdDev) Index(i int) float64 + func (inc *StdDev) Last(i int) float64 + func (inc *StdDev) Length() int + func (inc *StdDev) OnUpdate(cb func(value float64)) + func (inc *StdDev) PushK(k types.KLine) + func (inc *StdDev) Update(value float64) + type Supertrend struct + ATRMultiplier float64 + AverageTrueRange *ATR + EndTime time.Time + UpdateCallbacks []func(value float64) + func (inc *Supertrend) Bind(updater KLineWindowUpdater) + func (inc *Supertrend) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *Supertrend) CalculateAndUpdate(kLines []types.KLine) + func (inc *Supertrend) Direction() types.Direction + func (inc *Supertrend) EmitUpdate(value float64) + func (inc *Supertrend) GetSignal() types.Direction + func (inc *Supertrend) Index(i int) float64 + func (inc *Supertrend) Last(i int) float64 + func (inc *Supertrend) LastSupertrendResistance() float64 + func (inc *Supertrend) LastSupertrendSupport() float64 + func (inc *Supertrend) Length() int + func (inc *Supertrend) LoadK(allKLines []types.KLine) + func (inc *Supertrend) OnUpdate(cb func(value float64)) + func (inc *Supertrend) PushK(k types.KLine) + func (inc *Supertrend) Update(highPrice, lowPrice, closePrice float64) + type TEMA struct + A1 *EWMA + A2 *EWMA + A3 *EWMA + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *TEMA) Bind(updater KLineWindowUpdater) + func (inc *TEMA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *TEMA) EmitUpdate(value float64) + func (inc *TEMA) Index(i int) float64 + func (inc *TEMA) Last(i int) float64 + func (inc *TEMA) Length() int + func (inc *TEMA) OnUpdate(cb func(value float64)) + func (inc *TEMA) PushK(k types.KLine) + func (inc *TEMA) Update(value float64) + type TILL struct + VolumeFactor float64 + func (inc *TILL) Bind(updater KLineWindowUpdater) + func (inc *TILL) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *TILL) CalculateAndUpdate(allKLines []types.KLine) + func (inc *TILL) EmitUpdate(value float64) + func (inc *TILL) Index(i int) float64 + func (inc *TILL) Last(i int) float64 + func (inc *TILL) Length() int + func (inc *TILL) LoadK(allKLines []types.KLine) + func (inc *TILL) OnUpdate(cb func(value float64)) + func (inc *TILL) PushK(k types.KLine) + func (inc *TILL) Update(value float64) + type TMA struct + UpdateCallbacks []func(value float64) + func (inc *TMA) EmitUpdate(value float64) + func (inc *TMA) Index(i int) float64 + func (inc *TMA) Last(i int) float64 + func (inc *TMA) Length() int + func (inc *TMA) OnUpdate(cb func(value float64)) + func (inc *TMA) PushK(k types.KLine) + func (inc *TMA) Update(value float64) + type TSI struct + Apcds *EWMA + Apcs *EWMA + FastWindow int + Pcds *EWMA + Pcs *EWMA + PrevValue float64 + SlowWindow int + Values floats.Slice + func (inc *TSI) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *TSI) EmitUpdate(value float64) + func (inc *TSI) Index(i int) float64 + func (inc *TSI) Last(i int) float64 + func (inc *TSI) Length() int + func (inc *TSI) OnUpdate(cb func(value float64)) + func (inc *TSI) PushK(k types.KLine) + func (inc *TSI) Update(value float64) + type UtBotAlert struct + AverageTrueRange *ATR + EndTime time.Time + KeyValue float64 + UpdateCallbacks []func(value types.Direction) + Values []types.Direction + func NewUtBotAlert(iw types.IntervalWindow, keyValue float64) *UtBotAlert + func (inc *UtBotAlert) BindK(target KLineClosedEmitter, symbol string, interval types.Interval) + func (inc *UtBotAlert) EmitUpdate(value types.Direction) + func (inc *UtBotAlert) GetSignal() types.Direction + func (inc *UtBotAlert) Index(i int) types.Direction + func (inc *UtBotAlert) Last() types.Direction + func (inc *UtBotAlert) Length() int + func (inc *UtBotAlert) LoadK(allKLines []types.KLine) + func (inc *UtBotAlert) OnUpdate(cb func(value types.Direction)) + func (inc *UtBotAlert) PushK(k types.KLine) + func (inc *UtBotAlert) Update(highPrice, lowPrice, closePrice float64) + type VIDYA struct + Values floats.Slice + func (inc *VIDYA) Bind(updater KLineWindowUpdater) + func (inc *VIDYA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *VIDYA) EmitUpdate(value float64) + func (inc *VIDYA) Index(i int) float64 + func (inc *VIDYA) Last(i int) float64 + func (inc *VIDYA) Length() int + func (inc *VIDYA) OnUpdate(cb func(value float64)) + func (inc *VIDYA) PushK(k types.KLine) + func (inc *VIDYA) Update(value float64) + type VWAP struct + EndTime time.Time + Prices floats.Slice + UpdateCallbacks []func(value float64) + Values floats.Slice + VolumeSum float64 + Volumes floats.Slice + WeightedSum float64 + func (inc *VWAP) Bind(updater KLineWindowUpdater) + func (inc *VWAP) CalculateAndUpdate(allKLines []types.KLine) + func (inc *VWAP) EmitUpdate(value float64) + func (inc *VWAP) Index(i int) float64 + func (inc *VWAP) Last(i int) float64 + func (inc *VWAP) Length() int + func (inc *VWAP) OnUpdate(cb func(value float64)) + func (inc *VWAP) PushK(k types.KLine) + func (inc *VWAP) Update(price, volume float64) + type VWMA struct + EndTime time.Time + PriceVolumeSMA *SMA + Values floats.Slice + VolumeSMA *SMA + func (inc *VWMA) Bind(updater KLineWindowUpdater) + func (inc *VWMA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *VWMA) EmitUpdate(value float64) + func (inc *VWMA) Index(i int) float64 + func (inc *VWMA) Last(i int) float64 + func (inc *VWMA) Length() int + func (inc *VWMA) OnUpdate(cb func(value float64)) + func (inc *VWMA) PushK(k types.KLine) + func (inc *VWMA) Update(price, volume float64) + type Volatility struct + EndTime time.Time + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *Volatility) Bind(updater KLineWindowUpdater) + func (inc *Volatility) CalculateAndUpdate(allKLines []types.KLine) + func (inc *Volatility) EmitUpdate(value float64) + func (inc *Volatility) Index(i int) float64 + func (inc *Volatility) Last(i int) float64 + func (inc *Volatility) Length() int + func (inc *Volatility) OnUpdate(cb func(value float64)) + type VolumeForce struct + Value float64 + func (inc *VolumeForce) Update(high, low, cloze, volume float64) + type VolumeProfile struct + Delta float64 + func (inc *VolumeProfile) PointOfControlAboveEqual(price float64, limit ...float64) (resultPrice float64, vol float64) + func (inc *VolumeProfile) PointOfControlBelowEqual(price float64, limit ...float64) (resultPrice float64, vol float64) + func (inc *VolumeProfile) Update(price, volume float64, timestamp types.Time) + type WWMA struct + LastOpenTime time.Time + UpdateCallbacks []func(value float64) + Values floats.Slice + func (inc *WWMA) Bind(updater KLineWindowUpdater) + func (inc *WWMA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *WWMA) EmitUpdate(value float64) + func (inc *WWMA) Index(i int) float64 + func (inc *WWMA) Last(i int) float64 + func (inc *WWMA) Length() int + func (inc *WWMA) OnUpdate(cb func(value float64)) + func (inc *WWMA) PushK(k types.KLine) + func (inc *WWMA) Update(value float64) + type WeightedDrift struct + LastValue float64 + MA types.UpdatableSeriesExtend + UpdateCallbacks []func(value float64) + Values floats.Slice + Weight *types.Queue + func (inc *WeightedDrift) Bind(updater KLineWindowUpdater) + func (inc *WeightedDrift) CalculateAndUpdate(allKLines []types.KLine) + func (inc *WeightedDrift) Clone() (out *WeightedDrift) + func (inc *WeightedDrift) EmitUpdate(value float64) + func (inc *WeightedDrift) Index(i int) float64 + func (inc *WeightedDrift) Last(i int) float64 + func (inc *WeightedDrift) Length() int + func (inc *WeightedDrift) OnUpdate(cb func(value float64)) + func (inc *WeightedDrift) PushK(k types.KLine) + func (inc *WeightedDrift) TestUpdate(value float64, weight float64) *WeightedDrift + func (inc *WeightedDrift) Update(value float64, weight float64) + func (inc *WeightedDrift) ZeroPoint() float64 + type ZLEMA struct + func (inc *ZLEMA) Bind(updater KLineWindowUpdater) + func (inc *ZLEMA) CalculateAndUpdate(allKLines []types.KLine) + func (inc *ZLEMA) EmitUpdate(value float64) + func (inc *ZLEMA) Index(i int) float64 + func (inc *ZLEMA) Last(i int) float64 + func (inc *ZLEMA) Length() int + func (inc *ZLEMA) OnUpdate(cb func(value float64)) + func (inc *ZLEMA) PushK(k types.KLine) + func (inc *ZLEMA) Update(value float64)