HACO - with Sylvain Vervoort update?
Author: Carova
Creation Date: 2/16/2019 2:04 PM
profile picture

Carova

#1
Hi Eugene!

Sylvain Vervoort published an update to his HACO Indicator back in 2009.

http://traders.com/documentation/FEEDbk_docs/2009/08/Letters.html
http://stocata.org/ta_en/haco_mod.html

His modification reduced the number of false signals. I would incorporate this change myself but I don't speak Metastock (I barely speak C#! ;) ) Here is the quote from his website.

QUOTE:
In the original HACO formula only this part has been changed:

keep1:=Alert(haC>=haOpen,2);

becomes:

keep1:=Alert(haC>=haOpen,2) OR If(C>=haC,1, If(H>Ref(H,-1) OR L>Ref(L,-1),1,0));



Can you help me change this to C# code? Thanks!

Vince
profile picture

Eugene

#2
Hi Vince,

In upcoming version 2019.03 of TASCIndicators I will add the new condition to HACO and also commit a minor bugfix to HACOLT where it (the condition) existed from day one but its implementation was imprecise.
profile picture

Carova

#3
Thanks Eugene!

Vince
profile picture

superticker

#4
Thanks for the fixes. Both the HACO and HACOLT oscillators are somewhat predictive. I use the latter in a threshold-sell condition in my primary production strategy.
profile picture

Eugene

#5
In v2019.02 or earlier, HACOLT acts as if this condition was part of the preceding "Alert" clause i.e. it might have occurred on the current or prenultimate bar alike:
QUOTE:
OR If(C>=haC,1, If(H>Ref(H,-1) OR L>Ref(L,-1),1,0));

However, author's intention was that it should be true on the current bar (only) to trigger the "keep1" condition. This is currently the issue to be resolved.
profile picture

Eugene

#6
Vince,

TASCIndicators v2019.03 is out with the modification to HACO and HACOLT. Note that this is a breaking change i.e. backtest results may change.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).