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
@@ -1,5 +1,5 @@
using TradingPlatform.BusinessLayer;
namespace QuanTAlib;
using QuanTAlib;
public class EmaIndicator : IndicatorBase
{
@@ -13,7 +13,7 @@ public class EmaIndicator : IndicatorBase
protected override AbstractBase QuanTAlib => ma!;
public override string ShortName => $"EMA {Period} : {SourceName}";
public EmaIndicator()
public EmaIndicator() : base()
{
Name = "EMA - Exponential Moving Average";
Description = "Exponential Moving Average";
@@ -21,6 +21,7 @@ public class EmaIndicator : IndicatorBase
protected override void InitIndicator()
{
base.InitIndicator();
ma = new Ema(period: Period, useSma: UseSma);
}
}