C22:=REF(C,1); ZT:=IF((C-C22)*100/C22>=(10-0.01*100/C22),1,0); LG:=TOPRANGE(VOL); FZG:=H/REF(L,60)< 1.6 AND H/REF(L,20)< 1.5 AND H/REF(L,4)< 1.3 AND H/REF(L,10)< 1.5 AND COUNT(ZT,5)<=3 AND COUNT(ZT,50)<=5; ZLC:=O/REF(C,1)>1.07 AND C< O AND LG>60 AND FZG; BGY:=REF(ZT,1) AND O/REF(C,1)>1.01 AND C< O AND LG>60 AND FZG; BGYY:=REF(ZT,1) AND H/REF(C,1)>1.07 AND C>O AND LG>100 AND FZG; EBY:=O/REF(C,1)>1.01 AND C< O AND V< REF(V,1) AND REF(ZT,1) AND FZG; HF:=C=H AND C/REF(C,1)>1.095 AND C=O AND L< C; TZBS31:= REF(HF,1) AND V <= 0.7*REF(V,1); BGS31:= REF(V=HHV(V,100),1) AND REF(C,1) > REF(C,2) AND V <= 0.7*REF(V,1); BBZTS31:= REF(ZT,2) AND REF(V,2) >= 2* REF(V,3) AND REF(ZT,1) AND REF(V,1) >= 2* REF(V,2) AND REF(V=HHV(V,60),1) AND V <= 0.7*REF(V,1); BLZT:= REF(ZT,1) AND REF(V,1) >= REF(V,2)*2 AND REF(V=HHV(V,30),1) AND V<= 0.5*REF(V,1); ZTBGS31:= REF(ZT,2) AND REF(V=HHV(V,100),1) AND V <= 0.7*REF(V,1); DRAWICON(ZTBGS31 OR BBZTS31 OR BGS31 OR TZBS31 OR HF OR ZLC OR BGY OR BGYY OR EBY OR BLZT,H*1.015,9),COLORRED; 均價(jià):AMOUNT/VOL/100,NODRAW,COLORYELLOW; BK:=IF(INBLOCK('科創(chuàng)板'),0.2,IF(INBLOCK('創(chuàng)業(yè)板'),0.2,IF(INBLOCK('ST板塊'),0.05,0.1))); STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),C,O,2.7,0),COLORFF00FF; STICKLINE((C<=DTPRICE(REF(C,1),BK) AND C=L),C,O,2.7,0),COLOR00BF00; TC:=NOT(INBLOCK('創(chuàng)業(yè)板')) AND NOT(INBLOCK('科創(chuàng)板')); LB10:=H>=REF(C,1)*1.085 AND C< REF(C,1)*1.11 AND C< H AND TC; STICKLINE(LB10,H,MAX(O,C),0.02,0),COLORFF00FF; QB10:=C*1.085< REF(C,1) AND C*1.13>REF(C,1) AND C>L AND TC; STICKLINE(QB10,L,MIN(O,C),0.02,0),COLORFF8000; LB20:=H>REF(C,1)*1.196 AND C< REF(C,1)*1.22 AND C< H; STICKLINE(LB20,H,MAX(O,C),0.02,0),COLORFF00FF; QB20:=C*1.192< REF(C,1)AND C*1.26>REF(C,1) AND C>L; STICKLINE(QB20,L,MIN(O,C),0.02,0),COLORFF8000; 向上跳空:=MIN(C,O)>REF(MAX(C,O),1); 明日漲停參考:C*1.1,NODRAW,COLORYELLOW; 明日創(chuàng)業(yè)漲停:C*1.2,NODRAW,COLORYELLOW; STICKLINE(向上跳空=1,O,C,0.4,0),COLORYELLOW; HS:=VOL/CAPITAL*100; 換手比:HS/REF(HS,1),NODRAW,COLORFF00FF; 三一:MAX(O,C)-ABS(O-C)/3,NODRAW,COLORYELLOW; 二一:(O+C)/2,NODRAW,COLORYELLOW; 三二:MIN(O,C)+ABS(O-C)/3,NODRAW,COLORYELLOW; 虛31:MAX(H,L)-(H-L)/3,NODRAW,COLORYELLOW; 虛21:(L+H)/2,NODRAW,COLORYELLOW; 虛32:MIN(H,L)+(H-L)/3,NODRAW,COLORYELLOW; AA11:=(REFXV(C,1)+REFXV(C,2)+REFXV(C,3))/3>MAX(O,C) ; 高于實(shí)頂:IF(AA11,1,0),COLORYELLOW,NODRAW; T11:=CONST(LLVBARS(L,10)); T11H:=CONST(REF(H,T11)); CC:=CONST(CURRBARSCOUNT); T12:=CONST(BARSLAST(CURRBARSCOUNT>CC+T11 AND H>T11H)); T12H:=CONST(REF(H,T12)); T13:=CONST(BARSLAST(CURRBARSCOUNT>CC+T12 AND H>T12H)); T13H:=CONST(REF(H,T13)); 所屬板塊:=STRCAT('所屬板塊: ',STRCAT(STRCAT(STRCAT(' 【行業(yè)】:',HYBLOCK),STRCAT(' 【地域】:',DYBLOCK)),STRCAT(' 【概念】:',GNBLOCK))); DRAWTEXT_FIX(O>0,0,0.00,0,所屬板塊),COLORYELLOW; DRAWTEXT_FIX(O>0,0,0.05,0,'同花順概念:'); DRAWTEXT_FIX(O>0,0.08,0.05,0,EXTERNSTR(0,1)),COLORFF00FF; 自由流通市值:=STRCAT(STRCAT('自由流通市值:', CON2STR(C*FINANCE(46)/100000000,2)),'億'); DRAWTEXT_FIX(O>0,0,0.09,0,自由流通市值),COLORYELLOW; 一字板:=L=H AND (C+0.005-REF(C,1))/REF(C,1)*100>=10; STICKLINE(一字板,REF(C,1),C,2.8,-1),COLORFFEEBB; 收陰:=O>C AND (O-C)/O>0.04; 收陽(yáng):=O< C AND (C-O)/O>0.04; 實(shí)體大于4%:=IF(O>C,收陰,收陽(yáng)); STICKLINE(實(shí)體大于4%,二一,二一,2,0),COLORGRAY; TK:=C>O AND O>=REF(MAX(C,O),1)+0.01 OR O>=REF(C,1)+0.01 ; STICKLINE(TK, O,(C-O)*0.01+O,3,0),COLORYELLOW; GLT:=CONST(HHVBARS(V,高量天數(shù))); 高量頂:=IF(CURRBARSCOUNT<=GLT+1,CONST(REF(MAX(C,O),GLT)),DRAWNULL); 高量底:=IF(CURRBARSCOUNT<=GLT+1,CONST(IF((REF(MAX(C,O),GLT)-REF(MIN(C,O),GLT))/REF(O,GLT)<=0.033,REF(L,GLT),REF(MIN(C,O),GLT))),DRAWNULL); STICKLINE(高量底,高量底,高量底,5,0),COLORGREEN; STICKLINE(高量頂,高量頂,高量頂,5,0),COLORRED; DRAWTEXT(ISLASTBAR,高量頂,STRCAT(' ','安全線')),COLORRED; DRAWTEXT(ISLASTBAR,高量底,STRCAT(' ','保命線')),COLORGREEN;
|