Page 1 of 1

PS CCI Commodities Channel Index

Posted: Fri Jul 29, 2016 1:42 pm
by henry1224
under the Parameters Tab

N Double 14 3 100

Here is the code

A1:="CCI(N)[CCI]";
a:=A1 <-200;
b:=A1>200;
Long:BarsSince(A)<BarsSince(B),ColorGreen;
Short:BarsSince(A)>BarsSince(B),ColorRed;
FillRgn(Long>0,0,Long),Brush#50008000;
FillRgn(Short>0,0,Short),Brush#50800000;