This signal is from an instrumentation amplifier, read from Arduino MEGA2560 ADC, loop delay 10ms (rate 10kHz) I need to **count high spikes only**, (in below figure, 6 high spikes can be observed) **Edited** - **its and ECG signal and signal was sampled at rate of 10kHz** [![enter image description here][1]][1] [1]: https://i.sstatic.net/UFl4l.png