36 private readonly
int _bodyShortAveragePeriod;
37 private readonly
int _shadowLongAveragePeriod;
38 private readonly
int _shadowVeryShortAveragePeriod;
39 private readonly
int _nearAveragePeriod;
41 private decimal _bodyShortPeriodTotal;
42 private decimal _shadowLongPeriodTotal;
43 private decimal _shadowVeryShortPeriodTotal;
44 private decimal _nearPeriodTotal;
73 get {
return Samples >=
Period; }
86 if (Samples >=
Period - _bodyShortAveragePeriod)
91 if (Samples >=
Period - _shadowLongAveragePeriod)
96 if (Samples >=
Period - _shadowVeryShortAveragePeriod)
101 if (Samples >=
Period - _nearAveragePeriod - 1 && Samples <
Period - 1)
147 _bodyShortPeriodTotal = 0m;
148 _shadowLongPeriodTotal = 0m;
149 _shadowVeryShortPeriodTotal = 0m;
150 _nearPeriodTotal = 0m;