HACOLT - HACO Long-Term

Modified on 2019/02/28 06:05 by Eugene — Categorized as: TASCIndicators

Syntax


public HACOLT(Bars bars, int avg, double CandleSize, int setuptimeout, int ShLTAvg, string description)
public static HACOLT Series(Bars bars, int avg, double CandleSize, int timeoutperiod, int ShLTAvg)

Parameter Description

barsa Bars object
avgTriple exponential moving average (TEMA) lookback period
CandleSizethe candle size parameter
setuptimeoutHACO legacy; should be 2 for HACOLT. (A timeout used to keep the bars as green/red as possible during an uptrend/downtrend with little delay at turning points, eliminating all single-day reactions by extending a previous green/red candle by at least one more bar.)
ShLTAvgShorting LT Average lookback period

Description

HACOLT (short for Heikin-Ashi Candles Oscillator Long-Term) is a long-term version of the Heikin-Ashi candlesticks oscillator, presented in the July, 2012 issue of Stocks & Commodities magazine by Sylvain Vervoort.

NOTE! Breaking change to HACOLT in v2019.03 of TASCIndicators! Due to a minor bugfix your backtesting results may change.

Example

Refer to code in the original TASC Traders' Tips here.