This work was to study the application value of dynamic electrocardiogram (ECG) feature data in evaluating the curative effect of percutaneous coronary intervention in acute ST-segment elevation myocardial infarction with hypertension, so as to facilitate the early diagnosis and treatment of the disease. In this study, 90 patients with acute ST-segment elevation myocardial infarction accompanied by hypertension were selected as the study subjects and randomly divided into group A (oral aspirin antiplatelet therapy), group B (thrombolytic drug streptokinase (SK) therapy), and group C (percutaneous coronary intervention), with 30 cases in each group. In addition, a P-wave detection algorithm was introduced for automatic detection and analysis of electrocardiograms, and the efficacy of patients was assessed by Holter feature data based on the P-wave detection algorithm. The results showed that the diagnostic error rate, sensitivity, and predictive accuracy of the P-wave detection algorithm for ST-segment elevation myocardial infarction caused by acute occlusion of left main coronary artery (LMCA) were 0.24%, 95.41%, and 92.33%, respectively; the diagnostic error rate, sensitivity, and predictive accuracy for non-LMCA (nLMCA) ST-segment elevation myocardial infarction were 0.28%, 95.32%, and 96.07%, respectively; the proportion of patients with symptom to blood flow patency time <3 h in group C (55.3%) was significantly higher than that in groups A and B (22.1% and 22.6%) (
P
< 0.05). Compared with group A, the content of B-type natriuretic peptide (pre-proBNP) at 1 week, 2 weeks, and 3 weeks after treatment in groups B and C was significantly lower and group C was significantly lower than group B (
P
< 0.05). In summary, the P-wave detection algorithm has a high application value in the diagnosis and early prediction of acute ST-segment elevation myocardial infarction. Percutaneous coronary intervention in the treatment of acute ST-segment elevation myocardial infarction with hypertension can shorten the opening time of infarction blood flow, so as to effectively protect the heart function of patients.