alexgrover

Patreon Moving Average

alexgrover Wizard 已更新   
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

Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与alexgrover联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成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.

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。