51 return Math.Abs(tradeBar.
Close - tradeBar.
Open);
60 return tradeBar.
High - tradeBar.
Low;
91 return tradeBar.
Low > previousBar.
High;
99 return tradeBar.
High < previousBar.
Low;
107 return Math.Min(tradeBar.
Open, tradeBar.
Close) > Math.Max(previousBar.
Open, previousBar.
Close);
115 return Math.Max(tradeBar.
Open, tradeBar.
Close) < Math.Min(previousBar.
Open, previousBar.
Close);
146 return defaultSetting.
Factor *
147 (defaultSetting.AveragePeriod != 0 ? sum / defaultSetting.AveragePeriod :
GetCandleRange(type, tradeBar)) /