.
We calculate the electromagnetic current with a more realistic approach in the RHIC and LHC energy regions in the article. We take the partons formation time as the initial time of the magnetic field response of QGP medium. The maximum electromagnetic current and the time-integrated current are two important characteristics of the chiral magnetic effect (CME), which can characterize the intensity and duration of fluctuations of CME. We consider the finite frequency response of CME to a time-varying magnetic field, find a significant impact from QGP medium feedback, and estimate the generated electromagnetic current as a function of time, beam energy and impact parameter.