INPUT:N(9,1,100),M1(3,1,100),M2(3,1,100),M5(10,1,100);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
KK:=(CROSS(K,D) AND D<=21);
LL:=(CROSS(K,80)AND COUNT( KK,M5));
DRAWICON(LL,K*1.1,1);
选股:IF(CROSS(K,78)AND COUNT( KK,M5),100,0),LINETHICK0;
{IF(LL,100,0);}
20,POINTDOT,COLORGREEN;
80,POINTDOT,COLORGREEN;