feat: Add Name property to EMA, SMA, and WMA classes for better identification

This commit is contained in:
Miha Kralj
2025-11-29 21:25:55 -08:00
parent 1401f1792e
commit e89af1d357
3 changed files with 7 additions and 12 deletions
-6
View File
@@ -55,11 +55,6 @@ public sealed class Wma
/// </summary>
public string Name { get; }
/// <summary>
/// Number of data points needed for the indicator to become "hot".
/// </summary>
public int WarmupPeriod { get; }
/// <summary>
/// Creates WMA with specified period.
/// </summary>
@@ -73,7 +68,6 @@ public sealed class Wma
_divisor = period * (period + 1) * 0.5;
_buffer = new RingBuffer(period);
Name = $"Wma({period})";
WarmupPeriod = period;
}
/// <summary>