in Search

How to Draw a Keltner Channel on a Custom Indicator?

Last post 11-02-2009, 5:38 by Shanghai. 2 replies.
Sort Posts: Previous Next
  •  11-01-2009, 6:41 31062

    How to Draw a Keltner Channel on a Custom Indicator?

    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
  •  11-01-2009, 7:24 31063 in reply to 31062

    Re: How to Draw a Keltner Channel on a Custom Indicator?

    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"
  •  11-02-2009, 5:38 31074 in reply to 31063

    Re: How to Draw a Keltner Channel on a Custom Indicator?

    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));
View as RSS news feed in XML