N字擒龙3:=IF(1,(C/REF(C,1)-1)*100>9.5,0),NODRAW;
最后涨停距今数:BARSLAST(N字擒龙3),NODRAW,COLOR00CCCC;
N字擒龙4:=(REF(C,BARSLAST(N字擒龙3))+REF(OPEN,BARSLAST(N字擒龙3)))/2;
STICKLINE(N字擒龙3,OPEN,C,2,0),COLORE6E8FA;
N字擒龙5:=REF(C,1);
N字擒龙6:=IF((N字擒龙5-C)*100/N字擒龙5>=10-0.01*100/N字擒龙5,1,0);
MA13:MA(C,13),COLORCYAN;
IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED;
MA21:=MA(C,21),COLOR00CCCC,LINETHICK2;
N字擒龙7:=C>MA21 AND MA13>REF(MA13,1) AND N字擒龙6!=1;
N字擒龙8:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
N字擒龙9:=REF(C,1);
N字擒龙10:=SMA(MAX(C-N字擒龙9,0),2,1)/SMA(Abs(C-N字擒龙9),2,1)*100;
N字擒龙11:=SMA(MAX(C-N字擒龙9,0),14,1)/SMA(ABS(C-N字擒龙9),14,1)*100;
N字擒龙12:=45;
N字擒龙13:=80;
N字擒龙14:=20;
N字擒龙15:=5;
N字擒龙16:=N字擒龙10< N字擒龙12 AND REF(N字擒龙10,1)>N字擒龙12;
N字擒龙17:=N字擒龙10< N字擒龙14 AND REF(N字擒龙10,1)>N字擒龙14;
N字擒龙18:=COUNT(N字擒龙3,13)>=1;
N字擒龙19:=SMA(LOW,4,3);
N字擒龙20:=N字擒龙16 OR N字擒龙17 AND N字擒龙18;
N字擒龙21:=REF(N字擒龙16,1) OR REF(N字擒龙17,1) AND LOW< MA(C,5) AND N字擒龙18 AND N字擒龙7 AND C>REF(LOW,BARSLAST(N字擒龙3));
STICKLINE(N字擒龙21,OPEN,C,2,0),COLORYELLOW;
DRAWTEXT(N字擒龙21,L*0.95,'NN字擒龙'),COLOR00FFFF;
DRAWICON(N字擒龙21,L,11);
N字擒龙22:=AMOUNT/vol/100;
N字擒龙23:=REF(C,1);DRAWTEXT_FIX(1,0.60,0.75,0,' '),COLORYELLOW;
STICKLINE(C,N字擒龙4,N字擒龙4,2,0),COLORMAGENTA;
STICKLINE(C,REF(LOW,BARSLAST(N字擒龙3)),REF(LOW,BARSLAST(N字擒龙3)),2,0),COLORCCCC00;