11 lines
142 B
Go
11 lines
142 B
Go
|
package indicator
|
||
|
|
||
|
type MABase struct {
|
||
|
winLen int //window length
|
||
|
result float64
|
||
|
}
|
||
|
|
||
|
func (m *MABase) Result() float64 {
|
||
|
return m.result
|
||
|
}
|