NSYJ2:=LLV(LOW,55);
NSYJ3:=HHV(HIGH,13);
NSYJ4:=LLV(LOW,13);
NSYJ5:=CURRBARSCOUNT=129;
NSYJ6:=100-100*(NSYJ1-CLOSE)/(NSYJ1-NSYJ2);
NSYJ7:=100*(NSYJ3-CLOSE)/(NSYJ3-NSYJ4);
NSYJ18:=MA(NSYJ7,13);
NSYJ19:=CROSS(NSYJ6,50);
DRAWBAND(NSYJ6,255,60,0);
主力资金:NSYJ6-NSYJ18,colorred;
STICKLINE(CROSS(主力资金,0),0,30,3,0),colorcyan;
NOTEXT0:0,colorwhite;
NOTEXT60:60;
DIF41:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA41:=EMA(DIF41,9);
ZTB1:=C>INTPART(REF(C,1)*(1+10/100)/0.01+0.5)*0.01-0.006 AND C=H;
异动板1:=DIF41>-0.2 AND DIF41<0.35 AND ZTB1 AND REF(ZTB1,1)<1 AND COUNT(DIF41>=-0.01,5)=5;
WX:=C/REF(C,1)>1.03 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
涨停:=C/REF(C,1)>1.0991 AND O=H AND C=H;
XG1:=FILTER(WX,28) AND NOT(涨停) ;
主力来了:=异动板1 AND XG1;
DRAWTEXT(异动板1,L*0.9990,'异动'),colormagenta;
STICKLINE(主力来了, 0.59, 70, 2, 0) ,coloryellow;