The identification of protein complexes is significant to understand the mechanisms of cellular processes. Up to present, many methods on protein complex detection have been developed in static PPI networks. However, static PPI networks cannot accurately describe the behaviours of proteins in the different stages of life cycle of a cell. In this paper, we combine different data sets including gene expression data, GO terms and high-throughput PPI data to reconstruct weighted dynamic PPI networks, on which a new method called CPredictor4.0 are proposed. Specifically, we first calculate protein active probability and protein functional similarity to construct weighted dynamic PPI networks, then define a high-order topological overlap measure of similarity to extract protein complexes based on the core-attachment model. In our experiments, four PPI datasets are used to detect protein complexes. Experimental results indicate that CPredictor4.0 is superior to the existing methods in overall.