This paper was aimed to explore the application of the block matching pyramid (BMP) algorithm in echocardiographic spot tracking in patients with coronary heart disease (CHD) and angina pectoris, as well as the effect of Shexiang Baoxin pills (a kind of drug containing musk, which is good for cardiac diseases) on blood lipids, cardiac function, and curative effect. 206 patients with CHD angina pectoris in the hospital from July 2018 to May 2020 were selected as the research subjects and were enrolled into the control (Ctrl) group (conventional treatment, n = 103) and the observation group (the Shexiang Baoxin pill was given on the basis of conventional treatment, n = 103) in random. Then, the patients’ echocardiograms were obtained, and the BMP algorithm was used to track the echocardiograms. At 12 months after treatment, the total cholesterol (TC), triglycerides (TG), low-density lipoprotein cholesterol (LDL-C), and high-density lipoprotein cholesterol (HDL-C) were compared. Besides, the differences between left ventricular end-systolic volume (LVESV), left ventricular end-systolic diameter (LVESD), left ventricular end-diastolic volume (LVEDV), left ventricular end-diastolic dimension (LVEDD), cardiac index (CI), cardiac output (CO), and LVEF were observed. Finally, the efficacy of angina pectoris and electrocardiogram was calculated. It was found that the BMP algorithm can track the echocardiograms and display the movement and displacement of the patients’ left ventricle. After treatment, in contrast with the Ctrl, the levels of TC, TG, and LDL-C in the observation group were obviously lower (
P
<
0.05
); the LVESV, LVEDV, and LVEF were obviously lower (
P
<
0.05
), the LVESD, LVEDD, CO, and CI were obviously higher (
P
<
0.05
), the total score of angina after treatment was obviously lower (
P
<
0.05
), and the total effective rates of angina pectoris and echocardiogram were obviously higher (
P
<
0.05
). In conclusion, echocardiographic spot tracking can realize the diagnosis of patients with CHD angina pectoris, and Shexiang Baoxin pill can regulate the blood lipid level and improve the echocardiographic indicators and the clinical efficacy is obvious.