fixing build bus.
This commit is contained in:
parent
1634ced521
commit
6afff9b23b
|
@ -233,17 +233,6 @@ func (macdl MACDLineSeries) Len() int {
|
|||
return macdl.InnerSeries.Len()
|
||||
}
|
||||
|
||||
// GetSigma returns the smoothing factor for the serise.
|
||||
func (macdl MACDLineSeries) GetSigma(defaults ...float64) float64 {
|
||||
if macdl.Sigma == 0 {
|
||||
if len(defaults) > 0 {
|
||||
return defaults[0]
|
||||
}
|
||||
return DefaultEMASigma
|
||||
}
|
||||
return macdl.Sigma
|
||||
}
|
||||
|
||||
// GetValue gets a value at a given index. For MACD it is the signal value.
|
||||
func (macdl MACDLineSeries) GetValue(index int) (x float64, y float64) {
|
||||
if macdl.InnerSeries == nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user