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