35 private readonly
int _bodyDojiAveragePeriod;
36 private readonly
int _shadowVeryShortAveragePeriod;
37 private readonly
int _shadowVeryLongAveragePeriod;
39 private decimal _bodyDojiPeriodTotal;
40 private decimal _shadowVeryShortPeriodTotal;
41 private decimal _shadowVeryLongPeriodTotal;
69 get {
return Samples >=
Period; }
82 if (Samples >=
Period - _bodyDojiAveragePeriod)
87 if (Samples >=
Period - _shadowVeryShortAveragePeriod)
92 if (Samples >=
Period - _shadowVeryLongAveragePeriod)
129 _bodyDojiPeriodTotal = 0m;
130 _shadowVeryShortPeriodTotal = 0m;
131 _shadowVeryLongPeriodTotal = 0m;