docs: update category index files and fix indicator implementations (#58)

This commit is contained in:
Miha Kralj
2026-01-19 18:25:48 -08:00
committed by GitHub
parent e966000d48
commit b2c1787782
29 changed files with 566 additions and 1667 deletions
+1 -8
View File
@@ -124,14 +124,7 @@ public sealed class Roc : AbstractBase
for (int i = 0; i < source.Length; i++)
{
if (i < period)
{
output[i] = 0.0;
}
else
{
output[i] = source[i] - source[i - period];
}
output[i] = i < period ? 0.0 : source[i] - source[i - period];
}
}