mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-21 03:58:04 +00:00
Afirma + documentation +semver: patch
This commit is contained in:
@@ -11,7 +11,7 @@ public class SmaIndicator : IndicatorBase
|
||||
public override string ShortName => $"SMA {Period} : {SourceName}";
|
||||
|
||||
|
||||
public SmaIndicator()
|
||||
public SmaIndicator() : base()
|
||||
{
|
||||
Name = "SMA - Simple Moving Average";
|
||||
}
|
||||
@@ -19,5 +19,6 @@ public class SmaIndicator : IndicatorBase
|
||||
protected override void InitIndicator()
|
||||
{
|
||||
ma = new Sma(Period);
|
||||
base.InitIndicator();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user