New version merge

This commit is contained in:
Miha Kralj
2024-09-22 17:31:24 -07:00
parent 1b719fa94e
commit d475bcd19a
405 changed files with 56573 additions and 12440 deletions
+23
View File
@@ -0,0 +1,23 @@
using TradingPlatform.BusinessLayer;
using QuanTAlib;
public class EpmaIndicator : IndicatorBase
{
[InputParameter("Period", sortIndex: 1, 1, 2000, 1, 0)]
public int Period { get; set; } = 10;
private Epma? ma;
protected override AbstractBase QuanTAlib => ma!;
public override string ShortName => $"EPMA {Period} : {SourceName}";
public EpmaIndicator() : base()
{
Name = "EPMA - Endpoint Moving Average";
}
protected override void InitIndicator()
{
base.InitIndicator();
ma = new Epma(period: Period);
}
}