Plot1.Set(MACD(fast,slow,smooth).Avg[0]);
I then tried to build the second plot with this:
Plot2.Set(MACD(fast,slow,smooth).slowEma[0]);
Now I get this error: 'NinjaTrader.Indicator.MACD.slowEma' is inaccessible due to its protection level.
Can someone tell me what I need to do to be able to access the slowEma and the fastEma from the original MACD indicator?
Comment