Custom trading indicator by calling DLL
Author: officetrader
Creation Date: 1/6/2009 10:27 AM
profile picture

officetrader

#1
Hi my friends,

Is wealthlab pro support calling DLL files? Because I have a custom technical indicator which is made in the form of DLL, I hope I can call it in my wealthlab pro script.

Thanks a lot.
profile picture

Eugene

#2
Both Wealth-Lab Pro (for US residents with qualified Fidelity accounts) and Developer (for international customers) support calling COM and .NET DLLs.

For .NET it's simply a matter of including a reference to the library. For legacy COM DLLs, that would take a little bit more scripting effort. Google "COM Interop".
profile picture

officetrader

#3
I see. The method is follow the idea of "add reference" in visual studio.

Thanks Eugene.
profile picture

Eugene

#4
QUOTE:
The method is follow the idea of "add reference" in visual studio.

That's right. Alternatively, put the DLL inside the Wealth-Lab main directory under Program Files and add a "using" statement on top of your Strategy.
profile picture

officetrader

#5
Great! This method is even easier.

Thanks.