Documentation ¶
Index ¶
- Constants
- func Alfa(length int) float64
- func CenterOfGravity(vals []float64, windowLen int) []float64
- func CyberCycle(vals []float64, windowLen int) []float64
- func CyberCycleAlpha(vals []float64, windowLen int, alpha float64) []float64
- func DIST4NCE(vals []float64, length int) []float64
- func EficiencyRatio(vals []float64, length int) []float64
- func Extent(vals []float64) (float64, float64)
- func FAMA(vals []float64, fastLimit, slowLimit float64) []float64
- func FAMADefault(vals []float64) []float64
- func FRAMA(highs, lows []float64, length int) ([]float64, error)
- func FisherTransform(vals []float64) ([]float64, error)
- func GaussianFilter(vals []float64, period, numPoles int) []float64
- func InverseFisherTransform(vals []float64) []float64
- func Kama(vals []float64, fast_period, slow_period, efficiency_length int) []float64
- func KamaDefault(vals []float64) []float64
- func LaguerreFilter(vals []float64, gamma float64) []float64
- func LaguerreFilterDefault(vals []float64) []float64
- func LaguerreRSI(vals []float64, gamma float64) []float64
- func LaguerreRSIDefault(vals []float64) []float64
- func MAMA(vals []float64, fastLimit, slowLimit float64) []float64
- func MAMADefault(vals []float64) []float64
- func MAMAFAMA(vals []float64, fastLimit, slowLimit float64, which int) []float64
- func MOM4(vals []float64) []float64
- func Plt(vals []float64, filename string) error
- func ReFlex(vals []float64, windowLen int) []float64
- func RoofingFilter(vals []float64) []float64
- func SimpleKalman(measurement []float64) []float64
- func StDevRoll(vals []float64, length int) []float64
- func SuperSmoother(vals []float64, length int) []float64
- func TrendFlex(vals []float64, windowLen int) []float64
- func Vidya(vals []float64, fast_period, slow_period int) []float64
- func WMA4(vals []float64) []float64
- func Wrt(vals, filter_out []float64, filename string) error
- func Zema(vals []float64, length_alfa, length_k, delay int) []float64
- func ZeroLag(vals []float64, length, gainLimit int) []float64
- func ZeroLagDefault(vals []float64, length int) []float64
- type Values
Constants ¶
const ( M = iota F )
Variables ¶
This section is empty.
Functions ¶
func CenterOfGravity ¶
CenterOfGravity Oscillator from this paper: https://mesasoftware.com/papers/TheCGOscillator.pdf
func CyberCycle ¶
CyberCycle Indicator with alpha set to standard ema alpha: 2.0 / (windowLen + 1) from paper: https://www.mesasoftware.com/papers/TheInverseFisherTransform.pdf
func CyberCycleAlpha ¶
CyberCycle Indicator with custom alpha
func EficiencyRatio ¶
func FAMADefault ¶
FAMADefault is a wrapper for FAMA with recommended settings for fastLimit and slowLimit
func FRAMA ¶
FRAMA (fractal adaptive moving average) from paper: http://mesasoftware.com/papers/FRAMA.pdf
func FisherTransform ¶
FisherTransform applies the fisher transform function to an array and outputs one with the same length Only accepts inputs in range (-1, 1) original pdf: https://www.mesasoftware.com/papers/UsingTheFisherTransform.pdf
func GaussianFilter ¶
GaussianFilter from this paper: https://www.mesasoftware.com/papers/GaussianFilters.pdf
func InverseFisherTransform ¶
InverseFisherTransform applies the Tanh function to all values in input series and returns an array of same length from this paper: http://www.mesasoftware.com/papers/TheInverseFisherTransform.pdf
func KamaDefault ¶
func LaguerreFilter ¶
LaguerreFilter from paper: http://mesasoftware.com/papers/TimeWarp.pdf
func LaguerreFilterDefault ¶
func LaguerreRSI ¶
LaguerreRSI from paper: http://mesasoftware.com/papers/TimeWarp.pdf
func LaguerreRSIDefault ¶
func MAMADefault ¶
MAMADefault provides a wrapper for MAMA with recommended fastsLimit of 0.5 and slowLimit of 0.05
func MAMAFAMA ¶
MAMA from this paper: https://www.mesasoftware.com/papers/MAMA.pdf
func ReFlex ¶
ReFlex indicator from: https://financial-hacker.com/petra-on-programming-a-new-zero-lag-indicator/
func RoofingFilter ¶
func SimpleKalman ¶
func SuperSmoother ¶
SuperSmoother from this paper: http://www.mesasoftware.com/papers/PredictiveIndicatorsForEffectiveTrading%20Strategies.pdf
func TrendFlex ¶
TrendFlex indicator from https://financial-hacker.com/petra-on-programming-a-new-zero-lag-indicator/
func ZeroLag ¶
ZeroLag filter from this paper: http://mesasoftware.com/papers/ZeroLag.pdf