Optimization Results Memory
Author: gbullr
Creation Date: 3/8/2014 5:14 PM
profile picture

gbullr

#1
Help with the following porblem please.

I have run a multiparameter optimization and there are 2 results that I want to use and therefore I want to store them w/in the strategy file itself.


One solution that I have is to:

param1 = CreateParameter("BOutLen",val1,val1,val2,val2-val1);

while this solution works it is not great because if I want to re-run the optimizatoin I would have to change the potential parameters.

The second solution that I thought of was this (only partial solution) assume that scenario 1 and scenario 2 are "stored"

CODE:
Please log in to see this code.



The above does not work, but is there a away to make it work?

Thanks a lot in advance.






profile picture

gbullr

#2
I can in theory use this?

CODE:
Please log in to see this code.


Still confused.

profile picture

Eugene

#3
If you took all the code from this thread...

http://www.wealth-lab.com/Forum/Posts/Dynamically-expose-strategy-parameters-33906

...then intentionally creating a duplicate thread looks odd. Answered there.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).