Greetings!
I have my program for testing any trading technics. It calculates it stability and objective performance. It works as stand-alone application, but I'd like to integrate it with Wealth-Lab. So I have some global questions:
1. Is it possible to write my own WLD tool like Neuro-Lab?
2. Is it possible to use WLD optimization from my code?
Size:
Color:
Size:
Color:
Thank you!
Let see deper. I'd like to use some source information from WL in my standalone application. Source bars and SymbolInfo. It's easy with WealthScript, but here I use inheritance from MenuItemHook. And It not supported WealthScript. What I have to do?
Size:
Color:
It should be possible but why do you think you need WealthScript for that? Bars is a pretty self-contained class.
Size:
Color:
I need not a Bars class, I need the Bars from the current selected Symbol in my standalone app.
Size:
Color:
To load an arbitrary symbol's data, you will have to use Reflection and some unsupported classes. Check out
Community Indicators > Helper > MainModuleInstance.cs and ExternalSymbolPlotter.cs.
Size:
Color:
QUOTE:
Inserting custom items under Wealth-Lab's Tools menu (6.0)
Something wrong with it. Here is an example:
CODE:
Please log in to see this code.
WLD accessed AddMenuItems, but I can't see the new menu item in WLD. I posted 16x16 png Image (Properties.Resources.gear). Is there something wrong?
Size:
Color:
You have to provide the name of an
already existing item below which your "TSGenerator" will be inserted:
CODE:
Please log in to see this code.
Size:
Color:
Thank you! It works now.
The next thing I can't stand, is the binding of my form. In my custom method I can exec the form like this:
CODE:
Please log in to see this code.
But this form is not binding to the main form of WLD. I can max it, but it fills the full screen, not the WLD main form. Is it possible to bind it inside WLD?
Size:
Color:
Size:
Color:
Thank you!
So far, I made my code WL integrated. It's good to use datasets and BarDataRange right from WL.
My question is about output. My code generates some optimal strategies for symbol. I'd like to programatically create a new Folder for my generated strategies and then save them all. I'd like to make the stuff like Save Strategy As dialog box, but from the code. Please tell me the clue, is there a methos for saving strategies and making a new folder?
As a post-production I'd like to load all generated strategies in Strategy Ranking. Is there a method to load the strategies into SR from the code?
Size:
Color:
Glad to have helped.
QUOTE:
Please tell me the clue, is there a methos for saving strategies and making a new folder?
Sorry Igor, I seem to have already answered this kind of questions in post #2. Whatever is undocumented, is explored by the motivated developers on their own. Good luck hacking your way through Object Browser.
QUOTE:
Is there a method to load the strategies into SR from the code?
Same as above. The tool is not intended for this purpose.
Size:
Color: