mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 13:08:04 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -149,7 +149,7 @@ public sealed class CoppockBarCorrectionTests
|
||||
var c = new Coppock(longRoc: 3, shortRoc: 2, wmaPeriod: 3);
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
c.Update(new TValue(DateTime.UtcNow, 100.0 + i * 2), isNew: true);
|
||||
c.Update(new TValue(DateTime.UtcNow, 100.0 + (i * 2)), isNew: true);
|
||||
}
|
||||
double val1 = c.Last.Value;
|
||||
c.Update(new TValue(DateTime.UtcNow, 115.0), isNew: true);
|
||||
|
||||
Reference in New Issue
Block a user