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

Notification

Icon
Error

Options
Go to last post Go to first unread
alysomji  
#1 Posted : Sunday, November 1, 2009 6:41:29 AM(UTC)
alysomji

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/1/2009(UTC)
Posts: 2

Hello,

I would like to draw a Keltner channel (55 EMA, 4.5 Deviations, based on 40-day ATR) around a custom indicator.

How would I go about doing this?

thanks
alysomji  
#2 Posted : Sunday, November 1, 2009 7:24:49 AM(UTC)
alysomji

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/1/2009(UTC)
Posts: 2

Here's what I'm trying to work from:

Pds1:= Input("EMA Periods?",1,100,55);
Pds2:= Input("ATR Periods?",1,100,40);
Mult:= Input("ATR Multiple?",1,10,1);
EMA:= Mov(P,Pds1,E);
Diff:= ATR(Pds2) * Mult;
UBand:= EMA + Diff;
LBand:= EMA - Diff;

Ema;
UBand;
LBand;

The name of the customer indicator is "Volume Sum"
Shanghai  
#3 Posted : Monday, November 2, 2009 5:38:28 AM(UTC)
Shanghai

Rank: Member

Groups: Registered, Registered Users
Joined: 5/11/2008(UTC)
Posts: 28

Not exactly what you are looking for but this is the formula for the Keltner Channels I use. Perhaps you can adapt if it is suitable. Mov((H+L+C)/3,22,E); Mov((H+L+C)/3,22,E) + Mov((H-L),22,E); Mov((H+L+C)/3,22,E) + (2 * Mov((H-L),22,E)); Mov((H+L+C)/3,22,E) + (3 * Mov((H-L),22,E)); Mov((H+L+C)/3,22,E) - Mov((H-L),22,E); Mov((H+L+C)/3,22,E) - (2 * Mov((H-L),22,E)); Mov((H+L+C)/3,22,E) - (3 * Mov((H-L),22,E));
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.