Closed wzy2687 closed 5 years ago
data =[]float64 {1,2,3} Natr(data,data,data,3)
func Natr(....).. { ... prevATRTemp := Sma(tr, inTimePeriod) prevATR := prevATRTemp[inTimePeriod] // will panic ... }
data err.