以下是通达信捕捉暴涨股选股/副图指标
V1:=EMA(CLOSE,5);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV2:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
压力位:=IF(CROSS(J2,J),H,REF(H,BARSLAST(CROSS(J2,J))));
xg:IF((CROSS(C,压力位) OR CROSS(V1,压力位)) AND (C >1.03*REF(C,1) OR REF(C,1)>1.05*REF(C,2))
AND (V>1.5*REF(V,1) OR REF(V,1)>REF(V,2))AND MA(V,3)>MA(V,20) ,20,0),colorred,LINETHICK2;