通达信马年红绿灯指标公式
2020/6/29 18:26:33
说明:买红绿粉灯同时亮的股票.
底部:=(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;
看股吧 公式 www.kanguba .com
其它股票公式列表