[CodeFactor] Apply fixes to commit ce654ca

This commit is contained in:
codefactor-io
2026-03-17 15:36:50 +00:00
parent ce654ca670
commit 75ad4a936f
7 changed files with 31 additions and 31 deletions
+4 -4
View File
@@ -173,13 +173,13 @@ public sealed class Atrstop : ITValuePublisher
double upperEval, lowerEval;
if (_useHighLow)
{
upperEval = high + _multiplier * atrValue;
lowerEval = low - _multiplier * atrValue;
upperEval = high + (_multiplier * atrValue);
lowerEval = low - (_multiplier * atrValue);
}
else
{
upperEval = close + _multiplier * atrValue;
lowerEval = close - _multiplier * atrValue;
upperEval = close + (_multiplier * atrValue);
lowerEval = close - (_multiplier * atrValue);
}
// Initialize bands on first hot bar