tests and cleanup

This commit is contained in:
Miha Kralj
2024-10-11 18:02:09 -07:00
parent 839313c9f2
commit cc45cebeb4
96 changed files with 3640 additions and 327 deletions
+3 -3
View File
@@ -9,8 +9,6 @@ public class AfirmaIndicator : IndicatorBase
[InputParameter("Periods for lowpass cutoff", sortIndex: 2, 1, 2000, 1, 0)]
public int Periods { get; set; } = 6;
[InputParameter("Window Type", sortIndex: 3, variants: [
"Rectangular", Afirma.WindowType.Rectangular,
"Hanning", Afirma.WindowType.Hanning1,
@@ -32,6 +30,8 @@ public class AfirmaIndicator : IndicatorBase
protected override void InitIndicator()
{
base.InitIndicator();
ma = new Afirma(periods: Periods, taps: Taps, window: Window);
}
}
}