Home / Products / WL4 Compatibility Library
WL4 Compatibility Library

Wealth-Lab 4 Compatibility Library

Execute most Wealth-Lab 4.x scripts directly in Wealth-Lab 5.0 without script conversion or editing any code, so you can run existing scripts with the speed of Wealth-Lab 5.0 without converting them to C#.

Installation

Install the Wealth-Lab 4 Compatibility Library Demo using the installation package below (1.87 MB, digitally signed by Aronow Software LLC).

WL4CompatInstall.msi

Be sure to install to the Wealth-Lab 5.0 install folder (usually C:\Program Files\Fidelity Investments\Wealth-Lab Pro 5). After the installation completes, run Wealth-Lab 5.0 (or restart it).

The demo version provides full functionality but will only run with 500 bars or less. You will also see periodic reminders that this is a demo version. The full version does not have these limitations.

Usage

Browsing for a script

Wealth-Lab 5.0 will automatically detect a new strategy named Aronow Software LLC WL4 Compatibility Library (shown below).

Wealth-Lab 5 - Strategies
Wealth-Lab 5 strategy list showing the WL4 Compatibility Library

When this strategy is opened it will launch a dialog box to select the Wealth-Lab 4.x script. Click on a script name to see the text for the script, then click “Run Script” to execute it. On some PCs you will be prompted to locate your Wealth-Lab database folder the first time you run a WL4 script using the library. Contact technical support at support@aronowsoftware.com for help altering your registry to prevent this in the future.

Select WL4 Script
WL4 script selection dialog

Running a script by name

The following Wealth-Lab 5.0 strategy will run any specified Wealth-Lab 4.x script. Change the name of the script to the actual script you want to run, compile the strategy, and run it. This mode must be used for multi-symbol simulations (otherwise you will be prompted to select the script for every symbol in the simulation).

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using AronowSoftware.WLabCompat;

namespace WealthLab.Strategies
{
    public class WL4Runner : WealthScript
    {
        protected override void Execute()
        {
            WLWrapper w = new WLWrapper();
            string scriptToRun = "Neo Master";
            //uncomment the line below to view all debug messages for unsupported functions
            //w.ShowDebug = true;
            w.RunScript(scriptToRun, this);
        }
    }
}

Unsupported Wealth-Lab 4.x functions

The following functions are not supported in the initial release. Some may be added in later releases, but due to design changes in Wealth-Lab 5.0 some may not be added. Scripts calling these functions will still compile and may also run, but the functions will not perform any functionality (most will return zero).

  • AccountExposure
  • AddCommentary
  • AddScanColumn
  • AddScanColumnStr
  • AllowSymbolSearch
  • AnalyzeSeries
  • BOP
  • BOPSeries
  • BuyAndHold
  • CandidateCount
  • Cash
  • CashInterest
  • ChangeScale
  • ClearIndicators
  • CreateOleObject
  • DividendsPaid
  • DrawDown
  • DrawDownPct
  • DrawRoundRect
  • EnableNotes
  • EnableTradeNotes
  • Equity
  • GetDailyBar
  • GetIntraDayBar
  • GetMonthlyBar
  • GetPositionRiskStop
  • GetWeeklyBar
  • HTDCPhase
  • HTDCPhaseSeries
  • HTInPhase
  • HTInPhaseSeries
  • HTLeadSin
  • HTLeadSinSeries
  • HTPeriod
  • HTPeriodSeries
  • HTQuadrature
  • HTQuadratureSeries
  • HTSin
  • HTSinSeries
  • HTTrendLine
  • HTTrendLineSeries
  • Input
  • IWealthLabAddOn3
  • IWealthLabAuto
  • LinearRegLine
  • MarginLoan
  • NVI
  • NVISeries
  • OpenInterest
  • PeakNum
  • PeakNumSeries
  • PerfAddBreak
  • PerfAddCurrency
  • PerfAddNumber
  • PerfAddPct
  • PerfAddString
  • PVI
  • PVISeries
  • RandG
  • RelSlope
  • RelSlopeSeries
  • SetColorScheme
  • SetCommission
  • SetOptimizeValue
  • SetPositionRiskStop
  • SetPositionSize
  • SetPositionSizeFixed
  • SetPositionSizePct
  • SetPositionSizeShares
  • SetRiskStopLevel
  • SetShareCap
  • SetShareFloor
  • SetShareSize
  • SetSlippage
  • SingleCalcMode
  • SortByEntryDate
  • SortByExitDate
  • StartingCapital
  • SynchAll
  • SynchSeries
  • TII
  • TIISeries
  • TotalCommission
  • TrendLineValue
  • TroughNum
  • TroughNumSeries
  • WatchListAddSymbol
  • WatchListClear
  • WatchListDelete
  • WatchListName
  • WatchListRemoveSymbol
  • WatchListSelect

All fundamental data functions from Wealth-Lab Pro are not supported in the initial release. Commission functions are also not supported.

Notes

  • Not every script from Wealth-Lab 4.x will run using this library. For help with a specific script you may send it to support@aronowsoftware.com. All scripts will be kept confidential. Before sending a script you may also request a nondisclosure agreement between you and Aronow Software LLC.
  • This product will likely be enhanced in the future, so check back for updates. If you have a specific feature request please email support@aronowsoftware.com.