同花顺简结图主图指标
-
相关简介:同花顺简结图主图指标 源码 大盘指数:INDEXC,NODRAW,COLORLIMAGENTA ; 大盘指数涨跌:=(大盘指数-REF(大盘指数,1)),NODRAW; STICKLINE(C=O,C,O,10,0),Color00BFBF; STICKLINE(C=O,C,O,6,0),Color00F0F0; STICKLINE(C=O,C,O,4,0),Color2DFFFF; STICKLINE(C=O,H,L,0,0),Color2DFFFF; STICKLINE(C=O,H,L,0,
-
文章来源:股海网作者:股海网发布时间:2016-04-02浏览次数:
同花顺简结图主图指标
源码
大盘指数:INDEXC,NODRAW,COLORLIMAGENTA ;
大盘指数涨跌:=(大盘指数-REF(大盘指数,1)),NODRAW;
STICKLINE(C>=O,C,O,10,0),Color00BFBF;
STICKLINE(C>=O,C,O,6,0),Color00F0F0;
STICKLINE(C>=O,C,O,4,0),Color2DFFFF;
STICKLINE(C>=O,H,L,0,0),Color2DFFFF;
STICKLINE(C<=O,H,L,0,0),Color2DFF2D;
STICKLINE(C<=O,C,O,10,1),Color00BF00;
STICKLINE(C<=O,C,O,8,1),Color00F200;
STICKLINE(C<=O,C,O,4,1),Color2DFF2D;
C3:=REF(C,1);
涨停:IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0),Color2D2DFF;
STICKLINE(涨停,OPEN,CLOSE,10,0),Color0000BF;
STICKLINE(涨停,OPEN,CLOSE,8,0),Color0000F2;
STICKLINE(涨停,OPEN,CLOSE,4,0),Color2D2DFF;
跌停:IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0),ColorFFFFFF;
STICKLINE(跌停,OPEN,CLOSE,10,0),ColorD0D0D0;
STICKLINE(跌停,OPEN,CLOSE,8,0),ColorF7F7F7;
STICKLINE(跌停,OPEN,CLOSE,4,0),ColorFFFFFF;
BBI:="BBI";
B:='--------';
DRAWTEXT(VOL=HHV(VOL,13),C ,B),LINETHICK2,ColorFFFFFF;
中轴线:=(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),ColorFF26FF;
支撑:LLV(L,20),ColorFFFFFF;
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,'▲'),ColorFF26FF;