[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] How to reinsert the best optimized values into the parameters ?



PureBytes Links

Trading Reference Links

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


------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/