I am having troubles identifying correctly all parts of MACD when programming.
I want to write a strategy base on MACD(12,26,9), how can I reference 12, 26 and 9? I can’t tell exactly MACD, MACDLINE and AVERAGE[9](MACDLINE[12,26,9] from each other.
MCAD = 12 which is the ZERO line?
MACDLINE = 26 which is the %D line?
AVERAGE[9](MACDLINE[12,26,9] = 9 which is the %K line?
Thank you for your help.