public MarketLogic(ILoadData dataInfo, IIndicator indicator) { Candles = dataInfo.Candles(); indicator.Calculator(Candles); BBMiddle = indicator.BBMiddle; BBUpper = indicator.BBUpper; BBLower = indicator.BBLower; }