PACS 78.20. Bh, We propose a self-consistent quantitative fluctuation theory of donor-acceptor pair luminescence in compensated semiconductors at constant excitation. The theory succeeds in explanation of main peculiarities of luminescence, including lineshape and position. It also allows to extract such an important material parameter as compensation with high dgreee of precision.