以下是大智慧用在读解Woodies CC主图 源码

大智慧用在读解Woodies CC主图 源码

 

西电老师的【解读Woodies CC】很有可取之处.没经过老师同意我加进了我看需要的内容.但是不矛盾.希望老师见谅.有不当的地方还请指正.再此谢谢西电老师.本公式用于大智慧:———–
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
XD:=CROSS(CCI,3);
XG:=((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,14))/(0.015*AVEDEV((HIGH+LOW+CLOSE)/3,14));
CD1:=IF(REF(XG,1)<-99 AND XG>-98,1,0);
CD2:=IF(REF(CD1,1)=1 AND XG>-50,1,0);
CD3:=IF(REF(CD1,2)=1 AND XG>-50 AND REF(XG,1)>-50,1,0);
CD4:=IF(REF(CD1,3)=1 AND XG>-50 AND REF(XG,1)>-50,1,0);
CD5:=IF(REF(CD1,4)=1 AND XG>-50 AND REF(XG,1)>-50 AND REF(XG,2)>-50,1,0);

STICKLINE(XD,L*0.99,L*0.98,6,0),LINETHICK1,COLOR00ff00;
STICKLINE(XD,L*0.99,L*0.98,4,0),LINETHICK1,COLOR0055ff;
STICKLINE(XD,L*0.99,L*0.98,2,0),LINETHICK1,COLOR00ffff;

STICKLINE(CD1,L*0.99,L*0.98,6,0),LINETHICK1,COLOR99ff00;
STICKLINE(CD1,L*0.99,L*0.98,4,0),LINETHICK1,COLOR55ff00;
STICKLINE(CD1,L*0.99,L*0.98,2,0),LINETHICK1,COLOR00ffff;

STICKLINE(CD2,L*0.99,L*0.98,6,0),LINETHICK1,COLOR0044ff;
STICKLINE(CD2,L*0.99,L*0.98,4,0),LINETHICK1,COLOR0055ff;
STICKLINE(CD2,L*0.99,L*0.98,2,0),LINETHICK1,COLOR00ffff;

STICKLINE(CD3,L*0.99,L*0.98,6,0),LINETHICK1,COLOR0000ff;
STICKLINE(CD3,L*0.99,L*0.98,4,0),LINETHICK1,COLOR5555ff;
STICKLINE(CD3,L*0.99,L*0.98,2,0),LINETHICK1,COLOR00ffff;

STICKLINE(CD4,L*0.99,L*0.98,6,0),LINETHICK1,COLOR55ff00;
STICKLINE(CD4,L*0.99,L*0.98,4,0),LINETHICK1,COLOR22ff00;
STICKLINE(CD4,L*0.99,L*0.98,2,0),LINETHICK1,COLOR00ffff;

STICKLINE(CD3,L*0.99,L*0.98,6,0),LINETHICK1,COLOR0000ff;
STICKLINE(CD3,L*0.99,L*0.98,4,0),LINETHICK1,COLOR00ff00;
STICKLINE(CD5,L*0.99,L*0.98,2,0),LINETHICK1,COLOR00ffff;

DRAWTEXT(CROSS(-100,CCI) AND CCI<REF(CCI,1),L,’★===股价上线同时CCI大于0方可买入===’),COLORWHITE;
DRAWTEXT(CROSS(200,CCI) AND CCI<REF(CCI,1),L,’◆■■■强势反转,破位止盈■■■’),COLORYELLOW;
DRAWTEXT(CROSS(100,CCI) AND CCI<REF(CCI,1),L,’◢分批卖◣’),COLORGREEN;

重心:(2*C+H+L+O/2)/4.5,COLOR00FFFF,LINETHICK0;
M心5:=WMA(重心,5);
PARTLINE(M心5,M心5>REF(M心5,1),rgb(255,0,0),M心5<=REF(M心5,1),rgb(0,255,0) ),LINETHICK2,LAYER3;
 

XL:=BARSLAST(DISPSTATUS=1)+1;
E:=llvall(llv(L,XL))*0.95;
DRAWTEXTABS(350,5,’指标:CCI’),Culor00ffff,LINETHICK4;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),Culor05FF00,LINETHICK0;;
STICKLINE(CCI>0,E+CCI/500,E,4,0),Culor0077FF;
STICKLINE(CCI<0,E+CCI/500,E,4,0),CulorFF9900;
 

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。