42 private readonly decimal _penetration;
44 private readonly
int _bodyDojiAveragePeriod;
45 private readonly
int _bodyLongAveragePeriod;
46 private readonly
int _bodyShortAveragePeriod;
48 private decimal _bodyDojiPeriodTotal;
49 private decimal _bodyLongPeriodTotal;
50 private decimal _bodyShortPeriodTotal;
61 _penetration = penetration;
73 : this(
"ABANDONEDBABY", penetration)
81 : this(
"ABANDONEDBABY")
90 get {
return Samples >
Period; }
103 if (Samples >
Period - _bodyLongAveragePeriod)
107 if (Samples >
Period - _bodyDojiAveragePeriod)
111 if (Samples >
Period - _bodyShortAveragePeriod)
178 _bodyLongPeriodTotal = 0;
179 _bodyDojiPeriodTotal = 0;
180 _bodyShortPeriodTotal = 0;