Adding a ParabolicSAR to the MACD as an indicator was no problem. It works perfectly (see sample), but when I try to code it in Ninjascript, I see in the output window it's using price data instead of the MACD data. The Ninjascript setup is as follows:
MACD2 = MACD(Close, 12, 26, 9);
ParabolicSAR2 = ParabolicSAR(MACD2.Default, 0.02, 0.2, 0.02);
Is there something I'm doing wrong?
Comment