Macd

Viewing 2 posts - 1 through 2 (of 2 total)
  • #9342

    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.

    #9348

    Everything you need is already explained in the online prorealtime documentation of the website, with examples! 🙂

    http://www.prorealcode.com/documentation/macd/

    and

    http://www.prorealcode.com/documentation/macdline/

    (MACDline is already the average of the MACD with 9 periods by default, it is called the signal line)

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login