OPEN-SOURCE SCRIPT
Atualizado Adaptive MA Difference constructor [lastguru]

A complimentary indicator to my Adaptive MA constructor. It calculates the difference between the two MA lines (inspired by the Moving Average Difference (MAD) indicator by John F. Ehlers). You can then further smooth the resulting curve. The parameters and options are explained here: ![Adaptive MA constructor [lastguru]](https://s3.tradingview.com/c/CW8enxH8_mid.png)
The difference is normalized by dividing the difference by twice its Root mean square (RMS) over Slow MA length. Inverse Fisher Transform is then used to force the -1..1 range.
Same Postfilter options are provided as in my Adaptive Oscillator constructor:
Except for Inverse Fisher Transform, all Postfilter algorithms can have Length parameter. If it is not specified (set to 0), then the calculated Slow MA Length is used.
![Adaptive MA constructor [lastguru]](https://s3.tradingview.com/c/CW8enxH8_mid.png)
The difference is normalized by dividing the difference by twice its Root mean square (RMS) over Slow MA length. Inverse Fisher Transform is then used to force the -1..1 range.
Same Postfilter options are provided as in my Adaptive Oscillator constructor:
- Stochastic - Stochastic
- Super Smooth Stochastic - Super Smooth Stochastic (part of MESA Stochastic ) by John F. Ehlers
- Inverse Fisher Transform - Inverse Fisher Transform
- Noise Elimination Technology - a simplified Kendall correlation algorithm "Noise Elimination Technology" by John F. Ehlers
- Momentum - momentum (derivative)
Except for Inverse Fisher Transform, all Postfilter algorithms can have Length parameter. If it is not specified (set to 0), then the calculated Slow MA Length is used.
Notas de Lançamento
If MA Difference Filter/MA Length is less than 2 or Postfilter Length is less than 1, they are calculated as a multiplier of Slow MA lengthNotas de Lançamento
- Library update: fixed vidyaRS calculation
- In case Length Adaptation is enabled, but Slow or Fast Cycle is 0, use static Length for that Moving Average instead
- Two Postfilters can now be used
Notas de Lançamento
New MA added: Relative Strength Super Smoother based on Vitali Apirine's RS EMA, but with Super Smoother. Looks like an excellent dynamic MA, deserving its own place in the collection!Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Tips in TradingView Coins are appreciated
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Tips in TradingView Coins are appreciated
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.