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

Re: [amibroker] Test for current Day intraday scan



PureBytes Links

Trading Reference Links

sorry made error use Now(3)
 
datetime and day are not the same and only read whaty is in your databse not real time time

 
On 10/12/05, Terry <MagicTH@xxxxxxxxxxx> wrote:

Actually I just tried this and it must be Now(3) to get the same number as DATENUM() gives (on a daily database anyway).

 

--

Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tony Lei
Sent: Tuesday, October 11, 2005 16:27
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Test for current Day intraday scan

 

Thanks Graham

BTW, what would be the difference between using Now (5) and Now (6)?  This is explained here but I still don't understand.

·         format = 5 - returns DATETIME number with current date/time

·         format = 6 - returns current DAY (1..31)

Do they both serve the same purpose except one checks for the time of day?

thanks again,

Tony

On 10/11/05, Graham < kavemanperth@xxxxxxxxx> wrote:

It will scan the last day in your database
If you want today according to your computer date
datenum()==Now(5)

--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm


On 10/11/05, Tony Lei < yiupang91@xxxxxxxxx> wrote:
> Hi all,
>
> Will this tell AB to scan the most current day after 945am?
>
> Buy = DateNum()==LastValue(DateNum()) and TimeNum() > 094459 and Cross (H, OR30High) ;
>
> Thanks
>
> tony
> qitrader
>
>



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

 

§          Visit your group "amibroker" on the web.
 

§          To unsubscribe from this group, send an email to:
  amibroker-unsubscribe@xxxxxxxxxxxxxxx
 

§          Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

 






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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS






--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm

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