S&C 2012-11 | Identify The Start Of Trend With DMI (Low)
Author: Eugene
Creation Date: 10/9/2012 4:51 AM
profile picture

Eugene

#1
Code for S&C 2012-11 | Identify The Start Of Trend With DMI (Low) strategy published. For more details, please visit this Wiki link.

We recommend downloading it directly using the convenient "Strategy Download" feature (found in Wealth-Lab's "Open Strategy" dialog).

profile picture

Dieter Weiss

#2
Hi,

this Code:

List<double> lstADX =
new List<double>() { adx4[bar-1],adx5[bar-1],adx6[bar-1] };

compiles with an error: error CS1002 :; erwartet.

Regards
Dieter
profile picture

Eugene

#3
Hi Dieter,

I double checked my code in WL 6.4 (beta) and it runs fine whether downloaded normally using the Strategy Download feature or manually pasting from the Wiki.
profile picture

Cone

#4
The Editor expects a semicolon after new List<double>(), but the code compiles fine for me. What version of the .NET framework do you have?
profile picture

Dieter Weiss

#5
Using WL 6.14.0

Where do i find .NET Version (Windows is not my world :-(
profile picture

Dieter Weiss

#6
.NET FRAMEWORK 4
profile picture

Eugene

#7
Sorry Dieter but in .NET 2.0 - the target platform of Wealth-Lab version 6.3 - the code will not compile as is. I just rolled back for 6.3 to find out that you were right. The C# language improves from version to version (C# 3.0, C# 4.0...)

In 6.3, replace this code fragment:
CODE:
Please log in to see this code.

With this code snippet:
CODE:
Please log in to see this code.

Starting from v6.4 (expected pretty soon), the downloaded code will work as intended. Thanks for the heads-up.
profile picture

Dieter Weiss

#8
Perfect, thanks a lot!

By the way, are there plans to write the swamicharts solution from TASC 10/2012. This should fit well in this approach!
profile picture

Eugene

#9
We did not do no SwamiCharts for 10/2012 because the October tip was "A Seasonal Strategy With Leveraged ETFs", but Robert (Cone) has done the coding for that Swami-something before. You can find it in the Wiki.
profile picture

zozzy

#10
I'm looking for the Strategy "S&C 2012-10 Traders Tips Code", but cannot find it. I see "S&C 2012-09" and "S&C 2012-11" and I tried Searching under "S&C" as well as "TASC". Is it available? Will it be available? Thanks
profile picture

Eugene

#11
profile picture

Javier

#12
Thank you guys (Eugene) I had the same issue with syntax that did not compile - used your replacement text and Bingo!!!
Thanks agian
profile picture

Eugene

#13
Javier asked:
QUOTE:
In the November issue of TASC - the strategy created by BC Low - TAC-DMI - does anyone know how to add volume to the chart?

I have purposefully hidden the volume pane so it won't add more clutter to the chart. Delete or comment this line in the code:
CODE:
Please log in to see this code.

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