源码
R1:=150*WINNER(CLOSE*0.95);
VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
VAR4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;
VAR5:=EMA(CLOSE,2)-EMA(CLOSE,120);
VAR6:=EMA(VAR5,68);
VAR7:=(VAR5+VAR6);
敢死:=POW(VAR7,3)*0.1+POW(VAR7,1);
核心:=MA(敢死,30),colorred,;
涨停:=1;{DYNAINFO(14)>0.096;}
警:涨停*核心/5,colorred,LINETHICK2;
Y:MA(警,6),colorred,LINETHICK2;
IF(Y[
]Y1:警-Y,colorbrown;
IF(警[
]{STICKLINE(CROSS(MA(警,1),MA(警,2)),0,警,1,0),
coloryellow;}
G:=C>=INTPART(REF(C,1)*1.08*100+0.5)/100;
G1:=G*核心/5;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
N:=KK+DD;
涨停信号:ABS((10000*(C-REF(C,1))/REF(C,1)>995)*G1),colorgreen;
促击:FILTER(BACKSET(涨停信号,2),2)*G1,colorgreen;
预涨停:IF(CROSS(N,100),ABS(警),0),coloryellow;
DRAWTEXT(CROSS(N,100),预涨停*1.2,'预'),colorcyan;
DRAWTEXT(涨停信号>0,涨停信号*1.1,'停'),colorcyan;