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

Notification

Icon
Error

Options
Go to last post Go to first unread
stevens4x  
#1 Posted : Friday, August 4, 2006 3:33:21 PM(UTC)
stevens4x

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/26/2005(UTC)
Posts: 11
Location: Houston

I have searched through the archs and am unable to figure this out. I have a custom expert I am using but I do not really care if it is an indicator or whatever.

I am looking to:

Have a vertical line placed at 8:30am and 3:00pm Monday - Friday.

I also would like the lines to not disappear - so if I am viewing Thursday the lines on Monday will still be there also.

Does anyone have avy idea how to do this?

...and yes - I am shooting for mkt open/close.

Thank you,

Steven

hayseed  
#2 Posted : Friday, August 4, 2006 9:22:06 PM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey steve..... something along the 'if hour and minute' input might work..... the hours are in military time, so 3 is 15.....h

============================

h1:=Input("hour",1,24,9);
m:=Input("minute",1,60,30);

If(Hour()=h1 AND Minute() =m,1,0);

h2:=Input("hour",1,24,15);
m2:=Input("minute",00,60,00);

If(Hour()=h2 AND Minute() =m2,1,0);

===========================

stevens4x  
#3 Posted : Saturday, August 5, 2006 6:07:05 AM(UTC)
stevens4x

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/26/2005(UTC)
Posts: 11
Location: Houston

This is great. Thank you so much for the super fast help - I was hoping to work with this today.

Steven

Ben_Zurich  
#4 Posted : Friday, August 11, 2006 1:50:18 AM(UTC)
Ben_Zurich

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/4/2006(UTC)
Posts: 57
Location: Zurich, Switzerland


Can anybody tell me how to have an indicator draw a vertical line,
when the indicator has a certain value?

Also, is there a way to determine its color and thickness ?



Ben_Zurich  
#5 Posted : Friday, August 11, 2006 1:56:40 AM(UTC)
Ben_Zurich

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/4/2006(UTC)
Posts: 57
Location: Zurich, Switzerland

and, btw, is there any more in-depth programming documentation than what I find in the formula primer? I believe drawing lines is not covered in there, or am I completely mistaken?



Users browsing this topic
Guest (Hidden)
Similar Topics
Draw Vertical Lines between 4 days on intraday basis. (Formula Assistance)
by kthakker0 4/2/2013 3:06:26 AM(UTC)
How to plot Vertical Lines Range (Formula Assistance)
by Knowland 4/21/2012 1:03:00 PM(UTC)
Drawing vertical lines - not trendlines [RESOLVED] (MetaStock)
by Mouse 7/2/2007 3:12:30 AM(UTC)
Program vertical lines / scale problems (Formula Assistance)
by arnevanveen 3/23/2006 12:55:59 PM(UTC)
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.