PureBytes Links
Trading Reference Links
|
This should work:
Beta = ((open + close)/(open - close));
Alpha = Beta + ref(Beta,-1);
----- Original Message -----
From: mythicalmonkey_mmm
To: amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, October 23, 2004 5: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 Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
b.. To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
------------------------------------------------------------------------------
Message transport security by GatewayDefender
10:09:47 AM ET - 10/25/2004
[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/
|