40 private readonly
int _bodyLongAveragePeriod;
41 private readonly
int _bodyShortAveragePeriod;
42 private readonly
int _shadowVeryShortAveragePeriod;
43 private readonly
int _nearAveragePeriod;
45 private decimal[] _bodyLongPeriodTotal =
new decimal[3];
46 private decimal _bodyShortPeriodTotal;
47 private decimal _shadowVeryShortPeriodTotal;
48 private decimal[] _nearPeriodTotal =
new decimal[3];
68 : this(
"STALLEDPATTERN")
77 get {
return Samples >=
Period; }
90 if (Samples >=
Period - _bodyLongAveragePeriod)
96 if (Samples >=
Period - _bodyShortAveragePeriod)
101 if (Samples >=
Period - _shadowVeryShortAveragePeriod)
106 if (Samples >=
Period - _nearAveragePeriod)
124 input.
Close > window[1].Close && window[1].Close > window[2].Close &&
132 window[1].Open > window[2].Open &&
146 for (var i = 2; i >= 1; i--)
168 _bodyLongPeriodTotal =
new decimal[3];
169 _bodyShortPeriodTotal = 0;
170 _shadowVeryShortPeriodTotal = 0;
171 _nearPeriodTotal =
new decimal[3];