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

Keltner Graph



PureBytes Links

Trading Reference Links


Here is an improved code for Keltner 
Bands.
Emphasis to short(RED) and long(GREEN) 
trends.
 
maxgraph = 
7;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;GRAPH5=OUT;GRAPH5STYLE=2;GRAPH5BARCOLOR=IIF(C<KDOWN,4,0);GRAPH6=1.05*OUT;GRAPH6STYLE=2;GRAPH6BARCOLOR=IIF(C>KUP,5,0);GRAPHXSPACE=0.5;GRAPH4=0.95*C;GRAPH4STYLE=2;GRAPH4BARCOLOR=0;
 
P. S. Shall we have arrows on a graph in the future 
?
 
Dimitris Tsokakis