예제 #1
0
        protected override PatternResult <Overboundary?> ComputeByIndexImpl(int index)
        {
            var result  = _bbIndicator.ComputeByIndex(index);
            var current = Equity[index];

            return(new PatternResult <Overboundary?>(current.DateTime, Decision.IsOverbound(current.Close, result.LowerBand, result.UpperBand)));
        }