Heikin-Ashi

Created by Munehisa Homma, Heikin-Ashi is a modified candlestick pattern based on prior period prices for smoothing. [Discuss] 💬

chart for Heikin-Ashi

// C# usage syntax
IEnumerable<HeikinAshiResult> results =
  quotes.GetHeikinAshi();

Historical quotes requirements

You must have at least two periods of quotes to cover the warmup periods; however, more is typically provided since this is a chartable candlestick pattern.

quotes is a collection of generic TQuote historical price quotes. It should have a consistent frequency (day, hour, minute, etc). See the Guide for more information.

Response

IEnumerable<HeikinAshiResult>

HeikinAshiResult

Date DateTime - Date from evaluated TQuote

Open decimal - Modified open price

High decimal - Modified high price

Low decimal - Modified low price

Close decimal - Modified close price

Volume decimal - Volume (same as quotes)

Utilities

See Utilities and helpers for more information.

Chaining

Results are based in IQuote and can be further used in any indicator.

// example
var results = quotes
    .GetHeikinAshi(..)
    .GetRsi(..);

This indicator must be generated from quotes and cannot be generated from results of another chain-enabled indicator or method.