[CodeFactor] Apply fixes to commit 4a01f03

This commit is contained in:
codefactor-io
2026-03-11 03:35:12 +00:00
parent 4a01f03cb4
commit 567fa89465
63 changed files with 293 additions and 302 deletions
+1 -1
View File
@@ -476,7 +476,7 @@ public sealed class Adx : ITValuePublisher
double dx = CalcDx(trSmooth, dmPlusSmooth, dmMinusSmooth);
dxSum += dx;
int adxStart = period * 2 - 1;
int adxStart = (period * 2) - 1;
for (int i = period + 1; i <= adxStart; i++)
{