mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-21 03:58:04 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -156,8 +156,8 @@ public class AdoscTests
|
||||
// Apply 5 corrections with different values
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
var correctedBar = new TBar(bar20.Time, bar20.Open * (1 + i * 0.01), bar20.High * (1 + i * 0.01),
|
||||
bar20.Low * (1 + i * 0.01), bar20.Close * (1 + i * 0.01), bar20.Volume);
|
||||
var correctedBar = new TBar(bar20.Time, bar20.Open * (1 + (i * 0.01)), bar20.High * (1 + (i * 0.01)),
|
||||
bar20.Low * (1 + (i * 0.01)), bar20.Close * (1 + (i * 0.01)), bar20.Volume);
|
||||
adosc.Update(correctedBar, isNew: false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user