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

Notification

Icon
Error

Options
Go to last post Go to first unread
status1  
#1 Posted : Friday, November 27, 2009 10:20:04 AM(UTC)
status1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/3/2007(UTC)
Posts: 5

Hello,
I discovered an indicator that I don't remeber seeing in metastock
I found it at Bigcharts.com and it's called Price channel
I was wondering what is the formula for that indicator so that perhaps I can build it and use it in metastock

mstt  
#2 Posted : Friday, November 27, 2009 3:37:27 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 Status1

Look for Price Channel in the index of the MetaStock User Manual. It's in the MS 9.1 manual and is likely to be in both both earlier and later versions also. You should be able to work out the code from the description of the indicator that's given there.

Roy

status1  
#3 Posted : Friday, November 27, 2009 5:47:44 PM(UTC)
status1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/3/2007(UTC)
Posts: 5

Hello,
Thanks for the reply,
I have a way old metastock 5.11 so I don't have that manual
Is that available online ?

Upon further search I think I found something that loos like the indicator I saw

"2 lines represented the Price Channel. It is based on measurement of min, and max. prices for the definite number of periods.
The following formulas serve as the basis for the lines of the price channel:

PC Lower = LL (n). It's the minimal value from the set of all Low prices (Lowest Low) within n periods.

PC Upper = HH (n). It's the maximal value from the set of all High prices (Highest High) within n periods"

I hope I can enter that formula somehow

mstt  
#4 Posted : Friday, November 27, 2009 7:46:34 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)
HiStatus1 Try this. N:=14; HHV(H,N); LLV(L,N); I don't know that these functions are supported by 5.11 but it's worth a try. If you want to vary the number of lookback periods you couls try this. N:=Input("Price Channel Periods",2,99.14); HHV(H,N); LLV(L,N); Roy
status1  
#5 Posted : Saturday, November 28, 2009 10:05:19 AM(UTC)
status1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/3/2007(UTC)
Posts: 5

Hello,
I have the hhv and llv but I am not sure how to use them
Also what to enter for "n"
I entered the first formula like this LLV( LOW ,21 ) and it seem to be close except at one point it went above the price so I don't think I have it quite right
Also I am not sure how to add the second part of the formula since it doesnt allow me to enter it by itself on a new line If I enter without anything in between it says "operator expected"
I tried to add "AND" or "OR" in between but that just makes a flat line so that's going to need more work
I can enter the other half by itself like this HHV( HIGH ,21 ) but that also goes above and below the price at some point


status1  
#6 Posted : Saturday, November 28, 2009 10:13:32 AM(UTC)
status1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 9/3/2007(UTC)
Posts: 5

Quick update
Instead of making one formula I made 2 separate ones and it's seems to be working correctly now
Thanks for your help
Users browsing this topic
Guest (Hidden)
Similar Topics
August 2023: Using Price Channels (2023)
by MS Support 11/7/2023 6:10:59 PM(UTC)
Jun 2006: The Wilson Relative Price Channel (2006)
by KTP2 5/11/2010 2:25:58 PM(UTC)
Price Channel Lines (Formula Assistance)
by henry1224 4/16/2005 2:14:47 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.