Contact support

Set the MACD and signal periods

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

  1. On your NinjaTrader chart, press Ctrl+I.
  2. Under Available, expand ChartSpots and double-click MACD Acceleration. If it is already under Configured, select it there.
  3. Under Parameters, enter the Fast, Slow and Smooth periods. Each field accepts a whole number of at least 1.
  4. Select OK to apply the settings. Find the MACD Acceleration panel below price.
NinjaTrader Parameters showing Fast at 12, Slow at 26 and Smooth at 9.
The periods count bars on the input series. On a 15-minute chart, Fast at 12 uses a 12-bar EMA of the 15-minute input.

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.
NinjaTrader MACD Acceleration panel showing the dark cyan MACD crossing above the crimson Avg while both are below zero.
Near 03:45 both lines are below zero. MACD is already above Avg, so the histogram is positive.

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.