M1:=5;M2:=10;M3:=20;DRAWGBK(O>C,RGB(110,35,120),RGB(0,25,50),0,'0',0);DRAWKLINE(HIGH,OPEN,LOW,CLOSE);DRAWKLINE(H,O,L,C);{主题概念}Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,STRCAT(Z3,GNBLOCK)),COLORCYAN;{带状线}DRAWBAND(MA(CLOSE,3),RGB(155,50,50),MA(CLOSE,5),RGB(0,91,0));DRAWBAND(MA(CLOSE,13),RGB(100,50,100),MA(CLOSE,15),RGB(0,0,180));DRAWKLINE(H,O,L,C);{}红:MA(CLOSE,3),COLORBBBBBB{MA3};绿:MA(CLOSE,5),COLORYELLOW{MA5};AA:=红>绿;紫:MA(CLOSE,13),COLORFF00CC{MA13};蓝:MA(CLOSE,15),COLORABFF46{MA15};BB:=紫>蓝;军号:=MA(CLOSE,20)COLOR3399CC,NODRAW;台阶线:MA(CLOSE,30),NODRAW;台阶线1:STICKLINE(C>台阶线,台阶线,台阶线-0.01,3,0)COLOR3399CC;台阶线2:STICKLINE(C<台阶线,台阶线,台阶线-0.01,3,0)COLOR3399CC;{}N1:=6;MTM:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1);买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);STICKLINE(FILTER(买1=1,5),C,O,1,0),COLORRED;DRAWICON(FILTER(卖1=1,1),H*1.06,15),COLOR00FF00;STICKLINE(FILTER(卖1=1,1),C,O,1,0),COLOR00FF00;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;BDGD:=HHV(J,2)=HHV(J,8) AND J>80;注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);DRAWTEXT(注意 AND 卖1<1,HIGH*1.01,'J'),COLOR00FF00,LINETHICK3;STICKLINE(注意 AND 卖1<1,O,CLOSE,1,0),COLORYELLOW,LINETHICK2;{13天内}板后13天内:=COUNT(C/REF(C,1)>1.099,13)>1;XG:=FILTER(买1=1,5);钱袋:=板后13天内 AND XG;DRAWICON(钱袋,LOW*0.99,9),COLORRED;DRAWTEXT(钱袋,L-0.35,'回&家&吃&饭'),COLORLIMAGENTA;{注册制涨停变色}BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));XA_1:=IF(DATE<=1200823,1,0);STICKLINE((C>=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,2.7,0),COLORFF00FF;STICKLINE((C<=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,2.7,0),COLORBLUE;STICKLINE((C>=ZTPRICE(REF(C,1),BK) AND C=H),O,C,1,0),COLORYELLOW;STICKLINE((C<=DTPRICE(REF(C,1),BK) AND C=L),O,C,1,0),COLORBLUE;STICKLINE((H>=ZTPRICE(REF(C,1),BK) AND C<H) OR (H>=ZTPRICE(REF(CLOSE,1),0.1) AND C<H AND XA_1=1),H,MAX(C,O),0.5,0),COLORMAGENTA;{涨停后回落}STICKLINE((L<=DTPRICE(REF(C,1),BK) AND C>L) OR (L<=DTPRICE(REF(CLOSE,1),0.1) AND C>L AND XA_1=1),L,MIN(C,O),0.5,0),COLORBLUE;