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:
@@ -12,7 +12,7 @@ public class PercentileIndicator : IndicatorBase
|
||||
protected override AbstractBase QuanTAlib => percentile!;
|
||||
public override string ShortName => $"PERCENTILE {Period} {Percent:F0}% : {SourceName}";
|
||||
|
||||
public PercentileIndicator()
|
||||
public PercentileIndicator() : base()
|
||||
{
|
||||
Name = "PERCENTILE - n-th Percentile ";
|
||||
SeparateWindow = false;
|
||||
@@ -22,6 +22,7 @@ public class PercentileIndicator : IndicatorBase
|
||||
{
|
||||
percentile = new(Period, Percent);
|
||||
MinHistoryDepths = percentile.WarmupPeriod;
|
||||
base.InitIndicator();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user