Skip to content
All library documents

Beta-Weighted Moving Averages for Adjusting Lag and Smoothness

Article TradingView scripts

Summary

This indicator constructs a moving average by weighting observations across a fixed lookback with a beta-distribution-shaped function. Its two shape parameters let users alter how weights are distributed, which changes the balance between responsiveness and smoothness. Equal parameters create a symmetric weighting profile; setting both to one produces uniform weights equivalent to a simple moving average, while a particular asymmetric setting can reproduce a linearly weighted average.

The accompanying explanation connects the parameter settings to the shape of the impulse response and notes that a symmetric response has lag equal to half the lookback span. The plotted line is colored using an RSI calculated from the filtered series, providing a visual gradient rather than a separate trading signal. The material is a description of an indicator’s construction and parameter behavior, not a tested strategy: it presents no comparative evidence that the filter improves trading results, and its lag and smoothness tradeoffs should be assessed for the intended market and use.

Key ideas

  • The moving average weights historical observations with a beta-distribution-shaped function.
  • Two parameters alter the weighting profile and allow users to tune responsiveness and smoothness.
  • Uniform weights produce a simple moving average, while an asymmetric profile can produce a weighted average.
  • A symmetric impulse response has lag equal to half the lookback span.
  • An RSI of the filtered series colors the plot but does not establish a trading edge.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.