mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-16 17:48:05 +00:00
Afirma + documentation +semver: patch
This commit is contained in:
@@ -9,7 +9,7 @@ public class ModeIndicator : IndicatorBase
|
||||
private Mode? mode;
|
||||
protected override AbstractBase QuanTAlib => mode!;
|
||||
public override string ShortName => $"MODE {Period} : {SourceName}";
|
||||
public ModeIndicator()
|
||||
public ModeIndicator() : base()
|
||||
{
|
||||
Name = "MODE - Most frequent historical value";
|
||||
}
|
||||
@@ -18,5 +18,6 @@ public class ModeIndicator : IndicatorBase
|
||||
{
|
||||
mode = new Mode(Period);
|
||||
MinHistoryDepths = mode.WarmupPeriod;
|
||||
base.InitIndicator();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user