Linear combinations of triple-frequency help improve the performance of cycle slip detection for high-precision positioning using a single receiver; however, the position can be easily misjudged under ionospheric scintillation conditions or low sampling rates. We propose a method, which is developed specially for the datasets under ionospheric scintillation conditions or low sampling rates, to detect the triple-frequency cycle slips in real-time based on optimal linear combination coefficients and ionospheric range delay. Detection formulas are derived from the triple-frequency geometry-free code-phase combination, and ionospheric range delay is estimated by the wide lane combination. In addition, the principle used to select an optimal linear phase combination coefficient is derived, and the optimal linear coefficient suitable under high ionospheric activity conditions is provided. Finally, the data collected from self-build stations JYPS and NQ01 are used to test the performance of the method. The results demonstrate that the improved method can be used to detect all combinations of cycle slips in real-time, even under conditions of ionospheric scintillation or a sampling period exceeding 10 s.