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

Re: [amibroker] initialise variable



PureBytes Links

Trading Reference Links

Hello,

Use CUM function instead:
http://www.amibroker.com/f?cum

Alpha = Cum( (open + close)/(open - close) );


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "mythicalmonkey_mmm" <mythicalmonkey_mmm@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, October 23, 2004 11:35 AM
Subject: [amibroker] initialise variable


> 
> 
> 
> Dear sir ,
>        I would like some help regarding initialising a variable.
> Example:
>         Alpha = ((open + close)/(open - close))+ref(alpha,-1);
> I get error "var use without initialising".
> 
> My problem is i am using a var alpha and need alpha of yesterday so 
> how do i initialise it .
>    Thanks for the help;
> 
> My-monkey.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/