logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Flexi  
#1 Posted : Thursday, May 1, 2014 3:21:47 PM(UTC)
Flexi

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/27/2006(UTC)
Posts: 135

Trying to create an indicator plotting the open price on wed

The dayofweek would do but whn wed is holiday there is no bar to plot and thus no open price

In case of wed is holiday return the tue open price of

In case of tue and wed concurrently are holiday return mon open price


wabbit  
#2 Posted : Thursday, May 1, 2014 5:26:50 PM(UTC)
wabbit

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)
Why the insistence of looking into the future? On Tuesday, does the market know that Wednesday is a non-trading day? Wouldn't it make more sense to say the the "season" starts on or after Wednesday, instead of on or before? By the way: from memory you have never said thanks or in any way acknowledged that any of your problems that you have posted about have been resolved, ever; how did you go with getting the forum.dll copied into the correct folder?
Laisze  
#3 Posted : Sunday, May 4, 2014 3:48:52 AM(UTC)
Laisze

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 11/18/2007(UTC)
Posts: 96
Location: HK

wabbit wrote:
On Tuesday, does the market know that Wednesday is a non-trading day?


Yes, it would know - thanks to that newfangled invention named "calendar". Ever since I hanged one of these behind the kitchen door, nowadays I always know when the market is not trading on a Wednesday.
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.