Electrified

MA+ Projection

Electrified Aktualisiert   
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.
Versionshinweise:
Fixes a bug in the calculation.
Versionshinweise:
Thumbnail update.
Versionshinweise:
  • Added 'Start of Data' highlight option.
  • Improved configuration screen layout.
  • Improved code format and readability.
Versionshinweise:
Fixed bug in length value configuration.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?