NinjaTrader 8 DMA Settings for Day Trading: Optimal Parameters & Configurations

By Robert — Founder, PredictIndicators.ai

Watch ATR volatility forecasts update live

Predicted Indicators

Candlesticks AI prediction — Predicted price action — OHLC 30 bars ahead
Candlesticks

Predicted price action — OHLC 30 bars ahead

MACD AI prediction — Predicted crossovers and momentum
MACD

Predicted crossovers and momentum

Stochastics AI prediction — Predicted overbought/oversold levels
Stochastics

Predicted overbought/oversold levels

ATR AI prediction — Predicted volatility shifts
ATR

Predicted volatility shifts

Directional Movement AI prediction — Predicted trend strength
Directional Movement

Predicted trend strength

Wiseman Oscillator AI prediction — Predicted momentum shifts
Wiseman Oscillator

Predicted momentum shifts

If you're day trading on NinjaTrader 8, the Day Moving Average (DMA) is one of the most powerful tools in your arsenal. But here's the truth: most traders use default settings that weren't built for their specific style, timeframe, or market conditions. Getting your DMA settings right can mean the difference between catching a strong intraday trend early or watching it pass you by.

In this guide, I'll walk you through the optimal DMA configurations for day trading on NinjaTrader 8, share real-world performance examples, and show you how to layer prediction technology on top of your DMA setup to stay ahead of the curve.

What Is the Day Moving Average (DMA)?

The Day Moving Average is a simple but powerful indicator that calculates the average price of an asset over a specific number of bars within the current trading session. Unlike traditional moving averages that span days or weeks, the DMA resets at the start of each trading day, making it ideal for intraday traders who need to gauge momentum and trend direction in real-time.

On NinjaTrader 8, the DMA helps you:

Optimal DMA Settings for Day Trading on NinjaTrader 8

There's no one-size-fits-all answer, but after working with hundreds of retail traders, I've seen certain parameter ranges consistently outperform others. The "best" DMA setting depends on your trading style, the instrument you're trading, and your preferred timeframe.

1. Short-Term DMA (Scalping & Quick Entries)

Recommended Period: 8-13 bars

This fast-moving average is ideal for scalpers or traders looking to catch quick momentum shifts. On a 1-minute or 2-minute chart, an 8-period DMA will hug price closely and give you early signals when momentum is building. Use this when trading volatile instruments like /ES (S&P 500 futures) or /NQ (Nasdaq futures) during the first two hours of the session.

Pro Tip: Pair a short-term DMA with price action confirmations. Wait for a pullback to the DMA, then enter when price bounces with volume confirmation.

2. Medium-Term DMA (Swing Intraday Trades)

Recommended Period: 20-34 bars

This is the sweet spot for most day traders. A 20-period DMA on a 5-minute chart gives you a clear picture of the session's trend without excessive noise. It's responsive enough to catch meaningful moves but smooth enough to filter out false breakouts. I recommend starting with 20 bars on 5-minute charts and adjusting based on your instrument's volatility.

3. Long-Term DMA (Trend Confirmation & Filter)

Recommended Period: 50-89 bars

Use this as a trend filter rather than an entry trigger. When price is above the 50-period DMA, look for long setups. When below, focus on shorts. This is especially useful on 15-minute charts for traders who prefer fewer, higher-quality trades per session.

How to Add and Configure DMA on NinjaTrader 8

  1. Open your Chart: Load the instrument you want to trade (e.g., /ES, /NQ, /CL)
  2. Right-click on the Chart: Select Indicators
  3. Search for "Moving Average": NinjaTrader 8 has multiple MA types — select Simple for DMA
  4. Set Parameters:
    • Period: Enter your chosen value (8, 20, 50, etc.)
    • Input Type: Select Close (most common) or Typical (HL-C average)
    • Session Template: Ensure Synthetic or ETH is selected if you want the DMA to reset at session start
  5. Apply and Save: Click OK, then save your workspace for future sessions

Performance Examples: DMA in Action

Let me share a couple of real setups where DMA settings made the difference.

Example 1: /ES Morning Breakout (20-period DMA on 5-min)

