Detrending Moving Average Algorithm: Quantifying Heterogeneity in Financial Data