Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way to reuse a function in Strategies? Is it possible to create a library of reusable functions?

0
Posted

Is there a way to reuse a function in Strategies? Is it possible to create a library of reusable functions?

0

It’s not possible to call a method from a Strategy saved in an XML file. You need to code your functions and methods in a .NET language of your choice, build a .NET assembly, and place it in Wealth-Lab’s main directory under Program Files with the rest of dynamically linked libraries (DLLs). Then reference it in your Strategy by using References in the Editor and/or with a “using” directive.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123