TradingView
darkbrewery
6 de Jan de 2022 03:54

All for One Moving Average 

Bitcoin / US DollarBinance

Descrição

This is a collection of all the moving averages available. Some are built-in, a couple were tricky to source out.
Higher timeframes can be specified so you aren't limited to your chart setting.
Repainting has been disabled by default.
There is also an option to use Heikin Ashi candles as the input source rather than standard bars.

Hope that someone finds this useful.
If you'd like anything added please DM me and I'll include it!
Feel free to copy this into your own strategies/indicators.

~Dark

Notas de Lançamento

Code Cleanup

Notas de Lançamento

Added Offset and Sigma inputs even though they are only used in the Arnaud Legoux moving average (ALMA)

Notas de Lançamento

Code Cleanup
Comentários
podolkerod
Neat code, good indicator. But if I'm using higher timeframe the MA's is different if I compare with default tradingview MA indicator or with another MTF MA's indicator.
yayomoto
Many thanks for this, something that is seemingly pretty basic like an EMA can ruin an indicator if repainting occurs!
Mais