S&C 2012-07 | HACOLT indicator (Vervoort)
Author: giorgos
Creation Date: 6/5/2012 9:41 PM
profile picture

giorgos

#1
The July Stocks & Commodities magazine has a stratagy based on the HACOLT series will this indicator be available here?
profile picture

Eugene

#2
Yes.
profile picture

Eugene

#3
The Strategy code has been uploaded and the indicator is now documented in the Wiki:

TASC 2012-07 | Long-Term Trading Using Exchange Traded Funds (HACOLT) (Vervoort)
HACOLT - HACO Long-Term

Wait until the TASCIndicators library is updated to its most recent version (2012.06), then the Strategy will work.
profile picture

Cone

#4
It should be ready to install through Extensions now.
profile picture

Eugene

#5
Thank you.
profile picture

llhk

#6
May i ask a question about this code.

I would like to use this HACOLT with a daily scale instead of the weekly one mentioned in the article.

I try to code as below, but failed.
CODE:
Please log in to see this code.


There is an error :
Runtime error: Unable to cast object of type "Wealth.DataSeries' to type 'TASCIndicators.HACOLT'. at WealthLab.Strategies.MyStrategy.Execute()

However, if i didn't cast the hacolt
CODE:
Please log in to see this code.


i got this error message:
Cannot implicitly convert type 'Wealth.DataSeries' to 'TASCIndicators.HACOLT'. An explicit conversion exists (are you missing a cast?)

Would you tell me what can i sync this indicator with a daily scale?

Thanks
profile picture

Eugene

#7
Change
CODE:
Please log in to see this code.

To
CODE:
Please log in to see this code.

and sync it like this:
CODE:
Please log in to see this code.
profile picture

llhk

#8
Yes, it works! thank Eugene.
profile picture

Eugene

#9
Note that there will be a breaking change to HACOLT as of TASCIndicators version 2019.03. Noticed a slight inaccuracy in its implementation while working on HACO modification.
profile picture

Eugene

#10
FYI

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).