TASC 2006-08 | Modeling the Market
Author: thodder
Creation Date: 11/25/2009 1:45 PM
profile picture

thodder

#1
I ported the WL4 strategy to WLP 5.5 as the following:
CODE:
Please log in to see this code.

I wasn't sure if the WL4 code:
CODE:
Please log in to see this code.

should be ported as:
CODE:
Please log in to see this code.

Is my conversion correct? If so, it doesn't look like this strategy can be traded as ITL1 is invalid on the last two bars of the chart.

If you look at the TASC article (http://www.traders.com/documentation/FEEDbk_docs/2006/08/TradersTips/TradersTips.html#wealth) you'll notice that the red line is two bars left of the blue line, so I believe the WLP code matches the WL4 version.
profile picture

Cone

#2
You're right. José made a mistake in the WL4 code. A delay should be entered as a negative number of bars, consequently the v5 code should be DataSeries ITL1 = ITL >> 2;
profile picture

thodder

#3
Thanks Cone!
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).