40 private readonly decimal _penetration;
42 private readonly
int _bodyDojiAveragePeriod;
43 private readonly
int _bodyLongAveragePeriod;
44 private readonly
int _bodyShortAveragePeriod;
46 private decimal _bodyDojiPeriodTotal;
47 private decimal _bodyLongPeriodTotal;
48 private decimal _bodyShortPeriodTotal;
59 _penetration = penetration;
71 : this(
"EVENINGDOJISTAR", penetration)
79 : this(
"EVENINGDOJISTAR")
88 get {
return Samples >=
Period; }
101 if (Samples >=
Period - _bodyLongAveragePeriod - 2 && Samples <
Period - 2)
106 if (Samples >=
Period - _bodyDojiAveragePeriod - 1 && Samples <
Period - 1)
111 if (Samples >=
Period - _bodyShortAveragePeriod)
160 _bodyLongPeriodTotal = 0;
161 _bodyDojiPeriodTotal = 0;
162 _bodyShortPeriodTotal = 0;