新旧涨跌停幅度标识 完美涨跌停 通达信主图指标 源码 贴图
新旧规则下完美涨跌停,源码,5日,5%,10%,20%
涨幅20:=(CODELIKE('688') OR (CODELIKE('300') AND DATE =1200823));BARPOS:=BARSCOUNT(CLOSE)+1;
ZT:=IF(NAMELIKE('S') OR NAMELIKE('*'),105,IF(涨幅20,IF(BARPOS 5,120,DRAWNULL),110));
昨收:=REF(C,1);
ZTJ:=昨收*ZT;
涨停:=ROUND(H*100) =ROUND(ZTJ) AND PERIOD=5;
DT:=IF(NAMELIKE('S') OR NAMELIKE('*'),95,IF(涨幅20,IF(BARPOS 5,80,DRAWNULL),90));
DTJ:=昨收*DT;
跌停:=ROUND(L*100) =ROUND(DTJ) AND PERIOD=5;
DRAWTEXT(涨停 AND 跌停 AND PERIOD=5,L-0.05,'天地板'),COLORCC00CC;{从跌停到涨停}{www.9m8.cn 九毛八公式指标网}
STICKLINE(涨停 AND C =O,O,C,3,0 ),COLORWHITE;
STICKLINE(涨停 AND C =O,O,L,0,0 ),COLORWHITE;
STICKLINE(涨停 AND C =O,C,H,0,0 ),COLORWHITE;
STICKLINE(跌停 AND C O,H,L,0,0 ),COLORGREEN;
STICKLINE(跌停 AND C O,O,C,3,0 ),COLORGREEN;