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

免责声明