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 -
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?