Electrified

MA+ Projection

Electrified Mis à jour   
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.
Notes de version:
Fixes a bug in the calculation.
Notes de version:
Thumbnail update.
Notes de version:
  • Added 'Start of Data' highlight option.
  • Improved configuration screen layout.
  • Improved code format and readability.
Notes de version:
Fixed bug in length value configuration.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?