input price = FundamentalType.CLOSE;
input aggregationPeriod = AggregationPeriod.DAY;
input period_SMA20 = 20;
input period_SMA50 = 50;
input period_SMA100 = 100;
input period_SMA200 = 200;
input displace = 0;
input averageType = AverageType.SIMPLE;
plot SMA_20 = MovingAverage(averageType, Fundamental(price, period = aggregationPeriod), period_SMA20);
plot SMA_50 = MovingAverage(averageType, Fundamental(price, period = aggregationPeriod),period_SMA50);
plot SMA_100 = MovingAverage(averageType, Fundamental(price, period = aggregationPeriod),period_SMA100);
plot SMA_200 = MovingAverage(averageType, Fundamental(price, period = aggregationPeriod),period_SMA200);
Is there a way for NinjaTrader to display daily moving averages on the intraday charts?
Thanks
doug_p
Comment