底部:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
底部成本价:=COST(底部),COLORYELLOW,DOTLINE;
顶部:=100-底部;
顶部成本价:=COST(顶部),COLORGREEN,DOTLINE;
均值:=(底部+顶部)/2;
均值成本:=COST(均值),COLORRED,LINETHICK1,DOTLINE;
JJ:=Abs(均值成本/C-1);
DD:=DMA(CLOSE,JJ),LINETHICK2,COLORRED;
JJ1:=ABS(底部成本价/C-1);
DD1:=DMA(CLOSE,JJ1),LINETHICK2,COLORYELLOW;
JJ2:=ABS(顶部成本价/C-1);
DD2:=DMA(CLOSE,JJ2),LINETHICK2,COLORWHITE;
STICKLINE(DD1 >= REF(DD1,1),3,2.1,0,0),COLOR009900;
STICKLINE(DD1 >= REF(DD1,1),3,2.1,3.2,0),COLOR009900;
STICKLINE(DD1 >= REF(DD1,1),3,2.1,2.5,0),COLOR00BB00;
STICKLINE(DD1 >= REF(DD1,1),3,2.1,1.5,0),COLOR00DD00;
STICKLINE(DD1 >= REF(DD1,1),3,2.1,0.5,0),COLOR00FF00;
STICKLINE(DD1 >= REF(DD1,1),3,2.1,0,0),COLORFFFFFF;
STICKLINE(DD >= REF(DD,1),2,1.1,3.2,0),COLOR000066;
STICKLINE(DD >= REF(DD,1),2,1.1,2.0,0),COLOR000077;
STICKLINE(DD >= REF(DD,1),2,1.1,1.5,0),COLOR000099;
STICKLINE(DD >= REF(DD,1),2,1.1,0.9,0),COLOR0000CC;
STICKLINE(DD >= REF(DD,1),2,1.1,0.5,0),COLOR0000FF;
STICKLINE(DD >= REF(DD,1),2,1.1,0,0),COLORFFFFFF;
STICKLINE(DD2 >= REF(DD2,1),1,0,3.2,0),COLORFF77FF;
STICKLINE(DD2 >= REF(DD2,1),1,0,2.7,0),COLORFF33FF;
STICKLINE(DD2 >= REF(DD2,1),1,0,2.1,0),COLORFF55FF;
STICKLINE(DD2 >= REF(DD2,1),1,0,1,6),COLORFF77FF;
STICKLINE(DD2 >= REF(DD2,1),1,0,0.8,0),COLORFF99FF;
STICKLINE(DD2 >= REF(DD2,1),1,0,0.5,0),COLORFFBBFF;
STICKLINE(DD2 >= REF(DD2,1),1,0,0.1,0),COLORFFddfF;

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