Search code examples
rquantmod

How to get indicator value with quantmod?


I am new with quantmod so I guess this is pretty simple, although I couldn't find an answer.

I am trying to access the indicator value in order to store it into a variable and be able to manipulate it.

Right now I understand how to chart an indicator, but not how to access the values forming the chart.

Thanks in advance for your help


Solution

  • For anyone bumping into this thread and looking for a similar answer, it is pretty simple:

    MyVar <- MACD(GOOG, 12, 26, 9)