35 private readonly
int _bodyLongAveragePeriod;
36 private readonly
int _bodyDojiAveragePeriod;
38 private decimal _bodyLongPeriodTotal;
39 private decimal _bodyDojiPeriodTotal;
65 get {
return Samples >=
Period; }
78 if (Samples >=
Period - _bodyLongAveragePeriod - 1 && Samples <
Period - 1)
83 if (Samples >=
Period - _bodyDojiAveragePeriod)
98 Math.Max(input.
Close, input.
Open) < Math.Max(window[1].Close, window[1].Open) &&
99 Math.Min(input.
Close, input.
Open) > Math.Min(window[1].Close, window[1].Open)
122 _bodyLongPeriodTotal = 0m;
123 _bodyDojiPeriodTotal = 0m;