源码如下:直接复制就行
{涨停颜色粉色,完美区分20%10%5%,创业板20200823前10%照样变色}
BK:=IF(INBLOCK(‘科创板‘),0.2,IF(INBLOCK(‘创业板‘),0.2,IF(INBLOCK(‘ST板块‘),0.05,0.1)));
XA_1:=IF(
DATE =ZTP
RICE (REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,2.7,0),COLORFF00FF;
STICK
LINE ((C=ZTPRICE(REF(C,1),BK) AND C=H),C,O,2.7,0),COLORFF00FF;
STICKLINE((C=ZTPRICE(REF(C,1),BK) AND C=ZTPRICE(REF(CLOSE,1),0.1) AND CL) OR (LL AND XA_1=1),L,MIN(C,O),0.1,0),COLOR80FF00;{跌停后回升}
今涨停:IF(INBLOCK(‘科创板‘),REF(C,1)*1.2,IF(INBLOCK(‘创业板‘) AND XA_1=0,REF(C,1)*1.2,IF(INBLOCK(‘ST板块‘),REF(C,1)*1.05,REF(C,1)*1.1))),NODRAW;
今跌停:IF(INBLOCK(‘科创板‘),REF(C,1)*0.8,IF(INBLOCK(‘创业板‘) AND XA_1=0,REF(C,1)*0.8,IF(INBLOCK(‘ST板块‘),REF(C,1)*0.95,REF(C,1)*0.9))),NODRAW;
明涨停:IF(INBLOCK(‘科创板‘),CLOSE*1.2,IF(INBLOCK(‘创业板‘) AND XA_1=0,CLOSE*1.2,IF(INBLOCK(‘ST板块‘),CLOSE*1.05,CLOSE*1.1))),NODRAW;