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

Notification

Icon
Error

Options
Go to last post Go to first unread
beeps  
#1 Posted : Friday, April 7, 2006 7:27:22 PM(UTC)
beeps

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/15/2005(UTC)
Posts: 9

Took delivery of a brand spanking new copy of 9.1 + data feed yesterday! Could someone set me straight on how a normal Envelope would be set up? I'm unsure of how the "vertical shift %" and "horizontal shift" options work, or rather what a "normal" setting would be? I would be using the envelopes to try and determine a likely amount to take from a trade. Thanks in advance.
StorkBite  
#2 Posted : Friday, April 7, 2006 8:58:40 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
What code R U using? There are a ton of different envelopes.
beeps  
#3 Posted : Saturday, April 8, 2006 3:33:20 PM(UTC)
beeps

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/15/2005(UTC)
Posts: 9

I'm using the "envelopes" indicator that's supplied with metastock. I've double clicked on the indicator lines themselves but don't seem to be able to access the code from the resulting dialoge box. Time periods: 25 Vertical shift: 5% Horizontal shift: 0 Method: Simple Price field: Close So I can see that changing the vertical shift will change the width of the bands, I'm just curious about how one determines the correct(?) settings.
sportrider  
#4 Posted : Saturday, April 8, 2006 8:03:40 PM(UTC)
sportrider

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/12/2005(UTC)
Posts: 141
Location: Brooklyn,NY

beeps, I'm not sure what time frame your using,but if daily ,I would leave it at the 5% shift and maybe increase the periods a bit like 35-40 periods .See how your stocks behave with them and at what periods does it touch the extremes and reverses.You could also use your percent shift to adjust how far apart they shift.There is no correct settings you'll have to determine that. I wouldn't use them to trade them alone.,maybe as somthing to enhance some other part of your entry or exit criteria.I hope this helps somewhat.
StorkBite  
#5 Posted : Saturday, April 8, 2006 9:01:24 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
The fact that the settings can be changed at all leads you into an area of subjectiveness regarding "what is correct?" I'd stick with the defaults until knowing how the indicator is acting on your chosen securities. The concept is that the channel will encompass the price moves and indicate overbought/oversold periods. Simply, you could take a moving average of the price and create a boundary above and below it based on a percentage of the average. Sometimes it is easier to see if you can follow the code. Below is my interpretation of the stock indicator. Since coding is not my strong point, make sure you check it out closely. It should be the same. Other than that, make sure you look up the Envelope indicator in the User's Manual. It contains a small paragraph about interpretation, and much more about the different input fields. HTH, G [code:1:1335143496]{ g_stockman 'MetaStock Envelope' interpretation } { user inputs } i1:=input("Time Periods",2,252,10); i2:=input("Vertical Shift %",1,10,1)/100; i3:=input("Horizontal Shift", -10,10,0); i4:=Input("Method S=1 E=2 W=3 T=4 Tri=5 Var=6, Vol=7",1,7,1); i5:=Input("Price O=1 H=2 L=3 C=4 MP=5 TYP=6",1,6,4); i5:=If(i5=1,O,If(i5=2,H,If(i5=3,L,If(i5=5,MP(),If(i5=6,TYPICAL(),C))))); { calculations } average:= if(i4=1,Mov(i5,i1,S), If(i4=2,Mov(i5,i1,E), If(i4=3,Mov(i5,i1,W), If(i4=4,Mov(i5,i1,T), If(i4=5,Mov(i5,i1,TRI), If(i4=6,Mov(i5,i1,VAR),Mov(i5,i1,VOL))))))); upper:=ref(average*(1+i2),-i3); lower:=ref(average*(1-i2),-i3); { plot } upper;lower[/code:1:1335143496]
beeps  
#6 Posted : Sunday, April 9, 2006 7:17:45 PM(UTC)
beeps

Rank: Newbie

Groups: Registered, Registered Users
Joined: 11/15/2005(UTC)
Posts: 9

Many thanks for your input. beeps
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.