Hello, How can I reinsert the best optimized values into the parameters ? Does it exist a way to extract them ?
I ran the following example and during the optimization, I see the curves that follows the running values. But at the end of optimization the graph comes back to the default values : 5 - 10 - 7 - 14 (as mentionned in Help File). I read http://www.amibroker.com/guide/h_optimization.html, but I did not understood how to reenter the best values sorted by the best results list. I wish, if possible, to reintroduce the best 4 values founded by optimization into the default param set of : BFastPer=Param("BFastPer",( [Best value #1] ,2,50,1); BSlowPer=Param("BSlowPer",( [Best value #2] ,2,50,1); SFastPer=Param("SFastPer",( [Best value #3] ,2,50,1); SSlowPer=Param("SSlowPer",( [Best value #4] ,2,50,1); ********************************** //four values optimization example BFastPer=Optimize("BFastPer",5,2,50,1); BSlowPer=Optimize("BSlowPer", 10,2,50,1); SFastPer=Optimize("SFastPer",7,2,50,1); SSlowPer=Optimize("SSlowPer",14,2,50,1); mov1 = EMA(C, BFastPer); mov2 = EMA(C, BSlowPer); mov3 = EMA(C, SFastPer); mov4 = EMA(C, SSlowPer); ** then place the best optimized values... but how ? plot mov1 ; plot mov2 ; plot mov3 ; plot mov4 ; ********************************** Thank you Regards
