MPO,
Of course you can do your programming in any .NET language, and VB .NET not an exception, if your Strategy is in compiled form. Here's what WealthScript Guide has to say:
QUOTE:
Wealth-Lab Pro Version 5 is a technical analysis and trading platform in which you can express and test trading strategies in any .NET language. That's right. In the .NET Framework, all .NET languages compile to Intermediate Language (IL), so you can choose from more than 20 languages to work with.
QUOTE:
Will there be/are there examples of coding in VB.Net rather than the WL C# editor?
The same WealthScript Language Guide chapter from which I quoted, says:
QUOTE:
Wealth-Lab's Strategy Editor, however, comes with a C# compiler, and consequently the Strategy Builder generates code with C# syntax, so naturally we provide coding examples for C#.
If you have trouble understanding C# syntax, use any free online C#-to-VB converter like this:
Convert C# to VBOr install SharpDevelop (also free) for offline translation.
In short, here's what you need to do:
1. Create a VB project for your class library.
2. Include required References to WealthLab.dll, WealthLab.Indicators.dll etc.
3. Create a class for your Strategy e.g. MyStrategy that implements
WealthScript.
4. Create another class adding Helper to the StrategyName i.e. MyStrategy
Helper implementing
StrategyHelper.
CODE:
Please log in to see this code.
5. Right-click on the interface name and let Visual Studio generate all skeleton code for interface members.
CODE:
Please log in to see this code.
6. Code your Strategy and debug as explained below:
Ask Glitch - How can I debug my trading strategies in Wealth-Lab Pro 5?Keep in mind that you'll not be able to use the Editor tab to manipulate your VB code.