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

[amibroker] Re: filter for: lastbardate == today's date: Help [All]



PureBytes Links

Trading Reference Links


ChrisB,

Look at BarIndex() in AB help.  It has an example that fits your
needs.

Regards,
Tony



--- In amibroker@xxxxxxxxxxxxxxx, kris45mar <kris45mar@xxxx> wrote:
> 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]





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