38 private readonly
int _nearAveragePeriod;
40 private decimal _nearPeriodTotal;
65 get {
return Samples >=
Period; }
78 if (Samples >=
Period - _nearAveragePeriod)
96 input.
Open < window[1].Close && input.
Open > window[1].Open &&
98 input.
Close < window[1].Open &&
100 input.
Close > Math.Max(window[2].Close, window[2].Open) &&
112 input.
Open < window[1].Open && input.
Open > window[1].Close &&
114 input.
Close > window[1].Open &&
116 input.
Close < Math.Min(window[2].Close, window[2].Open) &&
139 _nearPeriodTotal = 0m;