mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-21 20:18:05 +00:00
Add RMA indicator implementation and related tests; update existing indicators to return empty array for zero count
This commit is contained in:
@@ -141,7 +141,7 @@ public sealed class Trima : ITValuePublisher
|
||||
|
||||
public TSeries Update(TSeries source)
|
||||
{
|
||||
if (source.Count == 0) return new TSeries();
|
||||
if (source.Count == 0) return [];
|
||||
|
||||
int len = source.Count;
|
||||
List<long> t = new(len);
|
||||
|
||||
Reference in New Issue
Block a user