mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-18 02:28:05 +00:00
[CodeFactor] Apply fixes to commit 4a01f03
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user