public override void ApplyTo(StockSerie stockSerie) { // Detecting events this.CreateEventSeries(stockSerie.Count); stockSerie.generateDowTrendLines(0, stockSerie.Count - 1, (int)this.parameters[0], ref this.eventSeries); }