38 private readonly
int _bodyLongAveragePeriod;
39 private readonly
int _bodyShortAveragePeriod;
41 private decimal _bodyLongPeriodTotal;
42 private decimal _bodyShortPeriodTotal;
59 : this(
"UPSIDEGAPTWOCROWS")
68 get {
return Samples >=
Period; }
81 if (Samples >=
Period - _bodyLongAveragePeriod - 2 && Samples <
Period - 2)
86 if (Samples >=
Period - _bodyShortAveragePeriod - 1 && Samples <
Period - 1)
109 input.
Open > window[1].Open && input.
Close < window[1].Close &&
111 input.
Close > window[2].Close
134 _bodyLongPeriodTotal = 0;
135 _bodyShortPeriodTotal = 0;