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
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.
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
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫alexgrover。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
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/
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者授權的使用者才能訪問此腳本,且通常需付費。您可以將此腳本加入收藏,但需先向作者申請並獲得許可後才能使用 — 點擊此處了解更多。如需更多詳情,請依照作者說明或直接聯繫alexgrover。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
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/
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。