Macd variable: a tool of great adaptability to financial market dynamics