以下是同花顺简结图主图指标

同花顺简结图主图指标

源码

大盘指数:INDEXC,NODRAW,COLORLIMAGENTA ;
大盘指数涨跌:=(大盘指数-REF(大盘指数,1)),NODRAW;
STICKLINE(C>=O,C,O,10,0),Culor00BFBF;
STICKLINE(C>=O,C,O,6,0),Culor00F0F0;
STICKLINE(C>=O,C,O,4,0),Culor2DFFFF;
STICKLINE(C>=O,H,L,0,0),Culor2DFFFF;

STICKLINE(C<=O,H,L,0,0),Culor2DFF2D;
STICKLINE(C<=O,C,O,10,1),Culor00BF00;
STICKLINE(C<=O,C,O,8,1),Culor00F200;
STICKLINE(C<=O,C,O,4,1),Culor2DFF2D;

C3:=REF(C,1);
涨停:IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0),Culor2D2DFF;
STICKLINE(涨停,OPEN,CLOSE,10,0),Culor0000BF;
STICKLINE(涨停,OPEN,CLOSE,8,0),Culor0000F2;
STICKLINE(涨停,OPEN,CLOSE,4,0),Culor2D2DFF;

跌停:IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0),CulorFFFFFF;
STICKLINE(跌停,OPEN,CLOSE,10,0),CulorD0D0D0;
STICKLINE(跌停,OPEN,CLOSE,8,0),CulorF7F7F7;
STICKLINE(跌停,OPEN,CLOSE,4,0),CulorFFFFFF;

BBI:=”BBI”;
B:=’——–‘;
DRAWTEXT(VOL=HHV(VOL,13),C ,B),LINETHICK2,CulorFFFFFF;
中轴线:=(MA(CLOSE,2)+MA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/4,LINETHICK2,coloryellow;
PARTLINE(中轴线,中轴线>REF(中轴线,1),RGB(250,10,250),中轴线<=REF(中轴线,1),RGB(10,250,250)),LINETHICK2;
A0:=(L+H+C*2)/4;
安全线:EMA(A0,18),LINETHICK2,colorred;
压力:HHV(C,20),CulorFF26FF;
支撑:LLV(L,20),CulorFFFFFF;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
低吸:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(低吸=1,5),LOW-0.19,’▲’),CulorFF26FF;

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