dotcover

s1

.sln

s1

s1

s2

s3

s4

s5

s1

s2

x

x2

x3

x4

x5

x6

x1

sonarcube cleanup1

sonarcube cleanup2

sonarcube cleanup 3

fixes

q

q

q

q

q

q

q

q

q1

q2

q

q1

codacy 1
This commit is contained in:
Miha Kralj
2024-09-23 22:08:40 -07:00
parent 846429eccf
commit 58d72c06ca
244 changed files with 621 additions and 14397 deletions
+4 -5
View File
@@ -1,5 +1,5 @@
using TradingPlatform.BusinessLayer;
using QuanTAlib;
namespace QuanTAlib;
public class AlmaIndicator : IndicatorBase
{
@@ -7,22 +7,21 @@ public class AlmaIndicator : IndicatorBase
public int Period { get; set; } = 10;
[InputParameter("Offset", sortIndex: 5)]
public double Offset = 0.85;
public double Offset { get; set; } = 0.85;
[InputParameter("Sigma", sortIndex: 6)]
public double Sigma = 6.0;
public double Sigma { get; set; } = 6.0;
private Alma? ma;
protected override AbstractBase QuanTAlib => ma!;
public override string ShortName => $"ALMA {Period} : {Offset:F2} : {Sigma:F0} : {SourceName}";
public AlmaIndicator() : base()
public AlmaIndicator()
{
Name = "ALMA - Arnaud Legoux Moving Average";
}
protected override void InitIndicator()
{
base.InitIndicator();
ma = new Alma(period: Period, offset: Offset, sigma: Sigma);
}
}