PureBytes Links
Trading Reference Links
|
you must have an error in your paramoptimize afl because it works fine for me
-- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 12/03/07, wavemechanic <fimdot@xxxxxxxxx> wrote:
Thomas:
The code runs OK for me producing a plot of Hull with
the default period.
Bill
----- Original Message -----
Sent: Sunday, March 11, 2007 9:48
AM
Subject: Re: [amibroker] Error message with
ParamOptimize - why?
>> You have this line included before you define periods and delay
variables >> HullMA = HullMaFunction( P, Periods, Delay ); >>
But because you re-define the HullMa variable later in the code anyway
you >> can remove this line altogether > > Graham, thanks
a lot. You are right, of course, and I was blind. Now it works. > But -
I'm still having problems with this function. If I apply it to the >
following formula: > > #include <ParamOptimize.afl> >
> P = ParamField("Price field",-1); > > Periods =
popt("Periods", 15, 2, 200, 1 ); > > Hull=DEMA(
2*DEMA(p,int(periods/2))- DEMA(p,periods),int(sqrt(periods))); > >
Plot( Hull, _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), >
ParamStyle("Style") ); > > > space = Param("Graph Space",
10, 0, 25, 1); > GraphXSpace = space; > > > ... I get
the error message mentioned - even if I replace popt with Param! The >
#include line alone is enough to cause that error. Isn't that strange? >
> Greetings, Thomas > > > > > >
------------------------ Yahoo! Groups Sponsor --------------------~-->
> Transfer from your equities account. > Receive up to
$1,000 from GFT. Click here to learn more. >
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/GHeqlB/TM >
--------------------------------------------------------------------~->
> > 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/
> > > > > -- > No virus found
in this incoming message. > Checked by AVG Free Edition. > Version:
7.5.446 / Virus Database: 268.18.7/711 - Release Date: 3/5/2007 9:41 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
SPONSORED LINKS
__,_._,___
|