PureBytes Links
Trading Reference Links
|
I think you just need to do:
Date() == Now(1);
Which is the date without the time.
>From HELP:
Returns current date / time in numerous of formats
format = 0 "returns string...current date/time"
Format = 1 "returns string...current dat only"
Both Date() and Now() returns strings, but you should test the format of
each since you're equating them.
--
Terry
From: kris45mar <kris45mar@xxxxxxxxx>
Reply-To: amibroker@xxxxxxxxxxxxxxx
Date: Sun, 31 Oct 2004 03:22:55 -0800 (PST)
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] filter for: lastbardate == today's date: Help [All]
Hi all;
I cannot figure out how to use Date(), or DateNum() functions to help me
here.
I want Explorations to only look at End of Day stocks which are currently
trading;
I need something like:
filter = blah blah
AND yeah yeah
AND date of last bar is equal todays date;
I have tried
Date() == now; // does not work.
I have tried
Datenum() ==1041029;
whilst this does work it means I have to change the date number for each
exploration.
What is the clever way around this?
Regards to all.
ChrisB
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
[Non-text portions of this message have been removed]
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
<http://us.ard.yahoo.com/SIG=129p8s88f/M=315388.5543473.6613715.3001176/D=g
roups/S=1705632198:HM/EXP=1099308177/A=2372354/R=0/SIG=12id813k2/*https://ww
w.orchardbank.com/hcs/hcsapplication?pf=PLApply&media=EMYHNL40F21004SS>
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
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
*
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> .
------------------------ 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/
|