日周月KD(大智慧)

RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

RK:SMA(RSV1,3,1);

RD:SMA(RK,3,1);

RSV2:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;

ZK:SMA(RSV2,15,1);

ZD:SMA(ZK,15,1);

周金叉:=crOSS(ZK,ZD);DRAWTEXT(周金叉,16,'周▲' ),COLORRED ;

周死叉:=CROSS(ZD,ZK);DRAWTEXT(周死叉,92,'周▼') ,COLOR00FF00 ;

RSV3:=(CLOSE-LLV(LOW,198))/(HHV(HIGH,198)-LLV(LOW,198))*100;

YK:SMA(RSV3,66,1),COLOR567FF0;

YD:SMA(YK,66,1),colorFF5670;

月金叉:=CROSS(yK,yD);DRAWTEXT(月金叉,15,'月▲' ),COLORYELLOW ;

月死叉:=CROSS(yD,yK);DRAWTEXT(月死叉,100,'月▼'),COLORYELLOW;