Hello ,

This is a real time data.
I data will be inflowing continously. I have to differntiate the wave which have sudden change (rise or fall). and the waves(data) having gradual change(rise of fall). Consider data is height of wave with normal ups and down. if there is big change i have rise a flag.
i tried with taking 4th order differnce and compare with previous 200 values standard deviation.
But trying to findout more reliable algorithm.

thanks in advance.

Cheers.