Skip to content
All library documents

Projecting Moving Average Slopes with Linear Continuation Lines

Article TradingView scripts

Summary

This indicator plots three configurable moving averages and extends a line from each average’s recent value and earlier value. The line gives a visual projection of the average’s current slope, while the averages themselves remain visible on the chart. Users can choose simple or exponential averages and adjust the three lookback lengths.

An aggressive setting uses a one-bar comparison for each line; disabling it selects a longer comparison based on the corresponding average length. The document describes the display and its controls, but offers no trading rules, backtest, or performance evidence. The projected lines are graphical extrapolations of recent movement, not validated forecasts, and the script does not define entry, exit, or risk-management conditions.

Key ideas

  • The indicator overlays three simple or exponential moving averages with configurable lengths.
  • Each continuation line extends the recent slope of one moving average to the right.
  • Aggressive mode uses a one-bar slope comparison, while the alternative uses a longer lookback-derived comparison.
  • The script provides visual trend context but no tested trading rules or evidence that its projections predict future prices.

Tags

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