MA+ Projection

Electrified 已更新   
The "MA+ Projection" indicator is designed to visualize the potential future direction of a moving average, taking into account the impact of historical data loss. It is primarily aimed at providing a practical perspective on how moving averages could evolve as older data points are no longer considered.

Key Features:

  • Supported Moving Averages: SMA, EMA, WMA, VWMA, and VAWMA (Volume Adjusted WMA).
  • Flexible Time Span Settings: Customize the moving average length in bars, minutes, or days.
  • Adjustable Projection Scope: Set a percentage of the measurement to project forward.
  • Projection 'Cone': Show/hide the deviation and control the multiple.
  • Use Last Source Value: An option to add the latest known value to the moving window instead of only letting the window shrink. (Enabled by default.)

How It Works:

Given the specified parameters, it takes the selected moving average type (a known formula like SMA, EMA, or WMA), and projects the future data points by continuing to move the data 'window' forward without adding any more data. By default, it extends the average by assuming the price hasn't changed after the last bar. Alternatively, the projection can be the result of shrinking the window as it moves forward without adding any new data points.


This tool is for visual projection, not prediction. Its purpose is to aid in the analysis of potential future trends based on historical data, not to provide definitive market forecasts.
Fixes a bug in the calculation.
Thumbnail update.
  • Added 'Start of Data' highlight option.
  • Improved configuration screen layout.
  • Improved code format and readability.
Fixed bug in length value configuration.

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。