API ReferenceNamespacestaFunctionsmacdOn this pageFunction: macd() macd(s, fast, slow, signal): Macd MACD of s: (fast EMA − slow EMA), its signal EMA, and the histogram. fast < slow. Parameters s Series fast i32 slow i32 signal i32 Returns Macd