OPEN-SOURCE SCRIPT

Heiken Ashi Ribbon [UkutaLabs]

Updated
█ OVERVIEW

The Heiken Ashi Ribbon is a powerful trading tool that creates a strong ribbon that indicates market strength. This ribbon is created using four moving averages that use Heiken Ashi values (high, low, open and close) as its input values.

The ribbon will also be colored green, red or grey depending on whether or not its direction aligns with current market strength.


█ USAGE

The Heiken Ashi Ribbon is created using a series of four moving averages that uses values from the Heiken Ashi bars as its inputs. The user has the ability to select whether the moving averages are EMAs or SMAs, as well as the ability to control the period of the moving averages.

If the moving average calculated using the Heiken Ashi Open is below the moving average calculated using the Heiken Ashi Close, the ribbon will be colored green, indicating a bullish trend. If the moving average calculated using the Heiken Ashi Open is above the moving average calculated using the Heiken Ashi Open, the ribbon will be colored red, indicating a bearish trend.

This indicator also uses a series of hidden EMAs to determine market strength. If these EMAs do not align with the direction of the Heiken Ashi Ribbon, the Ribbon will instead be colored grey, indicating uncertainty in the market, as well as a possible reversal.

█ SETTINGS

Configuration

• Moving Average Type: Determines whether or not the Heiken Ashi Moving Averages will be drawn as EMAs or SMAs.
• Moving Average Period: Determines the period of the Heiken Ashi Moving Averages.

Moving Average

• Moving Average Input: Determines the input values for the hidden EMAs.
Release Notes
Added new setting: Neutral Color. This setting allows users to adjust the color of the ribbon when it is neither bullish or bearish.
Added new setting: Bullish Color. This setting allows users to adjust the color of the ribbon while it is bullish.
Added new setting: Bearish Color. This setting allows the user to adjust the color of the ribbon while it is bearish.
Release Notes
Removed setting: Neutral Color.
Added new setting: Ribbon Border Color. This setting allows the user to change the color of the outer bands of the ribbon.
Exponential Moving Average (EMA)Simple Moving Average (SMA)Support and Resistance

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer