Hi,
Since movmean is an averaging filter, values that are outliers are removed when the averaging is done over a window, so if the signal value is rapidly changing as it is in this case and that rapidly changing input is signal rather than noise I would recommend using envelop which can give upper limit and lower of the signal at hand. This will not change the dynamic range you are looking for. Otherwise you may explore more smoothing filters here.