40 private readonly
int _shadowVeryShortAveragePeriod;
41 private readonly
int _nearAveragePeriod;
42 private readonly
int _farAveragePeriod;
43 private readonly
int _bodyShortAveragePeriod;
45 private decimal[] _shadowVeryShortPeriodTotal =
new decimal[3];
46 private decimal[] _nearPeriodTotal =
new decimal[3];
47 private decimal[] _farPeriodTotal =
new decimal[3];
48 private decimal _bodyShortPeriodTotal;
68 : this(
"THREEWHITESOLDIERS")
77 get {
return Samples >=
Period; }
90 if (Samples >=
Period - _shadowVeryShortAveragePeriod)
97 if (Samples >=
Period - _nearAveragePeriod)
103 if (Samples >=
Period - _farAveragePeriod)
109 if (Samples >=
Period - _bodyShortAveragePeriod)
132 input.
Close > window[1].Close && window[1].Close > window[2].Close &&
134 window[1].Open > window[2].Open &&
137 input.
Open > window[1].Open &&
153 for (var i = 2; i >= 0; i--)
159 for (var i = 2; i >= 1; i--)
165 for (var i = 2; i >= 1; i--)
182 _shadowVeryShortPeriodTotal =
new decimal[3];
183 _nearPeriodTotal =
new decimal[3];
184 _farPeriodTotal =
new decimal[3];
185 _bodyShortPeriodTotal = 0;