[CodeFactor] Apply fixes to commit 9697fac

This commit is contained in:
codefactor-io
2026-03-14 05:03:08 +00:00
parent 9697facfb4
commit e35ff7fa3f
164 changed files with 458 additions and 530 deletions
+2 -2
View File
@@ -241,8 +241,8 @@ public sealed class Ckstop : ITValuePublisher
double lowestLow = _minDequeLow.GetExtremum(_lBuf);
// Step 2b: First (initial) stops
double initStopShort = highestHigh - _multiplier * atr;
double initStopLong = lowestLow + _multiplier * atr;
double initStopShort = highestHigh - (_multiplier * atr);
double initStopLong = lowestLow + (_multiplier * atr);
// Step 3: Track highest/lowest of initial stops over stopPeriod
int sBufIdx = (int)(_index % _stopPeriod);