Update calculations, indicators, strategies, and tests for trends

This commit is contained in:
Miha Kralj
2023-05-10 14:13:03 -07:00
parent 2defde9d94
commit 2b71b307d5
6 changed files with 272 additions and 358 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ public class Ta_Lib
[Fact]
public void ATR()
{
ATR_Series QL = new(bars, period, false);
ATR_Series QL = new(bars, period:period, useNaN: false);
Core.Atr(inhigh, inlow, inclose, 0, bars.Count - 1, TALIB, out int outBegIdx, out _, period);
for (int i = QL.Length - 1; i > skip; i--)
{