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

Notification

Icon
Error

Options
Go to last post Go to first unread
Lordvader  
#1 Posted : Saturday, September 23, 2006 10:59:27 AM(UTC)
Lordvader

Rank: Member

Groups: Registered, Registered Users
Joined: 9/13/2006(UTC)
Posts: 24

Hi Guys!

I need this formula to plot a channel analysis (nested envelopes):

First Envelope: Should be constructed so that nearly all the data is enclosed - prices rarely exceed envelope bounds.This envelope should be a constant-width curvilinear envelope.(with no sharp edges).*

Second Envelope: Encloses the previous envelope.Should be constructed with the highs and lows of the previous one - this highs and lows "touch" the 2nd envelope bounds.This envelope should be again, a constant-width curvilinear envelope.

* With weekly prices.

Thanks again,

Lord

wabbit  
#2 Posted : Sunday, September 24, 2006 7:10:21 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)
Without understanding exactly what you are trying to achieve.... try, for starters:

Code:

prd1:=200;
prd2:=21;

ma1:=Mov(C,prd1,S);
ma2:=Mov(C,prd2,S);

maxR1:=Highest(Abs(C-ma1));
maxR2:=Highest(Abs(C-ma2));

{plot}
ma1;ma1-maxR1;ma1+maxR1;
ma2;ma2-maxR2;ma2+maxR2;



then post back where this idea doesn't match your original request. An annotated picture will speak volumes...


wabbit [:D]


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.