public override void ApplyTo(StockSerie stockSerie)
        {
            FloatSerie rocSerie = (stockSerie.CalculateRateOfDecline((int)this.parameters[0])).CalculateEMA((int)this.parameters[1])*-100f;
             FloatSerie signalSerie = rocSerie.CalculateEMA((int)this.parameters[2]);

             this.series[0] = rocSerie;
             this.Series[0].Name = this.Name;

             this.series[1] = signalSerie;
             this.Series[1].Name = this.Name;

             // Detecting events
             this.CreateEventSeries(stockSerie.Count);

             for (int i = 2; i < stockSerie.Count; i++)
             {
            this.eventSeries[0][i] = (rocSerie[i - 2] < rocSerie[i - 1] && rocSerie[i - 1] > rocSerie[i]);
            this.eventSeries[1][i] = (rocSerie[i - 2] > rocSerie[i - 1] && rocSerie[i - 1] < rocSerie[i]);
            this.eventSeries[2][i] = (rocSerie[i - 1] < 0 && rocSerie[i] >= 0);
            this.eventSeries[3][i] = (rocSerie[i - 1] > 0 && rocSerie[i] <= 0);
             }
        }