涨跌停炸板K线 通达信主图指标 源码 贴图
涨跌停炸板K线 通达信主图指标 源码 贴图
{涨跌停炸板K线}
涨板:=IFF(NAMEINCLUDE('*')||NAMEINCLUDE('*S')||NAMEINCLUDE('ST'),
C>=ZTPRICE(REF(C,1),0.05) AND C=H AND H>0,
IFF((DATE>=1200824 AND FINANCE(3)=3)||FINANCE(3)=4,
C>=ZTPRICE(REF(C,1),0.20) AND C=H AND H>0,
C>=ZTPRICE(REF(C,1),0.10) AND C=H AND H>0));
跌板:=IFF(NAMEINCLUDE('*')||NAMEINCLUDE('*S')||NAMEINCLUDE('ST'),
C<=DTPRICE(REF(C,1),0.05) AND C=L AND L>0,
IFF((DATE>=1200824 AND FINANCE(3)=3)||FINANCE(3)=4,
C<=DTPRICE(REF(C,1),0.20) AND C=L AND L>0,
C<=DTPRICE(REF(C,1),0.10) AND C=L AND L>0));
{ 出现过涨停 }
EZT:IFF(NAMEINCLUDE('*')||NAMEINCLUDE('*S')||NAMEINCLUDE('ST'),
H>=ZTPRICE(REF(CLOSE,1),0.05) AND C!=ZTPRICE(REF(CLOSE,1),0.05) AND H!=L AND H>0,
IFF((DATE>=1200824 AND FINANCE(3)=3)||FINANCE(3)=4,
H>=ZTPRICE(REF(CLOSE,1),0.20) AND C!=ZTPRICE(REF(CLOSE,1),0.20) AND H!=L AND H>0,
H>=ZTPRICE(REF(CLOSE,1),0.10) AND C!=ZTPRICE(REF(CLOSE,1),0.10) AND H!=L AND H>0)) NODRAW;
{ 出现过跌停 };
EDT:IFF(NAMEINCLUDE('*')||NAMEINCLUDE('*S')||NAMEINCLUDE('ST'),
L<=DTPRICE(REF(CLOSE,1),0.05) AND C!=DTPRICE(REF(CLOSE,1),0.05) AND H!=L AND L>0,
IFF((DATE>=1200824 AND FINANCE(3)=3)||FINANCE(3)=4,
L<=DTPRICE(REF(CLOSE,1),0.20) AND C!=DTPRICE(REF(CLOSE,1),0.20) AND H!=L AND L>0,
L<=DTPRICE(REF(CLOSE,1),0.10) AND C!=DTPRICE(REF(CLOSE,1),0.10) AND H!=L AND L>0)) NODRAW;
DRAWKLINE(H,O,L,C);
STICKLINE(涨板,O,C,3.0,0),COLOR0099FF;
STICKLINE(涨板,O,C,2.0,0),COLOR33BBFF;
STICKLINE(涨板,O,C,0.5,0),COLOR55DDFF;
STICKLINE(涨板,O,C,0.0,0),COLOR99FFFF;
STICKLINE(跌板,O,C,3.0,0),COLOR00AA00;
STICKLINE(跌板,O,C,2.0,0),COLOR00CC00;
STICKLINE(跌板,O,C,0.5,0),COLOR00EE00;
STICKLINE(跌板,O,C,0.0,0),COLOR00FF00;
{WWW.GPXIAZAI.COM}
STICKLINE(EZT,O,C,3.0,0),COLOREE1100;
STICKLINE(EZT,O,C,2.0,0),COLOREE4400;
STICKLINE(EZT,O,C,0.5,0),COLORFF7700;
STICKLINE(EZT,O,C,0.0,0),COLORFFFF00;
STICKLINE(EDT,C,O,3.0,0),COLOR999999;
STICKLINE(EDT,C,O,2.0,0),COLORBBBBBB;
STICKLINE(EDT,C,O,0.5,0),COLORDDDDDD;
STICKLINE(EDT,C,O,0.0,0),COLORFFFFFF;