We investigate the photon statistics of the field emitted from a semiconductor microcavity containing a quantum well within the quantum trajectory approach. A dynamical behavior of the autocorrelation function depending of the system parameters is discussed.