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.