Hi,
I wrote a custom optimizer and the user should have the option to change some settings. How can I show an "Optimizer Settings" dialog like the Monte Carlo and Genetic Optimizer do when the user presses the "Settings ..." button?
Cheers,
Bjoern
Size:
Color:
Hi Bjoern
Basically, you need to:
1. Implement ICustomSettings in your PosSizer.
2. Set up a GUI dialog as a UserControl
3. Return the UserControl in GetSettingsUI()
For more, please see the "Creating Custom Settings" PDF linked in the Wealth-Lab Wiki.
Size:
Color:
Hi Eugene,
Ok, that works. Thanks for the quick reply.
Cheers,
Bjoern
Size:
Color:
This solution is from 2010. Do custom settings still work this way in WLP 6.7? If so, I don't know what to reference to get by a compiler error on...
CODE:
Please log in to see this code.
Any expansion on this answer...
QUOTE:
1. Implement ICustomSettings in your PosSizer.
2. Set up a GUI dialog as a UserControl
3. Return the UserControl in GetSettingsUI()
... would be helpful to this C# dialogue newbie (code example?). Thanks.
Compiler error is:
Error CS0246: The type or namespace name 'ICustomSettings' could not be found (are you missing a using directive or an assembly reference?)
Size:
Color:
Size:
Color:
Thanks, I've got some learning ahead. BTW, I do now have a working "particle swarm optimizer." Number of particles and number of iterations are currently hard-coded. Hence the need for ICustomSettings.
Size:
Color:
Nice to know.
Size:
Color: