MACD
|
Indicators |
SYNTAX | macd(fast = 12, slow = 26) |
RETURNS | ARRAY |
FUNCTION | Calculates the MACD indicator using fast and slow averaging periods. |
EXAMPLE | The formula "macd()" returns the value of the MACD indicator (i.e., the red line). The formula "signal()" returns the value of the MACD's signal line (i.e., the blue line). |
SEE ALSO | The signal() function. |
The MACD function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.