SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));倍量:=VOL/REF(VOL,1)>=1.9;突破前高:=CROSS(C,前高);選股:倍量 AND 突破前高;DRAWGBK(C>1,RGB(0,0,0),RGB(1,1,1),1,0,0);DRAWKLINE(H,O,L,C);BK:=IF(INBLOCK('科創(chuàng)板'),0.2,IF(INBLOCK('創(chuàng)業(yè)板'),0.2,IF(INBLOCK('ST板塊'),0.05,0.1))); ZTBTJ1:=C>=MAX((INTPART(REF(C,1)*1.1*100)/100),ZTPRICE(REF(C,1),BK)); ZTBTJ2:=C>=(INTPART(REF(C,1)*1.05*100)/100);漲停提示:=IF(NAMELIKE('ST') OR NAMELIKE('*') OR NAMELIKE('SS') OR NAMELIKE('S'),ZTBTJ2,ZTBTJ1);STICKLINE(IF(CODELIKE('999') OR CODELIKE('399') OR CODELIKE('880') OR NAMELIKE('超大盤'),DRAWNULL, 漲停提示 AND PERIOD=5 AND O!=H),C,O,3,0),COLORMAGENTA;MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;IF(主力>=REF(主力,1),主力,DRAWNULL),COLORRED;IF(主力<=REF(主力,1),主力,DRAWNULL),COLORGREEN; |
|