Main Page > Articles > Joe Dinapoli > Mastering Joe DiNapoli's Displaced Moving Averages for Precision Entries

Mastering Joe DiNapoli's Displaced Moving Averages for Precision Entries

From TradingHabits, the trading encyclopedia · 4 min read · March 1, 2026
The Black Book of Day Trading Strategies
Free Book

The Black Book of Day Trading Strategies

1,000 complete strategies · 31 chapters · Full trade plans

Mastering Joe DiNapoli's Displaced Moving Averages for Precision Entries

For the trader who has moved beyond the simplistic applications of technical analysis, the standard moving average often reveals its limitations. It lags, generating signals late and causing frustration in fast-moving markets. Joe DiNapoli, a veteran trader with decades of market experience, recognized this deficiency and introduced a simple yet profound modification: the Displaced Moving Average (DMA). By shifting the moving average forward in time, the DMA aligns more closely with price action, providing a more accurate representation of the trend and generating more timely trading signals. This is not a minor tweak; it is a fundamental enhancement that can significantly improve a trader's ability to enter and exit trades with precision.

The Logic of Displacement

The concept behind displacing a moving average is straightforward. A traditional moving average is a reactive indicator, calculated using historical price data. By its very nature, it will always lag the current price. DiNapoli's insight was that by displacing the moving average forward, a trader could project where the trend is likely to be in the near future. This simple act of shifting the moving average turns it from a lagging indicator into a leading one. The most common DMA settings are the 3-period moving average displaced by 3 periods (3x3), the 7-period moving average displaced by 5 periods (7x5), and the 25-period moving average displaced by 5 periods (25x5). The 3x3 DMA is a fast-moving average that hugs the price closely, while the 7x5 and 25x5 DMAs provide a broader sense of the trend. The interplay between these three DMAs forms the foundation of DiNapoli's trend-following methodology.

Rules of Engagement: Entry and Exit

Trading with DMAs is not a matter of guesswork; it is a rule-based approach that removes emotion from the decision-making process. For a long entry, the primary condition is that the price must be above the 25x5 DMA, confirming a bullish trend. The entry trigger occurs when the price crosses above the 3x3 DMA. For a short entry, the conditions are reversed: the price must be below the 25x5 DMA, and the entry is triggered when the price crosses below the 3x3 DMA. The 7x5 DMA acts as a secondary confirmation, with its position relative to the 25x5 DMA indicating the strength of the trend.

Exit rules are just as important as entry rules. A simple and effective exit strategy is to use the 3x3 DMA as a trailing stop. Once a long position is initiated, the trade is held as long as the price remains above the 3x3 DMA. A close below the 3x3 DMA signals a potential trend change and is a clear signal to exit the trade. For short positions, the trade is held as long as the price remains below the 3x3 DMA, with a close above it signaling an exit. This method ensures that profits are allowed to run while the trend is intact, but are protected as soon as the trend shows signs of weakening.

Position Sizing and Risk

Proper position sizing is the cornerstone of long-term trading success. When trading with DMAs, the initial stop-loss is typically placed just below the most recent swing low for a long position, or just above the most recent swing high for a short position. The distance between the entry price and the stop-loss level determines the risk on the trade. A trader can then adjust their position size to ensure that the potential loss on any single trade does not exceed a predetermined percentage of their trading capital, typically 1-2%. For example, if a trader has a $100,000 account and is willing to risk 1% per trade, the maximum loss on any single trade is $1,000. If the distance between the entry and the stop-loss is $5 per share, the trader can purchase 200 shares ($1,000 / $5).

Real-World Application

Let's consider a practical example using the SPDR S&P 500 ETF (SPY) on a daily chart. In early 2023, SPY was in a confirmed uptrend, with the price consistently trading above the 25x5 DMA. On February 10, 2023, SPY experienced a slight pullback, with the price dipping below the 3x3 DMA. The following day, the price gapped up and closed decisively above the 3x3 DMA, triggering a long entry at approximately $410. The initial stop-loss was placed below the recent swing low at $405. The trade was held as SPY continued to trend higher, with the 3x3 DMA acting as a trailing stop. The position was eventually closed in mid-March when SPY closed below the 3x3 DMA at around $430, resulting in a profitable trade.

Conclusion

Joe DiNapoli's Displaced Moving Averages offer a significant improvement over traditional moving averages. By displacing the moving average forward, traders can gain a more accurate and timely view of the trend, leading to more precise entries and exits. The rule-based nature of DMA trading removes emotion from the equation, allowing for a more disciplined and consistent approach. While no indicator is foolproof, the DMA is a effective tool that, when combined with sound risk management, can provide a tangible edge in the competitive world of trading.