INVITE-ONLY SCRIPT

Patreon Moving Average

מעודכן
The Patreon moving average (PMA) is an adaptive moving average specifically designed to provide an optimal fit with the price while having a minimum amount of lag. The PMA can act as a fast-moving average for moving averages crossover system, detect trends, and filter out noisy variations from the price. The PMA is simple to use and interpret, and can be a really nice addition to your strategies, especially if they are based on moving averages.

The PMA integrates alerts based on the trend direction detected by the PMA.

Settings

  • Length: Determine the degree of filtering of the PMA.
  • Factor: Determine the sensitivity of the PMA to price variations, with higher values making the PMA less sensitive to price variations.
  • Decay: When higher than 0, introduce progressive smoothing, values closer to 0 return a faster progressive smoothing.
  • Src: Source input of the indicator.


Detect Trends With The PMA

The color of the PMA is related to the detected trend, with a blue color associated with an up-trend and a red color associated with a down-trend.

תמונת-בזק

Higher values of Factor allows us to spot longer-term trends as well as filtering retracement in a trend.

Lower values of Length can also be used with higher values of Factor, this combination allows the PMA to actually be way less sensitive to price variations, thus returning less false signals while keeping a good fit with the price.

תמונת-בזק

PMA As A Fast Moving Average

The PMA tries to provide crosses with a slow-moving average at the exact moment price cross the slow MA while minimizing the number of false signals.

תמונת-בזק

PMA (In blue), EMA (in green), and SMA as a slow-moving average (in red), the PMA provide faster crosses while returning less false signals.

Progressive Smoothing

Progressive smoothing is obtained by using the Decay setting and allows the PMA to fit the price during extremely volatile markets and allows to preserve the structure of higher high's and lower low's.

תמונת-בזק

Progressive smoothing can also minimize false signals.

תמונת-בזק

In green/orange the PMA without progressive smoothing, in blue/red the PMA with progressive smoothing.

Finally progressive smoothing can give predictive and accurate estimates of the price central tendency

תמונת-בזק

In green the mean of the price with a window size equal to the period the PMA is red, we can see that the PMA converges toward it extremely fast.

How To Access

The indicator is one of the "Patreon trend following indicators", and can only be used by my Patreons, you can become a Patreon by using the link on my signature.
הערות שחרור
Fixed an error with alerts
הערות שחרור
Added MTF feature
הערות שחרור
Added all in one alert condition
הערות שחרור
Users can now use 'Any alert() function call'.
הערות שחרור
Better initialization conditions, avoid unwanted results on symbols/timeframes.
הערות שחרור
New band feature.
הערות שחרור
New Bullish and Bearish impulses alerts
הערות שחרור
Minor changes
הערות שחרור
- New default settings
- Added width setting
adaptivelowlagMoving AveragessignalstrendTrend Analysiszerolag

סקריפט להזמנה בלבד

הגישה לסקריפט זה מוגבלת למשתמשים שהוסמכו על ידי הכותב ובדרך כלל דורשת תשלום. אתה יכול להוסיף אותו למועדפים שלך, אך תוכל להשתמש בו רק לאחר שתבקש אישור ותקבל אותו מהמחבר שלו. למידע נוסף, צור קשר עם alexgrover, או עקוב אחר הוראות המחבר למטה.

TradingView לא מציעה לשלם עבור סקריפט ולהשתמש בו אלא אם כן אתה סומך ב-100% על המחבר שלו ומבין כיצד הסקריפט עובד. במקרים רבים, אתה יכול למצוא אלטרנטיבה טובה לקוד פתוח בחינם בבסקריפטים הקהילתיים שלנו.

הוראות המחבר

Script is only available for patrons. Become a patron by clicking on my signature link, once you join my Patreon page you can send me your tradingview username, access will be given shortly after.

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

אזהרה: נא לקרוא לפני בקשת גישה.

Check out the indicators we are making at luxalgo: tradingview.com/u/LuxAlgo/
גם על:

כתב ויתור