Each portion of a heartbeat produces a different deflection on the ECG. These deflections are recorded as a series of positive and negative waves. On a normal ECG, there are typically up to five visible waveforms: P wave, Q wave, R wave, S wave, T wave.