37 private readonly
int _bodyLongAveragePeriod;
38 private readonly
int _bodyDojiAveragePeriod;
40 private decimal _bodyLongPeriodTotal;
41 private decimal _bodyDojiPeriodTotal;
67 get {
return Samples >=
Period; }
80 if (Samples >=
Period - _bodyLongAveragePeriod - 1 && Samples <
Period - 1)
85 if (Samples >=
Period - _bodyDojiAveragePeriod)
126 _bodyLongPeriodTotal = 0m;
127 _bodyDojiPeriodTotal = 0m;