On a typical trending morning, /ES broke above the overnight high at 9:45 AM ET. Price pulled back to the 20-period DMA at 10:02 AM, held the level, and resumed higher. Traders who watched the DMA got a clean long entry with a stop just below the average. The move ran 8 ticks before hitting the next resistance.

[Chart: /ES 5-minute chart showing 20-period DMA acting as dynamic support during morning breakout. Price respects DMA on pullback, then continues trend higher.]

Example 2: /NQ Reversal Signal (50-period DMA on 15-min)

/NQ had rallied for three consecutive 15-minute bars. At 11:30 AM, price extended far above the 50-period DMA (a sign of overbought conditions). When price crossed back below the 50 DMA on heavy volume, it signaled a potential reversal. Short entries from that level captured a 25-point move into the lunch hour.

Common DMA Mistakes Retail Traders Make

Layering PredictIndicators.ai on Top of Your DMA Setup

Here's where things get interesting. The DMA tells you where price has been on average — but what if you knew where your indicators and price action were heading over the next 30 bars?

That's exactly what PredictIndicators.ai does. It's available on all 8 platforms (NinjaTrader 8, MetaTrader 5, iPhone, iPad, Android phone, Android tablet, Mac app, and Web app), and it integrates seamlessly with your existing DMA setup.

Imagine this: you're watching a pullback to your 20-period DMA on /ES. Price is hovering around the average, and you're wondering if this is a legitimate support level or if the trend is about to break. PredictIndicators.ai projects your MACD, Stochastics, ATR, and candlestick patterns 30 bars into the future, giving you a forward-looking view of whether momentum is likely to continue or reverse.

See It in Action

Check out live prediction examples and see how forecasts align with your DMA setups. Get started free at predictindicators.ai.

DMA Prediction Example: Using Forecasts to Confirm Setups

Let's walk through a scenario where prediction technology complements your DMA reading:

  1. Setup: Price pulls back to the 20-period DMA on a 5-minute /NQ chart
  2. DMA Signal: Price touches the DMA and forms a bullish engulfing candle
  3. Prediction Layer: PredictIndicators.ai forecasts show MACD turning bullish over the next 15 bars, with Stochastics exiting oversold territory
  4. Decision: The DMA gave you the entry level; the prediction gave you confidence that momentum would follow through
  5. Result: Entry at the DMA bounce, target hit 12 bars later as predicted
[Chart: /NQ 5-minute with 20-period DMA. Overlay shows PredictIndicators.ai forecast projecting bullish MACD crossover and price target 15 bars ahead.]

Trading Strategies Built Around DMA

Strategy 1: DMA Bounce Play

Conditions:

Strategy 2: DMA Cross Reversal

Conditions:

Strategy 3: Dual-DMA Crossover

Setup: Plot both a 20-period and 50-period DMA on your chart.

Fine-Tuning Your DMA Settings

Start with the recommended ranges above, then track your results over 20-30 trading sessions. Ask yourself:

Keep a trading journal noting the DMA period, timeframe, instrument, and outcome for each setup. Patterns will emerge quickly, and you'll dial in your optimal settings faster than you think.

Final Thoughts

The Day Moving Average is a timeless tool for day traders, but its power comes from how you configure and apply it. There's no magic number — the best DMA setting is the one that fits your trading style, your instruments, and your risk tolerance.

Start with the ranges I've shared: 8-13 for scalping, 20-34 for standard day trades, 50-89 for trend filtering. Test them in simulation, track your results, and adjust from there. And remember: the DMA shows you where price has been — layering tools like PredictIndicators.ai shows you where it's likely going.

Whether you're trading on NinjaTrader 8, MetaTrader 5, or any of the mobile and web platforms, the principles remain the same. Master your DMA settings, respect your risk rules, and let the edge compound over time.

Trading Disclaimer: This content is for educational purposes only and does not constitute financial, investment, or trading advice. Trading futures, stocks, options, and other financial instruments involves substantial risk of loss and is not suitable for every investor. You should carefully consider whether trading is suitable for you in light of your financial condition and trading experience. Past performance is not necessarily indicative of future results. PredictIndicators.ai is a technology tool for analysis and does not guarantee trading profits.