PureBytes Links
Trading Reference Links
|
Jack, there are a few possible permutations of Keltner/Bollinger band
excursions. Try this indicator to help visualize it:
=========================
Keltner & Bollinger Bands
=========================
---8<--------------------
{ ©Copyright 2004 Jose Silva }
{ For personal use only }
{ http://users.bigpond.com/prominex/pegasus.htm }
{ User inputs }
pds:=Input("Keltner/Bollinger Bands periods",
1,252,10);
dev:=Input("Bollinger Bands deviation",
.001,10,1);
plot:=Input("[1]Keltner, [2]Bollinger, [3]Keltner+Bollinger",1,3,3);
{ Keltner bands }
KBtop:=Mov(Typ(),pds,S)+Mov((H-L),pds,S);
KBmid:=Mov(Typ(),pds,S);
KBbot:=Mov(Typ(),pds,S)-Mov((H-L),pds,S);
KBwidth:=KBtop-KBbot;
KBwidthAvg:=Cum(KBwidth)/Cum(KBwidth>-1);
{ Bollinger bands }
BBtop:=BBandTop(C,pds,S,dev);
BBmid:=Mov(C,pds,S);
BBbot:=BBandBot(C,pds,S,dev);
{ Plot on price chart }
If(plot=1,KBtop,BBtop);
If(plot=1,KBmid,If(plot=2,BBmid,KBtop));
If(plot=1,KBbot,BBbot);
If(plot=1,KBbot,If(plot=2,BBbot,KBbot))
---8<--------------------
jose '-)
--- In equismetastock@xxxxxxxxxxxxxxx, Jack Wiley <yleekyot47@xxxx>
wrote:
>
> I am looking to create or maybe its already created,
> an indicator to show when the bolinger bands are
> inside and outside of the Keltner channel.
>
> Thank you,
>
> Jack
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|