OPEN-SOURCE SCRIPT

Moving Averages Ribbon (7 EMAs/SMAs)

已更新
This Indicator provides a combination which is suitable for visualizing many Simple Moving Averages (SMAs) and Exponential Moving Averages (EMAs). There are 7 possible periods 5,9,20,50,100,200,250. There is a possibility to show only EMAs or only SMAs or both. EMAs have thinner curves by default, to be able to distinguish them from SMAs. Additionally, there are highlighted channels between the MAs of the highs and the MAs of the lows, showing a channel of specific moving averages. It comes with a presetting showing EMAs 5,9,20,50,200 and SMAs 9,20,50,200, while the MA channels are only visible for 9 and 50.

EMAs:
快照

SMAs:
快照

Both
快照
版本注释
Refined the default colour, to fit better for the light theme. Fixed two display bugs in the 0 and 6 MAs.
版本注释
* Easier control of the colours of Moving Averages.
* Optionally draw a half-transparent borders of the channels.
版本注释
Not showing low/high channels on price scale.
版本注释
Added a checkbox for the separate EMAs/SMAs channels.
Exponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明