DRAWTEXT_FIX(ISLASTBAR,0.01,0.01,0,STRCAT('【所属行业】:',HYBLOCK)),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.11,0.01,0,STRCAT('【所属区域】:',DYBLOCK)),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.06,0,STRCAT('【所属概念】:',GNBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.11,0,STRCAT('【所属风格】:',FGBLOCK)),COLORGREEN;
M:=3;
CC:=COST(95);
DD:=COST(5);
筹码集中度:=(CC-DD)/(CC+DD)*100,COLORCYAN,NODRAW;
穿峰:=crOSS(CLOSE,COST(85)) AND 筹码集中度<=20;
CF:=FILTERX(穿峰,5);
HLP:=COST(85);
T:=REF(HLP,1);
ZTB:=IF(INBLOCK('科创板'),1.2,IF(INBLOCK('创业板') AND DATE>1200823,1.2 ,IF(INBLOCK('ST板块'),1.05,1.095)));
DTB:=IF(INBLOCK('科创板'),0.8,IF(INBLOCK('创业板') AND DATE>1200823,0.8 ,IF(INBLOCK('ST板块'),0.95,0.9)));
涨:=(REF(C,1)*ZTB-C)*100< 0.49 AND C=H;
停:=(C-REF(C,1)*DTB)*100< 0.51 AND C=L;
STICKLINE(C>O,H,L,0,0),COLOR7D7DFF;
STICKLINE(C>O,C,O,0,0),COLOR7D7DFF;
STICKLINE(C>O,C,O,3.1,0),COLOR1313FF;
STICKLINE(C>O,C,O,2.4,0),COLOR2424FF;
STICKLINE(C>O,C,O,2.0,0),COLOR2D2DFF;
STICKLINE(C>O,C,O,1.6,0),COLOR4444FF;
STICKLINE(C>O,C,O,1.2,0),COLOR5757FF;
STICKLINE(C>O,C,O,0.6,0),COLOR6666FF;
STICKLINE(C>O,C,O,0.1,0),COLOR7D7DFF;
STICKLINE(C< O,H,L,0,0),COLORFF9900;
STICKLINE(C< O,C,O,0,0),COLORFF5500;
STICKLINE(C< O,C,O,3.1,0),COLORFF6600;
STICKLINE(C< O,C,O,2.4,0),COLORFF7700;
STICKLINE(C< O,C,O,2.0,0),COLORFF8800;
STICKLINE(C< O,C,O,1.6,0),COLORFF9900;
STICKLINE(C< O,C,O,1.2,0),COLORFFAA00;
STICKLINE(C< O,C,O,0.6,0),COLORFFCC00;
STICKLINE(C< O,C,O,0.1,0),COLORFFFF00;
STICKLINE(停,H,L,0,1), COLOR00FF00;
STICKLINE(停,C,O,3.2,0),COLOR00FF00;
STICKLINE(涨,H,L,0,1),COLORMAGENTA;
STICKLINE(涨,C,O,3.2,0),COLORMAGENTA;
STICKLINE(CF,T,T*1.002,18,0),COLORYELLOW;
DRAWICON(CF,L,9);