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

Re: [amibroker] DATE QUOTE = TODAY



PureBytes Links

Trading Reference Links

PS - "datenum() == Now()" methed won't work on weekends if you have no weekend data, so if you are planning on using the code on weekends you really want to ID last trading day....may be better to just write something like "datenum == 1060111" and update date manually each day...
 
Steve
----- Original Message -----
Sent: Wednesday, January 11, 2006 11:43 AM
Subject: Re: [amibroker] DATE QUOTE = TODAY

Hi - Test for equality is "=="  ( 2 equal signs ). You are assigning current data to dt.
 
Steve
----- Original Message -----
From: martinod
Sent: Wednesday, January 11, 2006 11:24 AM
Subject: RE : [amibroker] DATE QUOTE = TODAY

Thank you for your answer,

 

What I want to do is list only the stocks whose last date quote = To-day   (as some securities are out of date).

 

So i added :

 

dt=DateNum();

Filter=Filter AND  dt=Now(3) ;

 

But this does not do the trick…

 

Thanks for the help,

 

Regards,

 

 

AL,

 

 

-----Message d'origine-----
De : amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] De la part de cstrader
Envoyé : mercredi 11 janvier 2006 16:08
À : amibroker@xxxxxxxxxxxxxxx
Objet : Re: [amibroker] DATE QUOTE = TODAY

 

Some variation of a comparison between datenum() and now() should work I
think.

----- Original Message -----
From: "myantiqs" <amartinod@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, January 11, 2006 8:33 AM
Subject: [amibroker] DATE QUOTE = TODAY


> Hello all,
>
> How do you simply test with AFL that :
>
> Date of Quote = Today.
>
> Thank you,
>
> AL,
>
>
>
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS