better EMA

This commit is contained in:
Miha Kralj
2022-11-21 11:33:53 -08:00
parent f393ec336d
commit ae168ee345
9 changed files with 545 additions and 107 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ public class Update {
Assert.Equal(lastCalc, QL.Last()); // same data
}
[Fact] public void COVAR() {
COVAR_Series QL = new(d1: bars.High, d2: bars.Low, period: period);
COVAR_Series QL = new(d1: bars.High, d2: bars.Low, period);
var lastData = bars.Last();
var lastCalc = QL.Last();
int lastLen = QL.Count;