40 private readonly decimal _penetration;
42 private readonly
int _bodyLongAveragePeriod;
43 private readonly
int _bodyShortAveragePeriod;
45 private decimal _bodyLongPeriodTotal;
46 private decimal _bodyShortPeriodTotal;
47 private decimal _bodyShortPeriodTotal2;
57 _penetration = penetration;
68 : this(
"EVENINGSTAR", penetration)
85 get {
return Samples >=
Period; }
98 if (Samples >=
Period - _bodyLongAveragePeriod - 2 && Samples <
Period - 2)
103 if (Samples >=
Period - _bodyShortAveragePeriod && Samples <
Period)
153 _bodyLongPeriodTotal = 0;
154 _bodyShortPeriodTotal = 0;
155 _bodyShortPeriodTotal2 = 0;