MIDD:=MA(CLOSE,30);
金龙1:= MIDD + 2*STD(CLOSE,30),LINETHICK2,COLOR0055FF;
N:=60;
M:=30;
散户线:= 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)) ;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
主力线:=EMA(J,18);
MID:=MA(CLOSE,30);
金龙线:=MID+2*STD(CLOSE,30),LINETHICK2,COLOR0055FF;
CC:= C>金龙线 AND C>=O ;
DD:=CAPITAL<15000000; {流通盘}
XH:C>金龙1 AND COUNT(crOSS(主力线,散户线),2)>=1 AND CC AND DD;{双龙出海2+黑马启动2+合跌};