Documentation ¶
Index ¶
Constants ¶
View Source
const MinNumPeriods = 2
Variables ¶
This section is empty.
Functions ¶
func EMAWeightingMultiplier ¶
Types ¶
type Aroon ¶
type Aroon struct {
// contains filtered or unexported fields
}
func (*Aroon) WarmupPeriod ¶
type AroonOsc ¶
type AroonOsc struct {
// contains filtered or unexported fields
}
func NewAroonOsc ¶
func (*AroonOsc) WarmupPeriod ¶
type DMI ¶
type DMI struct {
// contains filtered or unexported fields
}
DMI is a Directional Movement Index indicator.
func (*DMI) WarmupPeriod ¶
type EMV ¶
type EMV struct {
// contains filtered or unexported fields
}
EMV is an Ease of Movement Value indicator.
func (*EMV) WarmupPeriod ¶
type LinRegression ¶
type LinRegression struct {
// contains filtered or unexported fields
}
func NewLinRegression ¶
func NewLinRegression(length int) *LinRegression
func (*LinRegression) Intercept ¶
func (lr *LinRegression) Intercept() float64
func (*LinRegression) Slope ¶
func (lr *LinRegression) Slope() float64
func (*LinRegression) Update ¶
func (lr *LinRegression) Update(val float64)
func (*LinRegression) Warm ¶
func (lr *LinRegression) Warm() bool
func (*LinRegression) WarmupPeriod ¶
func (lr *LinRegression) WarmupPeriod() int
type MAOrdering ¶
type MAOrdering struct { MAs []*EMA // contains filtered or unexported fields }
func NewMAOrdering ¶
func NewMAOrdering(periods []int) *MAOrdering
func (*MAOrdering) Correlation ¶
func (ind *MAOrdering) Correlation() float64
func (*MAOrdering) Update ¶
func (ind *MAOrdering) Update(val float64)
func (*MAOrdering) Warm ¶
func (ind *MAOrdering) Warm() bool
func (*MAOrdering) WarmupPeriod ¶
func (ind *MAOrdering) WarmupPeriod() int
Source Files ¶
Click to show internal directories.
Click to hide internal directories.