38 private readonly
int _bodyShortAveragePeriod;
39 private readonly
int _bodyLongAveragePeriod;
41 private decimal[] _bodyPeriodTotal =
new decimal[5];
58 : this(
"RISEFALLTHREEMETHODS")
67 get {
return Samples >
Period; }
80 if (Samples >
Period - _bodyShortAveragePeriod)
87 if (Samples >
Period - _bodyLongAveragePeriod)
110 Math.Min(window[3].Open, window[3].Close) < window[4].High && Math.Max(window[3].Open, window[3].Close) > window[4].Low &&
111 Math.Min(window[2].Open, window[2].Close) < window[4].High && Math.Max(window[2].Open, window[2].Close) > window[4].Low &&
112 Math.Min(window[1].Open, window[1].Close) < window[4].High && Math.Max(window[1].Open, window[1].Close) > window[4].Low &&
131 for (var i = 3; i >= 1; i--)
148 _bodyPeriodTotal =
new decimal[5];