Moving averages are combined in the flexible MACD indicator to determine momentum strength and trend direction. It helps traders determine whether a trend is likely to revers or continue by including a histogram and fast and slow lines.