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!
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -