fikira

Octuple Mean Average

Here you can combine up to 8 moving averages and make 1 "OMA" (Octuple Mean Average)
In this way:
- advantages of several ma's can be mixed
- a mean averages can be improved without the need to change the length
(for example if you want a RMA, SMA,... to react faster combine it with 1 or more EMA's)
- smoothing and shifting possibilities (combine with a dema and adjust the lookback),
again without the need to change the length
- ...

This is a combination of a RMA, VWMA, DEMA and TEMA:
Here is a DEMA (lookback 20), smoothed by adding a RMA:

Or, 3x RMA, 2x SMA, 1x EMA and 1x WMA:

Color can be made unicolor by disabling 'bicolor ?'
When disabled the first color only is applied

Bicolor options:
- OMA changes color when it is rising/falling
- OMA changes color when source is above/below OMA

Cheers!

LuxAlgo Dev: www.luxalgo.com
PineCoder: www.pinecoders.com

- We cannot control our emotions,
but we can control our keyboard -
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?