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. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?