private WavePatternEngine(ProcessingContext processingContext, WavePatternEngineSettings settings, BarsInfo barsInfo) : base(processingContext, settings) { _bars = ProcessingContext.GetBars(barsInfo); _eDistanceInPoints = _bars.BarsInfo.Instrument.IncrementsToPoints(settings.ETicks); _xDistanceInPoints = _bars.BarsInfo.Instrument.IncrementsToPoints(settings.XTicks); _reversalOffsetInPoints = _bars.BarsInfo.Instrument.IncrementsToPoints(settings.ReversalOffsetTicks); _initializer = new Initializer(_bars); }