techanext

package
v0.0.0-...-148b98b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSeries

func GetSeries(klines []*binance.Kline, timeframe time.Duration) *techan.TimeSeries

func NewFastStochasticRSIIndicator

func NewFastStochasticRSIIndicator(stochasticRSI techan.Indicator, window int) techan.Indicator

NewFastStochasticRSIIndicator returns a derivative Indicator which returns the fast stochastic RSI indicator (%K) for the given stochastic window.

func NewHMAIndicator

func NewHMAIndicator(indicator techan.Indicator, window int) techan.Indicator

func NewSlowStochasticRSIIndicator

func NewSlowStochasticRSIIndicator(fastStochasticRSI techan.Indicator, window int) techan.Indicator

NewSlowStochasticRSIIndicator returns a derivative Indicator which returns the slow stochastic RSI indicator (%D) for the given stochastic window.

func NewStochasticRSIIndicator

func NewStochasticRSIIndicator(indicator techan.Indicator, window int) techan.Indicator

NewStochasticRSIIndicator returns a derivative Indicator which returns the stochastic RSI indicator for the given RSI window. https://www.investopedia.com/terms/s/stochrsi.asp

func NewWMAIndicator

func NewWMAIndicator(indicator techan.Indicator, window int) techan.Indicator

func NewWilliamsRIndicator

func NewWilliamsRIndicator(series *techan.TimeSeries, window int) techan.Indicator

Types

type HMAIndicator

type HMAIndicator struct {
	// contains filtered or unexported fields
}

func (HMAIndicator) Calculate

func (hma HMAIndicator) Calculate(index int) big.Decimal

type WMAIndicator

type WMAIndicator struct {
	// contains filtered or unexported fields
}

func (WMAIndicator) Calculate

func (wma WMAIndicator) Calculate(index int) big.Decimal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL