What is a 'Linearly Weighted Moving Average'

Linearly Weighted Moving Average is a moving average calculation that more heavily weights recent price data to measure the price momentum of an asset. 

BREAKING DOWN 'Linearly Weighted Moving Average'

Linearly Weighted Moving Average is a method of calculating the momentum of the price of an asset over a given period of time. This method weights recent data more heavily than older data, and is used to analyze market trends. Momentum, one of the most common oscillators used in analyzing market trends, is designed to look at price fluctuations over a period of time. Such calculations can be useful for forecasting future performance and informing investment strategy.

Analysts implement several moving average strategies in looking at market trends. The first, and simplest, implementation is the simple moving average, or the arithmetic average of prices over a period of time. In this strategy, each price in the time period analyzed is weighted equally. The ease of this calculation helps to make quick calculations to determine if the value of an asset is trending upward or downward.

More complex analyses became possible as computers became more accessible. The linearly weighted moving average was established as one of the first methods of more accurately measuring price momentum, although many analysts prefer to rely on exponential moving average for a more accurate and sensitive measure of price trends. An exponential moving average is calculated similarly to a linear weighted moving average, but uses an exponentially weighted multiplier. Some analysts find that while an exponential average functions best as a indicator for performance in the near term, a weighted average can be useful for analyzing performance over longer stretches of time.

Calculating a Linearly Weighted Moving Average

Let’s say we are interested in calculating the linearly weighted moving average of the closing price of a stock over the period of the last five days.

Begin by multiplying today’s price by 5, yesterday’s by 4, and price of the day before by 3. Continue multiplying each day’s price by its position in the data series until reaching the first price in the data series, which is multiplied by 1. Add these results together, divide by the sum of the multipliers, and you will have the linearly weighted moving average for this period.

This formula will look like this, where D stands for the price stock price on a given day in the series.

((D5*5)+(D4*4)+(D3*3)+(D2*2)+(D1*1)) / (5+4+3+2+1)

Let’s say that the price of this stock fluctuates as so:

Day 5: $90.90
Day 4: $90.36
Day 3: $90.28
Day 2: $90.83
Day 1: $90.91

((90.90*5)+(90.36*4)+(90.28*3)+(90.83*2)+(90.91*1)) / (5+4+3+2+1) = 90.62

Thus, the Linearly Weighted Moving Average of this stock over this time period is $90.62

  1. Weighted Average Credit Rating

    The weighted average credit rating is the weighted average rating ...
  2. Linear Price Scale

    A linear price scale is a type of scale used on a chart that ...
  3. Moving Average - MA

    A moving average (MA) is a technical analysis indicator that ...
  4. EURO STOXX Sustainability Index

    The EURO STOXX Sustainability Index measures the financial performance ...
  5. Broad-Based Weighted Average

    The broad-based weighted average is an anti-dilution provision ...
  6. Overweight

    Overweight refers to a stock in a fund manager's portfolio that ...
Related Articles
  1. Trading

    Do Adaptive Moving Averages Lead To Better Results?

    These complex indicators can help traders interpret trend changes, but are they too good to be true?
  2. Trading

    Simple Moving Averages Make Trends Stand Out

    The moving average is easy to calculate and, once plotted on a chart, is a powerful visual trend-spotting tool.
  3. Trading

    Exploring the Exponentially Weighted Moving Average

    Learn how to calculate a metric that improves on simple variance.
  4. Trading

    The Linear Regression of Time and Price

    This investment strategy can help investors be successful by identifying price trends while eliminating human bias.
  5. Investing

    Time to Sell Weight Watchers After 103% Year-to-Date Gain?

    Shares of Weight Watchers surged as a successful turnaround gained momentum. Is there more room to run?
  6. Trading

    Simple Versus Exponential Moving Averages

    These technical indicators help traders visualize trends by smoothing out price movements, but they are based on different calculations.
  7. Investing

    The Top 5 Dividend-Paying Semiconductor Stocks for 2016 (CY, LLTC)

    Discover the top 5 dividend-paying semiconductor stocks for 2016, with a summary, growth outlook and expected price target of each company.
  1. Weighted Average Shares Vs. Outstanding Shares

    What's the difference between weighted average shares outstanding and basic weighted average shares? Read Answer >>
  2. Using Excel to Calculate a Weighted Average

    Though the method of determining weights may vary, weighted averages are used in the calculation of a variety of technical ... Read Answer >>
  3. What is the difference between a simple moving average and an exponential moving ...

    The only difference between simple moving average and an exponential moving average is the sensitivity each one shows to ... Read Answer >>
  4. How can I calculate the expected return of my portfolio?

    Understand the components of the equation used to calculate the expected return of an investor's portfolio. Learn why the ... Read Answer >>
  5. What does the S&P 500 index measure and how is it calculated?

    Learn about what exactly the S&P measures and why it's used by market participants as a tool to understand the broader stock ... Read Answer >>
Trading Center