:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;底部价:=COST(底部),COLORYELLOW,DOTLINE;:=100-底部;顶部成本价:=COST(顶部),COLORGREEN,DOTLINE;:=(底部+顶部)/2;均值成本:=COST(均值),COLORRED,LINETHICK1,DOTLINE;JJ:=A(均值成本/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)