Reference/Call Custom Indicators
Author: arickett
Creation Date: 5/10/2020 7:54 PM
profile picture

arickett

#1
Is it possible to code custom indicators and then call them within code to use in my strategies, or must I copy and paste them into each strategy I create that uses them? If so how is this done?

I've tried creating a custom indicator library DLL within Visual Studio and I'm having trouble debugging it. Two kinds of help would be appreciated.
1. How to run WealthLab from Visual Studio so I can debug my indicator DLL?
2. How to reference my indicators in WealthLab without creating a DLL, if possible?

Any and all advice from those experienced developers is greatly appreciated.
profile picture

Eugene

#2
You might find these questions answered on the forum:

QUOTE:
1. How to run WealthLab from Visual Studio so I can debug my indicator DLL?

Programming | How can I debug my trading strategies in Wealth-Lab?

QUOTE:
2. How to reference my indicators in WealthLab without creating a DLL, if possible?

DataSeries on the fly vs formal
Semi-formal Indicators
profile picture

Eugene

#3
Also to make your task less complicated I recommend that you take a look at the open source Community.Indicators library for an example of implemenation. It targets Wealth-Lab Developer so to make VS work with WLP you have to make some changes in the VS solution:

1. Soluton Explorer > References > change paths to your WLP folder for referenced Wealth-Lab DLLs
2. Project properties > Debug tab > Start external program... [Not required for Attach to Process scenario]

Finally, here's the reference just in case:

Creating an Indicator Library in Wealth-Lab Pro
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).