PureBytes Links
Trading Reference Links
|
> 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/
|