{N字结构源码如下}
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;
{N字结构副图源码如下}
M1:=45;
M2:=80;
MA13:=MA(C,13);
游资筹码1:=IF(1,(C/REF(C,1)-1)*100>9.5,0);
游资筹码2:=(REF(C,BARSLAST(游资筹码1))+REF(OPEN,BARSLAST(游资筹码1)))/2;
游资筹码3:=REF(C,1);
游资筹码4:=IF((游资筹码3-C)*100/游资筹码3>=10-0.01*100/游资筹码3,1,0);
游资筹码5:=MA(C,21),COLOR00CCCC,LINETHICK2;
游资筹码6:=C>游资筹码5 AND MA13>REF(MA13,1) AND 游资筹码4!=1;
游资筹码7:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
游资筹码8:=REF(C,1);
游资筹码9:=SMA(MAX(C-游资筹码8,0),2,1)/SMA(ABS(C-游资筹码8),2,1)*100;
游资筹码10:=SMA(MAX(C-游资筹码8,0),14,1)/SMA(ABS(C-游资筹码8),14,1)*100;
游资筹码11:=游资筹码9< M1 AND REF(游资筹码9,1)>M1;
游资筹码12:=游资筹码9< 20 AND REF(游资筹码9,1)>20;
游资筹码13:=COUNT(游资筹码1,13)>=1;
游资筹码14:=SMA(LOW,4,3);
游资筹码15:=游资筹码11 OR 游资筹码12 AND 游资筹码13;
迂回杀X:REF(游资筹码11,1) OR REF(游资筹码12,1) AND LOW< MA(C,5) AND 游资筹码13 AND 游资筹码6 AND C>REF(LOW,BARSLAST(游资筹码1));