SHORT:=6;LONG:=13;MID:=4;DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIF,MID);:=(DIF-DEA)*2,COLORSTICK;MACDJC:OSS(DIF,DEA);STICKLINE(MACDJC,-100,-80,1,1),COLORWHITE;{MACD}N:=9;M1:=3;M2:=3;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;C:CROSS(K,D);STICKLINE(JC,-60,-40,1,1),COLORYELLOW;{KDJ金叉}N1:=5;N2:=10;N3:=20;N4:=30;:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4,COLORRED,LINETHICK1;BBIJC:CROSS(C,BBI),COLORRED;STICKLINE(BBIJC,-30,-1