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
|
|
|
|
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.