PureBytes Links
Trading Reference Links
|
Assuming EOD data:
entryDate=valuewhen(buy,datenum());
numberOfDays=barssince(buy);
Walt
--- In amibroker@xxxxxxxxxxxxxxx, "kanowna2000" <kanowna@xxxx> wrote:
>
> Hello,
>
> Is anyone aware of any built-in functions in AmiBroker that would
be
> equivalent to the Entry Date of a position and Current Date? If
> there are, can one reference the current date relative to the entry
> date in a calculation, e.g., x = current date - entry date?
>
> Thanks in advance,
>
> Joe
------------------------ 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/
|