Generalized theory for detrending moving-average cross-correlation analysis: A practical guide. (September 2019)