Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I want to capture the input parameters for an indicator of a C # form. The call of the OnBarUpdate method should be avoided until the form is closed.
My first idea was:
I call the modal form from inside the OnStartup method:
The form is displayed. However, the OnBarUpdate method is called before the form is closed. My parameters are thus in the indicator is still not known.
Then i tried
Same result as above.
Does anyone provide any solution or idea?
Eddy
Can you help answer these questions from other members on NexusFi?
I think you can find some working examples from some old code from @piersh who made a Genetic Optimizer for NT 6.5. It was a strategy class code, but the actual code itself should be the same obviously for an indicator in regards to the form generation and input.
I have the following problems:
1. After installation "PH Genetic " in "NT 7.01 Live" I can't select "PH Genetic" because i can not see an appropriate selection dialog.
2. Unfortunately, I do not find the place in the Sourcedcode where for e.g. the Form 'OptionsDialog: is invoked .
It was for NT 6.5, not 7, if I recall (since 7 has a GO already).
The point was to look at the source. Just look for forms or parameters with x,y coords, you can see it from there. I believe it's standard winform stuff, you could buy a book on it and get the basics.
I haven't use the PHGenetic gave me false results:
- take the optimal parameters found by the PHGenetic
- launch simple backtest with only these parameters
then compare the results of both.
You will have some surprises...