indicator/mabase.go
2024-06-25 23:17:36 +08:00

11 lines
142 B
Go

package indicator
type MABase struct {
winLen int //window length
result float64
}
func (m *MABase) Result() float64 {
return m.result
}