<span>The accuracy of electrocardiogram (ECG) delineation can affect the precise diagnose for cardiac disorders interpretation. Some nonideal ECG presentation can make a false decision in precision medicine. Besides, the physiological variation of heart rate and different characteristics of the different ECG waves in terms of shape, frequency, amplitude, and duration is also affected. <span>This paper proposes a discrete wavelet transform (DWT), non-stationary signal analysis for noise removal, and onset-offset of PQRST feature extraction. A well-known database from Physionet: QT database (QTDB) is used to validate the DWT function for detecting the onset and offset of P-wave, QRS-complex, and T-wave localization. From the results, P-peak detection gets the highest result that achieves 2.19 and 13.62 milliseconds of mean error and standard deviation, respectively. In contrast, Toff has obtained the highest error value due to differences in the T-wave morphology. It can be affected by inverted o</span>r biphasic T-waves and others.</span>