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

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



PureBytes Links

Trading Reference Links

There is no automatic way built into AB to extract the params from the
optimizer and insert them into your AFL.  Use a text editor to do this.

Contact me off line for a custom solution.

d 

> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx 
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of reinsley
> Sent: Friday, May 23, 2008 11:39 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: How to reinsert the best optimized 
> values into the parameters ?
> 
> Hello,
> 
> I found #include <Paramoptimize.afl> and I understood that this
> function could use the best optimized values as parameters, instead of
> default values, into charts.
> 
> Is my understanding correct ? I cant' automatically enter these best
> values from the result list.
> 
> I read ten's of threads concerning ParamOptimize, but after a full day
> of exhausting search, I get nothing.
> 
> Any help or detailed example will be appreciated. I'am on the verge to
> give up.
> 
> Regards
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "reinsley" <reinsley@xxx> wrote:
> >
> > 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
> 
> 
> 
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 269.24.0/1462 - Release 
> Date: 5/23/2008 7:20 AM
> 


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

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/