Use Fast and Slow to set the two exponential moving averages (EMAs) that produce the MACD line. Use Smooth to set the period of its signal line. The defaults are 12, 26 and 9 bars.
Set the periods on a chart
- On your NinjaTrader chart, press Ctrl+I.
- Under Available, expand ChartSpots and double-click MACD Acceleration. If it is already under Configured, select it there.
- Under Parameters, enter the Fast, Slow and Smooth periods. Each field accepts a whole number of at least 1.
- Select OK to apply the settings. Find the MACD Acceleration panel below price.

Read the three plots
- MACD, the dark cyan line, is the fast EMA minus the slow EMA. It is above zero when the fast EMA is higher.
- Avg, the crimson signal line, is an EMA of MACD over the Smooth period. A shorter period makes Avg follow MACD more closely.
- Diff, the histogram, is MACD minus Avg. Its bars are above zero when MACD is above Avg and below zero when MACD is below Avg.

Check the effect of Smooth
Keep Fast and Slow fixed and change Smooth from 9 to 1. Avg now equals MACD on every bar, so the lines overlap and Diff has zero height. Set Smooth back to 9 to see the separation again. If Fast and Slow are equal, the two input EMAs match and all three plots stay at zero.