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/
更多:

免責聲明