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

[amibroker] Re: PARAM - OPTIMIZE - VALUE



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, Al Venosa <advenosa@xxxx> wrote:
> billtex2003 wrote:
> 
> > --- In amibroker@xxxxxxxxxxxxxxx, "ckinsey2003" 
<ckinsey2003@xxxx>
> > wrote:
> > > I would expect the following 3 lines to produce the same 
results
> > in a
> > > Backtest Report, using the value of .2 for AMA smoothing 
factor.
> > But
> > > they don't.  Using the straight Value or the Optimize reduce my
> > CAR by
> > > about 50%.
> > >
> > > Help anyone please. What don't I know here ??
> > >
> > > Val1 = Param("AMAsmooth", .2, .10, .30, .01);
> > >
> > > -or-
> > >
> > > Val1 = Optimize("AMAsmooth", .2, .10, .30, .01);
> > >
> > > -or-
> > >
> > > Val1 = .2;
> > >
> > > Jack
> >
> > I don't know if this will help, but decimals have to be 
preceeded by
> > a whole number - even if it's zero.
> > .2 for example must be 0.2
> 
> Actually, this is not true. The preceding 0 for a fraction less 
than 1 
> is not needed to allow an optimization to take place. However, it 
is 
> needed if you want the number to appear in the AA window in a 
different 
> color from black.
> 
> Regards,
> 
> Al Venosa

You are correct. My apologies. I have been laboring under the 
assumption that the fact it stayed black meant it was an invalid 
input.
> 
> 
> [Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/