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

Re: [amibroker] KELTNER BANDS



PureBytes Links

Trading Reference Links

I have tried to use the Keltner Bands that you have posted recently.
In my graph I obtain some red vertical lines.
Is it normal ? If yes what is their meaning ?

Regards

Bernard Bourée
bernard@xxxx
----- Original Message ----- 
From: DIMITRIS TSOKAKIS 
To: amibroker@xxxxxxxxxxxxxxx 
Sent: Tuesday, May 29, 2001 8:54 PM
Subject: [amibroker] KELTNER BANDS


KELTNER BANDS

were first introduced in the book How To Make Money in Commodities, 
by Chester W. Keltner and is an envelope following price movements.
Using them we can have m o v i n g support and resistance lines 
continuously, not only when and if a straight line exists.
With Amibroker built-in functions Keltner Bands are easily 
impemented :

KUP=EMA((H+L+C)/3,10)+EMA(H-L,10);
KDOWN=EMA((H+L+C)/3,10)-EMA(H-L,10);

AN APPLICATION
When price crosses its support KDOWN it is better (for long 
positions) to stay out of the market until a promising cross takes 
place. This is emphasized in the following AFL code :

maxgraph = 5;
KUP=EMA((H+L+C)/3,10)+EMA(H-L,10);
KDOWN=EMA((H+L+C)/3,10)-EMA(H-L,10);
graph1 = KUP;
graph0 = close;
GRAPH2=EMA((H+L+C)/3,10);
graph2style=1;
graph3 =KDOWN;
graph0barcolor=1;
graph2barcolor=3;
graph3barcolor=3;
graph1barcolor=3;
OUT=C;
GRAPH4=OUT;
GRAPH4STYLE=2;
GRAPHXSPACE=0.5;
GRAPH4BARCOLOR=IIF(C<KDOWN,15,0);

For a simple trading system you may add

BUY=CROSS(C,KDOWN);
SELL=CROSS(KUP,C);

Dimitris Tsokakis



Yahoo! Groups Sponsor 
       
       

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------=_NextPart_001_0024_01C10703.355F0300
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dimitris</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have tried to use the Keltner Bands thatyou have 
posted recently.</FONT></DIV>
<DIV><FONT face=Arial size=2>In my graph I obtain some red vertical 
lines.</FONT></DIV>
<DIV><FONT face=Arial size=2>Is it normal ? If yes what is their meaning 
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>Bernard Bourée<BR><A 
href="mailto:bernard@xxxx";>bernard@xxxx</A></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV 
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
<A title=TSOKAKIS@xxxx href="mailto:TSOKAKIS@xxxx";>DIMITRIS 
TSOKAKIS</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=amibroker@xxxxxxxxxx 
href="mailto:amibroker@xxxxxxxxxxxxxxx";>amibroker@xxxxxxxxxxxxxxx</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, May 29, 2001 8:54 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [amibroker] KELTNER BANDS</DIV>
<DIV><BR></DIV><TT>KELTNER BANDS<BR><BR>were first introduced in the bookHow 
To Make Money in Commodities, <BR>by Chester W. Keltner and is an envelope 
following price movements.<BR>Using them we can have m o v i n g support and 
resistance lines <BR>continuously, not only when and if a straight line 
exists.<BR>With Amibroker built-in functions Keltner Bands are easily 
<BR>impemented 
:<BR><BR>KUP=EMA((H+L+C)/3,10)+EMA(H-L,10);<BR>KDOWN=EMA((H+L+C)/3,10)-EMA(H-L,10);<BR><BR>AN 
APPLICATION<BR>When price crosses its support KDOWN it is better (for long 
<BR>positions) to stay out of the market until a promising cross takes 
<BR>place. This is emphasized in the following AFL code :<BR><BR>maxgraph= 
5;<BR>KUP=EMA((H+L+C)/3,10)+EMA(H-L,10);<BR>KDOWN=EMA((H+L+C)/3,10)-EMA(H-L,10);<BR>graph1 
= KUP;<BR>graph0 = 
close;<BR>GRAPH2=EMA((H+L+C)/3,10);<BR>graph2style=1;<BR>graph3 
=KDOWN;<BR>graph0barcolor=1;<BR>graph2barcolor=3;<BR>graph3barcolor=3;<BR>graph1barcolor=3;<BR>OUT=C;<BR>GRAPH4=OUT;<BR>GRAPH4STYLE=2;<BR>GRAPHXSPACE=0.5;<BR>GRAPH4BARCOLOR=IIF(C&lt;KDOWN,15,0);<BR><BR>For 
a simple trading system you may 
add<BR><BR>BUY=CROSS(C,KDOWN);<BR>SELL=CROSS(KUP,C);<BR><BR>Dimitris 
Tsokakis<BR><BR><BR></TT><BR><BR><TT>Your 
use of Yahoo! Groups is subject to the <A 
href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service</A>.</TT> 
<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_001_0024_01C10703.355F0300--

Attachment:
jpg00008.jpg

Attachment: Description: "Description: JPEG image"