Refactor validation tests for various indicators to utilize shared test data structure

This commit is contained in:
Miha Kralj
2025-12-12 13:47:57 -08:00
parent e6033638ad
commit cea3e0c46d
29 changed files with 1167 additions and 1804 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ public class ConvIndicator : Indicator, IWatchlistIndicator
public int MinHistoryDepths => _conv != null ? WeightsInput.Split(',').Length : 0;
int IWatchlistIndicator.MinHistoryDepths => MinHistoryDepths;
public override string ShortName => $"Conv:{SourceName}";
public override string ShortName => $"CONV:{SourceName}";
public override string SourceCodeLink => "https://github.com/mihakralj/QuanTAlib/blob/main/lib/trends/conv/Conv.Quantower.cs";
public ConvIndicator()
@@ -32,9 +32,9 @@ public class ConvIndicator : Indicator, IWatchlistIndicator
OnBackGround = true;
SeparateWindow = false;
SourceName = Source.ToString();
Name = "Conv - Convolution";
Name = "CONV - Convolution";
Description = "Convolution with custom kernel";
Series = new(name: "Conv", color: IndicatorExtensions.Averages, width: 2, style: LineStyle.Solid);
Series = new(name: "CONV", color: IndicatorExtensions.Averages, width: 2, style: LineStyle.Solid);
AddLineSeries(Series);
}