Heikin Ashi Candles

Quote Investopedia.com

The Heikin-Ashi technique averages price data to create a Japanese candlestick chart that filters out market noise. Heikin-Ashi charts, developed by Munehisa Homma in the 1700s, share some characteristics with standard candlestick charts but differ based on the values used to create each candle. Instead of using the open, high, low and close like standard candlestick charts, the Heikin-Ashi technique uses a modified formula based on two-period averages. This gives the chart a smoother appearance, making it easier to spots trends and reversals, but also obscures gaps and some price data.

Getting Started

To use Heikin Ashi candles as the data set used to calculate indicator values, all indicator queries in all the integration methods will take a chart parameter which must be set to heikinashi.

Example

As a simple example with the Direct Method simply adjust your query like so:

[GET] https://api.taapi.io/rsi?secret=MY_SECRET&exchange=binance&symbol=BTC/USDT&interval=1h&chart=heikinashi

RAW Heikin Ashi candle values

To get the RAW Heikin Ashi candle(s), you can simply call the endpoint: /heikinashicandles (omit the chart parameter or set to candles in this case).

This will convert the regular candles into Heikin Ashi candles.

Another way to obtain the RAW Heikin Ashi candle values is by using one of these 2 endpoints, and setting the chart parameter to heikinashi:

  • /candles : This will return Heikin Ashi candles.
  • /candle: This will return the latest (or last backtracked) Heikin Ashi candle.