Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 12/30/2005(UTC) Posts: 120
|
As we know,
Not True = False
Not False = True
Does anyone have any suggestions on how Metastock works on this condition?
For example,
If current time is 12:19 pm,
(Hour()=12 and Minute()>15), which will return TRUE, but how can I code this
statement as shown below:
Not (Hour()=12 and Minute()>15), which will return FALSE,
Does anyone have any suggestions?
Thanks in advance for any suggestions
Eric
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
You're still trying to deal with intraday time the hard way? anyway... Code:
x:=Hour()=12 and Minute()>15;
x:=if(x,0,1); {not(x)}
wabbit [:D]
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.