月DIF:="macd.DIF#MONTH"COLORMAGENTA;
月DEA:="MacD.DEA#MONTH"COLORGREEN;
周DIF:="MACD.DIF#WEEK";
周DEA:="MACD.DEA#WEEK";
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),COLORRED;
DEA:=EMA(DIF,9),COLORLIBLUE;
MACD:=2*(DIF-DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=(3*K-2*D)/100;
密令:=HHV(MACD,3)=HHV(MACD,7) AND COUNT(EVERY(C>O,3),13)>0 AND COUNT(K>D AND DIF>DEA,3)=3 AND REF(K>D AND DIF>DEA,3)=0 AND NOT(周DIF<周DEA) AND 周DIF>REF(周DIF,5) AND 月DIF>REF(月DIF,20);
追击密令:密令;