[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Keltner Bands



PureBytes Links

Trading Reference Links

You can paste this in your price chart, right click - edit- paste 
above //indicator end. Remove BBands from preferences and you now 
have keltner channels.





// Keltner Channels are constructed similar to Bollinger Bands
// around a moving average +/- volatility.
// The difference is in the measurement of volatility. 
// Bollinger uses standard deviation. MA(Close,20) +/- #STDs
// Keltner uses ATR (Average True Range). MA(Close,20) +/- #ATRs
// Keltner channels may be easier to use for detecting oversold / 
overbought conditions



Length = 20; Num_ATRs = 2;
// Length and Num_ATRs parameters should be personalized for your 
preferred settings.

Mov_Avg = MA(C,Length);
KUP   = Mov_Avg + Num_ATRs * ATR(Length);
KDOWN = Mov_Avg - Num_ATRs * ATR(Length);


Plot (KUP,"KUP",1,1);
Plot (KDown,"Kdown",1,1);
Plot (Mov_Avg,"Mov_Avg",6,1);




--- In amibroker@xxxxxxxxxxxxxxx, "ross_pearlstone" 
<ross_pearlstone@xxxx> wrote:
> I am a new user of AB and am so far very impressed with the 
product. 
> However, I was wondering if there are any plans to include Keltner 
> bands in future releases?
> 
> If not, does anyone know the formula and perhaps I could code them 
> myself.
> 
> Thanks.
> 
> Ross


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/