Many of the system indicators of NinjaTrader are flawed, because they use recursive formulae. For example the SMA cannot be correctly used, because it introduces huge rounding errors. This occurs, when applying it to an indicator, as the values to which it is applied are not multiples of a ticksize.
Best way to study this is to put the SMA on a chart with a small lookback period and then increase the lookback period to increase the size of the rounding errors.
Example
To show the problem I have applied a 3-period-SMA to smooth the CurrentDayVWAP. The VWAP starts with the begin of the session. For the prior period to the session the values of the VWAP are reset. The smoothing is applied starting with the 4th bar to make sure that it works correctly.
Blue: Original VWAP
Red: Smoothed with Default System Indicator SMA
Yellow: Smoothed with Recoded SMA (standard formula)
The left chart below is a 1 min chart with a lookback period of 65 days. The right chart is the identical, but has a reduced lookback period of 5 days. You will easily notice that the larger lookback period introduces an error to the SMA, which makes it unusable.
Conclusion
I have had similar experiences with different indicators, including the Stochastics. They all display false results, when applied to other indicators in combination with smaller timeframes and longer lookback periods. My recommendation is - as far as possible - to scrap all system indicators that use recursive formulae and replace them with the standard versions.
Otherwise I will have to recode them all for my use, as I did with the SMA.

Comment