Commit Graph

5 Commits

Author SHA1 Message Date
AlexCatarino 9553857c1c Extends Sum, StandardDeviation and Variance Indicators With IIndicatorWarmUpPeriodProvider 2019-05-15 14:44:35 +01:00
AlexCatarino fcb70a61e7 Prevents Negative Variance
Prevents negative variance (mathematically impossible) in Variance
indicator.
Since variance is used to calculate standard deviation, we found that
negative variance yield double.NaN and, consequently, an arithmetic
overflow when we convert NaN into decimal.

Closes #2672
2018-11-06 13:58:41 +00:00
Michael Handschuh a272b8e9eb Update Variance to emit estimated values before IsReady 2016-04-07 06:14:22 -04:00
Stefano Raggi 3ebeb550f0 Fixes missing Reset on some indicators and adds tests with Reset 2016-02-08 22:03:42 +01:00
Stefano Raggi ae048623cf Adds Variance indicator
Closes #267
2016-02-04 17:18:13 -05:00