为朋友写的:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),LINETHICK1;
D:=SMA(K,3,1),LINETHICK1;
J:=3*K-2*D,LINETHICK1;
XG:CROSS(K,D) AND COUNT(CROSS(K,D) AND FILTER(CROSS(K,D),5),13)>1;
过滤了五天内连续金叉的情况
为朋友写的:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),LINETHICK1;
D:=SMA(K,3,1),LINETHICK1;
J:=3*K-2*D,LINETHICK1;
XG:CROSS(K,D) AND COUNT(CROSS(K,D) AND FILTER(CROSS(K,D),5),13)>1;
过滤了五天内连续金叉的情况