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

Re: [amibroker] Question



PureBytes Links

Trading Reference Links

If you have not set the AA range to include today (last bar on chart)
then no exploration/scan will pick it anyway.
Assuming it is included you can use the Now() function provided the
last bar is today. (ie won't work over weekend scans)
eg datenum()==Now(3)
or better is to use
barindex()==Barcount-1


On Mon, 15 Nov 2004 03:49:59 -0000, danielwardadams
<danielwardadams@xxxxxxxxx> wrote:
> 
> 
> Probably an easy one:
> 
> When I'm running explorations, how can I ensure I'm only looking at
> the most recent day (I'm using using EOD data)? I know I can set the
> range to the last 1 day but I'm always forgetting to do it and I'd
> rather do it programmatically.
> 
> Filter = cond1
>     AND cond2
>     AND Day == Today //Need the correct way to do this.
> 
> TIA,
> Dan
> 
> 
> 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
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ 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/