mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 22:08:05 +00:00
feat: Add Name property to EMA, SMA, and WMA classes for better identification
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user