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
bars | a Bars object |
avg | Triple exponential moving average (TEMA) lookback period |
CandleSize | the candle size parameter |
setuptimeout | HACO 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.) |
ShLTAvg | Shorting 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.