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

Globex Time/Date code



PureBytes Links

Trading Reference Links

 I have BMI data which includes day and night sessions but I only want trading
signals to start in the night session and use day session data for
calculations

Just using time codes doesn't recognize the next morning session (eg. 0200) of
the next day and signals stop at midnight of the previous day.  In short how
do I get TS to look at the night and morning of the next days day session

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