Start learning C# with Visual Studio programming environment
Author: tradeoholic
Creation Date: 1/10/2014 9:20 AM
profile picture

tradeoholic

#1
Hi,

I used to use WL4 a little bit and I would change for WL6. I started learning C# programming language with Visual Studio programming environment. In Visual Studio 2008 are there several applications, for example "Console Application" and "Windows Forms Application". My question is which application is WL6 language based on ? Shell I learn "Windows Forms Application" as well or is the "Console Application" enough to program WL6.
profile picture

Eugene

#2
Hi,

First, with Wealth-Lab 6.6 you'll need Visual Studio 2012/2013 because VS2008 is so outdated that it is unable to target .NET 4.0. (WL6.6 runs on .NET4 or 4.5).

Learning to program WealthScript is much closer to programming a Class Library rather than a WinForms or Console app. Generally, you're unlikely to instantiate Forms (unless building a Wealth-Lab extension which is an advanced topic no needed by most WL6 users) but you'll inevitably meet some graphic-related methods coming from System.Drawing (Color) not applicable in Console.

Let me recommend you start by reading this FAQ:

How do I start with C# ? I'm a Wealth-Lab 3/4 user, how to learn C# ?
profile picture

tradeoholic

#3
My problem is, that I use the operating system WINDOWS XP, and Visual Studio 2012/2013 runs only on higher editions of WINDOWS (I am not sure, is it so ?) So I'm not planning to update my Windows yet. The question is, does WL6 run on WINDOWS XP ? If not, then I can update only for WL5 and practice with Visual Studio 2008 ? Is there a difference between the programming language of WL5 and WL6 ?

Thanks for the answers.
profile picture

Eugene

#4
Forget about WL5 - it's unsupported. WL6 runs everywhere you can install .NET 4.0 but since Microsoft purposefully doesn't support XP for VS2012, this means you're limited to VS 2010 and .NET4 for Windows XP. But that doesn't make VS2010 bad - it's a good choice as long as if it's possible for you to get it somewhere. For example, here's a page I've just googled that comes with a direct download link from Microsoft (an .ISO):

Visual Studio 2010 Express Free Download

However, I really recommend you dump Windows XP and get Windows 7 (because Win 8.1 would be quite shocking after XP) for a multitude of reasons.
profile picture

tradeoholic

#5
Thank you for the advice, it seems to be a good solution for me.
profile picture

tradeoholic

#6
I would like to try WealthScript Translator to convert some WL4 script to WL6 form, but the given direkt link shows something else (an ActiveTraderPro platform).

I'm a Wealth-Lab 3/4 user, how to learn C# ?

Where can I find the translator ?
profile picture

Eugene

#7
QUOTE:
I would like to try WealthScript Translator to convert some WL4 script to WL6 form


The (broken) download link has been updated.

Please don't forget that to work with WL6, first you need to renew your maintenance fee (which expired in 2009).
profile picture

tradeoholic

#8
Where can I renew it ? Shell I install WL6 first ? I tried to install WL6, but by the activation a message appeared: USER NOT FOUND. The problem is maybe that I changed my computer meanwhile and my PC Fingerprint changed.
profile picture

Eugene

#9
Yes, WL must be installed - then the Activation Wizard will help you out.

Problem is, you're not typing your key exactly as required. In particular, first/last name should be vice versa in your case. Check your inbox for the welcome letter with the key we've just resent.
profile picture

tradeoholic

#10
I renewed my maintenance fee, and activated WL6. I would like to convert some old WL4 scripts to WL6 script. Where can I find the WealthScript Translator ?
profile picture

tradeoholic

#11
One more problem with WL4. I can't activate it, because old name/key is not valid. Can I use WL4 and WL6 together ?
profile picture

Eugene

#12
1 - On WSTL see my reply #7 above.

2 - You need a replacement WL4 key which you can receive after creating a support ticket and following my instructions.

3 - Regarding WL4/WL6 together, check out this FAQ.
profile picture

akardar1

#13
Hi,

Posting here instead of opening a new thread on this existing topic.
I am spending time on becoming a better programmer, instead of just understanding charts :/

I am using WL 6.8, Win7, I have VS2012.Express at the moment.
I also have VS 2008, but i understand this is too old for WL 6.8?

I am following the instructions outlined in : http://www2.wealth-lab.com/WL5Wiki/kbAskGlitchDebug.ashx
On Step 2 > I add a reference > Select the Browse tab on the Browse option > but I see not Wealth Lab Installation file or WealthLab.dll file.
I have also navigated to the .... Fidelity Investments\WealthLabDev\1.0.0.0\Data .. but cant locate file.

What am i missing ?
Thank you i advance




profile picture

Eugene

#14
Hi,

QUOTE:
I also have VS 2008, but i understand this is too old for WL 6.8?

See my very first reply in this thread (post #2).

QUOTE:
cant locate file

As the instruction says, navigate to the Wealth-Lab installation folder which is under Program Files\MS123\Wealth-Lab Developer 6 (or Program Files (x86) for 32-bit WL in 64-bit Windows). The DLL does reside there (and nowhere else) without a doubt.

Should you have related questions, don't hesitate to ask them in threads which focus on debugging strategies, for example:

Using Visual Studio 2012 for debugging Strategies
attaching a new library to use in Strategy code
Debugging Trading Strategies in Wealth-Lab Pro with Visual Studio
Debug Strategy Code
...and more
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).