DIFA:=EMA(CLOSE,6)-EMA(CLOSE,13);
DEA:=EMA(DIFA,5);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
MK日金叉:=crOSS(DIFA,DEA) AND CROSS(K,D);
铁剑:IF(MK日金叉,2,0),LINETHICK2,COLORYELLOW;
DIFA:=EMA(CLOSE,6)-EMA(CLOSE,13);
DEA:=EMA(DIFA,5);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
MK日金叉:=crOSS(DIFA,DEA) AND CROSS(K,D);
铁剑:IF(MK日金叉,2,0),LINETHICK2,COLORYELLOW;