PureBytes Links
Trading Reference Links
|
Hi,
Thanks a lot for the information .It was very educative and helped
me a lot. I had well just about given up on the woodies and was looking
at something else but now i will take a second look.
Here is Mr Herbert's code :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Here is Woodie's CCI 14 code. In my opinion the patterns are more
suitable for short-term trading. However, I heard that he mentioned
about some other proprietary pattern/indicator.
Herbert
-----
_SECTION_BEGIN("Woodie's CCI");
//Woodies CCI, Long term CCI;
T=14;
Title = Name () + " " + FullName() + " "
+ "CCI" + " Periods:" + WriteVal(T,0);
B=Cross(CCI(T),0);
D=Cross(0,CCI(T));
COL=IIf(BarsSince(B)>4 AND CCI(T)>0,colorBrightGreen,IIf(BarsSince(D)>4
AND CCI(T)<0,colorRed,colorLightGrey)) ;
Plot(CCI(T)," ",COL,styleHistogram+styleThick);
Plot(CCI(T),"CCI 20",colorBlack,styleLine+4);
// Plot range lines
Plot(200,"",colorRed);
Plot(-200,"",colorRed);
Plot(100,"",colorBlue);
Plot(-100,"",colorBlue);
Plot(0,"",colorYellow,styleThick);
PlotGrid(50,colorGreen);
PlotGrid(-50,colorGreen);
GraphXSpace=2;
_SECTION_END();
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
This is coded by Mleonsprint:
Formula:
Title = "Woodies CCI " + " " + FullName() + " " + Date( ) ;
A=Param("CCI TURBO PERIODS",6,3,14,1);
A1=Param("CCI 14 PERIODS",14,7,20,1);
A2=ParamColor("CCI TURBO",colorBrightGreen);
A3=ParamColor("CCI 14",colorRed);
A4=CCI(A);
A5=CCI(A1);
A6=IIf(A5<0,colorBrightGreen,colorRed);
A7=IIf(Ref(A5,-5) <0 AND Ref(A5,-4) <0 AND Ref(A5,-3) <0 AND Ref(A5,-2)
<0 AND
Ref(A5,-1) <0,colorRed,A6);
A8=IIf(Ref(A5,-5) >0 AND Ref(A5,-4) >0 AND Ref(A5,-3) >0 AND Ref(A5,-2)
>0 AND
Ref(A5,-1) >0,colorBrightGreen,A7);
Plot(A5,"CCI TURBO HISTOGRAM",A8,styleHistogram);
Plot(A4,"CCI TURBO",A2,styleThick);
Plot(A5,"CCI 14",A3,styleThick);
Plot(0,"ZERO LINE",colorBlack,styleThick);
Plot(100,"HUNDRED LINE",colorBlack,styleDots);
Plot(-100,"MINUS LINE",colorBlack,styleDots);
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Coded by wring:
AFL Library
List Add formula
Details:
Formula name: CCI Woodies Style
Author/Uploader: Larry Jameson - cljameson@xxxxxxxxxxx
Date/Time added: 2004-11-16 18:13:49
Origin:
Keywords: Woodies CCI
Level: semi-advanced
Flags: indicator
Download formula file | Delete formula
Description:
This CCI chart incorporates some of the features seen on a Woodies CCI
Chart.
Formula:
///////////////////////////////
// CCI Woodies Style - Coded by Wring
// Amibroker 4.63.1
///////////////////////////////
//
// Note: Set Custom Scaling in dialog just below this dialogue box
// to Min -350, Max +350
//
// Set Background color to DarkOliveGreen
// Set Axes color to white
//
///////////////////////////////
z = CCI(14);
LSMA = LinearReg(C, 25 );
EMA34 = EMA(C,34);
Title = Interval(2) + " " + Name() + ", " + EncodeColor(colorOrange) +
"CCI 14=" + round(z) + ", " + EncodeColor(colorLightBlue) +
"CCI 6=" + round(CCI(6)) + EncodeColor(colorPink) +
"\nPrice=" + H + ", " + L + ", " + C +
EncodeColor(colorWhite) + " " + Date();
// Colour the bars for Woodies Trend Following
Plusbars = BarsSince(z < 0);
Minusbars = BarsSince(z > 0);
TrendBarCount = 5;
for( i = 0; i < BarCount; i++ )
{
if (Plusbars[i] >= TrendBarCount)
Color[i] = colorGreen;
else
if (Minusbars[i] >= TrendBarCount)
Color[i] = colorRed;
else
Color[i] = colorBlack;
}
// CCI Histogram
Plot(z,"",Color,styleHistogram | styleNoLabel);
// CCI Line
Plot(z,"CCI 14",colorWhite,styleLine | styleNoLabel | styleThick);
// Turbo CCI
Plot(CCI(6),"CCI 6",colorLightBlue,styleLine | styleNoLabel);
// zero line 25lsma
Plot(0,"",IIf(C > LSMA,colorGreen,IIf(C<LSMA,colorRed,colorBlack)),
styleThick | styleNoLabel);
// Print the price label - Note div by 1000 to position price near 0
line
Plot(Prec(C / 1000,3),"",
IIf(C >=Ref(C,-1),colorGreen,colorRed),styleNoLine);
// Set up color for the 100s, green if 34ema above red if below
Color = IIf(C>EMA34,colorGreen,
IIf(C==EMA34,colorBlack,colorRed));
// Plot the 100s
Plot(100,"",Color,styleDots |styleNoLine | styleNoLabel | styleThick);
Plot(-100,"",Color,styleDots |styleNoLine | styleNoLabel | styleThick);
// Plot the 50s
PlotGrid(50,colorTeal);
PlotGrid(-50, colorTeal);
// Plot the 200s
PlotGrid(200,colorTeal);
PlotGrid(-200,colorTeal);
// Plot the 300s
PlotGrid(-300,colorTeal);
PlotGrid(300,colorTeal);
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
I would be very much interested in your views and what if anything is
needed furthur in the above since you are already using the woodiescci
strategies and are more equipped than many to analyse.I did apply these
but since i was not too sure whether to pursue them further i didnt
study them with interest.
Thanks once again.
=====
Warm regards,
Natasha !
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
------------------------ Yahoo! Groups Sponsor --------------------~-->
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|