Afirma + documentation +semver: patch

This commit is contained in:
Miha Kralj
2024-09-24 16:41:26 -07:00
parent 07efb4b0de
commit 133c65ceaf
250 changed files with 14425 additions and 713 deletions
+3 -2
View File
@@ -7,13 +7,13 @@ public class JmaIndicator : IndicatorBase
public int Period { get; set; } = 10;
[InputParameter("Phase", sortIndex: 2, -100, 100, 1, 0)]
public int Phase { get; set; }
public int Phase { get; set; } = 0;
private Jma? ma;
protected override AbstractBase QuanTAlib => ma!;
public override string ShortName => $"JMA {Period} : {Phase} : {SourceName}";
public JmaIndicator()
public JmaIndicator() : base()
{
Name = "JMA - Jurik Moving Average";
}
@@ -21,5 +21,6 @@ public class JmaIndicator : IndicatorBase
protected override void InitIndicator()
{
ma = new Jma(period: Period, phase: (double)Phase);
base.InitIndicator();
}
}