1. 先设置选股公式:
参数(记得填写参数啊!)
n 2.00 90.00 9.00
m1 2.00 30.00 3.00
m2 2.00 30.00 3.00
源码:
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:=SMA(RSV,M1,1),LINETHICK1;
D:=SMA(K,M2,1),LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
COUNT(J 0,8) =3 AND CROSS(J,1) AND K =REF(K,1);
2.指标公式
参数(记得填写参数啊!)
n 2.00 90.00 9.00
m1 2.00 30.00 3.00
m2 2.00 30.00 3.00
源码:
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,LINETHICK2;
K:SMA(RSV,M1,1),LINETHICK1;
D:SMA(K,M2,1),LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J 0,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(K 90,K,DRAWNULL),COLOR0000FF,LINETHICK2;
IF(D 85,D,DRAWNULL),COLORFFFF11,LINETHICK2;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K 80 AND D 80 AND CROSS(D,K),D,2);
用法:
先用选股公式选好股,再用指标选股