Electrified

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.

Note:

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精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?