Moving Average (DMA): Meaning, Formula, Example and How to Read It
A moving average, often written DMA for daily moving average, is the average closing price over a fixed number of recent days. The 50-DMA averages the last 50 closes and the 200-DMA the last 200. Recalculated every day and plotted, it becomes a smooth line under or over the candles that shows the direction of the trend.
Try /trend in StockChat
Instant commands are free, on Android and the web.
How it is calculated
Add up the last N closing prices and divide by N. Tomorrow, drop the oldest close, add the newest one and divide again; the average moves along with time. If the last 50 closes add up to ₹50,000, the 50-DMA is ₹1,000. Every day in the window counts equally.
DMA(N) = sum of last N closes ÷ N50-DMA and 200-DMA
The 50-DMA describes the medium-term trend and the 200-DMA the long-term trend. Price above a rising 200-DMA is widely read as a long-term uptrend; below a falling one, a long-term downtrend. Crosses of the 50-DMA and 200-DMA have their own names: the golden cross and the death cross.
Moving support and resistance
In a trend, rising averages often act like moving support: dips stop near them. Falling averages can act like moving resistance. This happens partly because so many traders watch the same averages.
Common mistakes
An average is built from past prices, so it always lags; expecting it to warn early is a mistake. In sideways markets price crosses back and forth and the line says little. It describes the past, not the future.
Example
Take the last 50 closing prices of an example stock and average them: if they add up to ₹50,000, the 50-day moving average is ₹1,000. Do that every day and plot it, and you get one smooth line under the candles. In this example the average keeps rising, and price dips often stop near it, so the rising average acts like moving support. An average always lags. It describes the past, not the future; it is a guide, not a forecast.
Frequently asked questions
What is a Moving Average (DMA)?
A Moving Average (DMA) is the average closing price of the last N days, such as 50 or 200, recalculated daily and drawn as a smooth line that shows the trend's direction.
How is a Moving Average (DMA) calculated?
DMA(N) = sum of the last N closes ÷ N. If the last 50 closes add up to ₹50,000, the 50-DMA = ₹50,000 ÷ 50 = ₹1,000.
Is a Moving Average (DMA) a buy or sell signal?
No. StockChat explains what a Moving Average (DMA) means in past data; it is education, not a recommendation. StockChat is not registered with SEBI as an investment adviser or research analyst.
How can I check a Moving Average (DMA) on a stock?
Type /trend in the chat of any stock in StockChat. It reads the past data and shows a Moving Average (DMA) for it, as education, not a recommendation.