PureBytes Links
Trading Reference Links
|
Actually what you need is an OR not an AND in your statement. The time can never
be both (implied by the AND) greater than BEGINT(1645) and less than ENDT(0930).
correct statement below
IF TIME >= BEGINT OR TIME <=ENDT THEN BEGIN
Hope this helps.
John
LimitMove wrote: I assume I need a statement that includes "date" in some fashion
> this is what I have so far:
>
> BEGINT(1645),
> ENDT(0930);{of the next trading day}
>
> IF TIME >= BEGINT AND TIME <= ENDT THEN BEGIN
>
> {system logic)
>
> END
>
> Any assistance appreciated.
>
> Jon
> ----------------------- Headers --------------------------------
> Return-Path: <omega-list-request@xxxxxxxxxx>
> Received: from relay25.mail.aol.com (relay25.mail.aol.com [172.31.109.25])
> by air26.mail.aol.com (v37.8) with SMTP; Fri, 23 Jan 1998 17:09:16 1900
> Received: from mx1.eskimo.com (mx1.eskimo.com [204.122.16.48])
> by relay25.mail.aol.com (8.8.5/8.8.5/AOL-4.0.0)
> with ESMTP id RAA12981; >>
|