OPEN-SOURCE SCRIPT

Moving Average Ribbon

已更新
A ribbon that uses a fast EMA, a slow EMA, and a signal EMA. By default the signal EMA is invisible.

When the fast EMA > slow EMA the default fill is green, and then red when the fast EMA < slow EMA. The signal EMA adds a 2nd flavor to the ribbon. When the fast EMA > slow EMA, if the signal is beneath the fast EMA, the ribbon fill changes its color to a brighter green. When the fast EMA < slow EMA, if the signal is above the fast EMA, the ribbon fill changes its color to a brighter red. Many times these little "fishhook" pullbacks are buying/shorting opportunities in the dominate trend.

Try settings of 8/21/8 Fast/Slow/Signal, with the "Zero-Lag Signal" check box checked. Zero-Lag is a simple algorithm that tries to remove as much lag as possible from an EMA. An 8 EMA will run "slower" than an 8 Zero-Lag EMA.

Additionally, 2 simple alerts are available for whenever the fast EMA crosses above the slow EMA, and the opposite.

Cheers.
版本注释
  • Added new moving average types: Simple, Weighted, Volume-Weighted
版本注释
  • Fixed VWMA Bug.
版本注释
  • Added Hull MA.
exponentialmahullmovingaverageMoving AveragesTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明