RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;
K:EMA(RSV,3);
D:EMA(K,3);
J:=(3*K-2*D);
观察:IF(J<=0,-J*5,0),LINETHICK0;
STICKLINE(J<=0,0,观察,2,0),COLORWHITE;
KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;
KDJ2:=J>REF(J,1);
再买入:IF(FILTER(KDJ1 AND KDJ2,3),30,0);