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

Notification

Icon
Error

Options
Go to last post Go to first unread
chriskot  
#1 Posted : Saturday, November 20, 2010 12:29:54 AM(UTC)
chriskot

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/7/2010(UTC)
Posts: 2

I want to draw a horizontal line across whole chart at the point that is the high within the most recent X (say 50) days of the chart. The hhv(c,50) doesn't do it because it recalculates the value at each point 50 days back from that point. So, if 10 days ago was the highest close in the last fifty days I want a horizontal line across the whole chart, even if 60 days ago the close was higher then 10 days ago. I still want the line to be at the 10 day close. Thanks Chris
mstt  
#2 Posted : Saturday, November 20, 2010 12:26:03 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi Chris Try LastValue(HHV(H,50)) Roy
mstt  
#3 Posted : Saturday, November 20, 2010 12:27:16 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Or perhaps LastValue(HHV(C,50)) Roy
chriskot  
#4 Posted : Saturday, November 20, 2010 2:51:35 PM(UTC)
chriskot

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/7/2010(UTC)
Posts: 2

That's the trick. Thanks. I fugured it should be something simple. I would have never gotten that usage from the Metastock manual. Thanks Chris
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.