refactoring

This commit is contained in:
Miha Kralj
2025-12-16 21:16:50 -08:00
parent a67ad65fa5
commit d277e08056
137 changed files with 5074 additions and 3178 deletions
+3 -3
View File
@@ -30,10 +30,10 @@ public class SuperIndicator : Indicator, IWatchlistIndicator
SeparateWindow = false;
Name = "SuperTrend";
Description = "Trend-following indicator using ATR";
UpSeries = new(name: "SuperTrend Up", color: Color.Green, width: 2, style: LineStyle.Solid);
DownSeries = new(name: "SuperTrend Down", color: Color.Red, width: 2, style: LineStyle.Solid);
AddLineSeries(UpSeries);
AddLineSeries(DownSeries);
}
@@ -51,7 +51,7 @@ public class SuperIndicator : Indicator, IWatchlistIndicator
TBar bar = this.GetInputBar(args);
TValue result = _super!.Update(bar, isNew);
if (!_super.IsHot && !ShowColdValues)
{
return;