mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
Afirma + documentation +semver: patch
This commit is contained in:
@@ -9,7 +9,7 @@ public class MedianIndicator : IndicatorBase
|
||||
private Median? med;
|
||||
protected override AbstractBase QuanTAlib => med!;
|
||||
public override string ShortName => $"MEDIAN {Period} : {SourceName}";
|
||||
public MedianIndicator()
|
||||
public MedianIndicator() : base()
|
||||
{
|
||||
Name = "MEDIAN - Median historical value";
|
||||
}
|
||||
@@ -18,5 +18,6 @@ public class MedianIndicator : IndicatorBase
|
||||
{
|
||||
med = new Median(Period);
|
||||
MinHistoryDepths = med.WarmupPeriod;
|
||||
base.InitIndicator();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user