mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-15 00:58:04 +00:00
CMO - Chande Momentum Oscillator
This commit is contained in:
@@ -345,7 +345,7 @@ public class SkenderTests
|
||||
var atrValues = quotes.GetAtr(lookbackPeriods: period).Select(i => i.Atr.Null2NaN()!);
|
||||
const int AdditionalPeriods = 500;
|
||||
|
||||
for (int i = QL.Length - 1; i > period + AdditionalPeriods; i--)
|
||||
for (int i = QL.Length - 1; i > 1000 + AdditionalPeriods; i--)
|
||||
{
|
||||
Assert.InRange(atrValues.ElementAt(i) - QL[i].Value, -range, range);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user