mortdiggiddy

Moving Average Ribbon

mortdiggiddy Updated   
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.
Release Notes:
  • Added new moving average types: Simple, Weighted, Volume-Weighted
Release Notes:
  • Fixed VWMA Bug.
Release Notes:
  • Added Hull MA.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?