Detrending Moving Average algorithm: a closed form approximation of the scaling law