The invention discloses a method for continuous determination of calcium oxide and magnesium oxide content of limestone and dolomite. The method comprises adding a limestone or dolomite sample into a Teflon plastic beaker, preparing a blank contrast without the limestone or dolomite sample, respectively adding hydrochloric acid and nitric acid-hydrofluoric acid into the beakers to dissolve the sample, adding perchloric acid into the beakers to produce smoke, adding hydrochloric acid into the breakers, carrying out salt heating dissolution, transferring the reagents into a big volumetric flask, carrying out dilution until the liquid level reaches to the scale and metered volume is obtained, dividing each solution in the sample and blank contrast into two parts with the same amount, orderly adding appropriate amounts of triethanolamine, water, hydroxylamine hydrochloride, a potassium hydroxide solution and calcein into one part in the sample and blank contrast, carrying out titration by an EDTA standard solution until the fluorescent green color disappears, recording the volume, calculating calcium oxide content, orderly adding appropriate amounts of triethanolamine, water, hydroxylamine hydrochloride, an ammonia-ammonium chloride buffer solution and an eriochrome black T indicator into the other part in the sample and blank contrast, carrying out titration by an EDTA standard solution until the prunosus color is changed into a blue color, recording the volume and calculating magnesium oxide content.