SHORT:=12;LONG:=26;MID:=9;DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:EMA(DIF,MID);:(DIF-DEA)*2,COLORSTICK;EE:=MACD-REF(MACD,1)>0.05 AND COUNT(C/REF(C,1)>1.09,16)<2 C=HHV(H,60)>1.07 AND NOT(H=L) AND COUNT(C>O,6)<=4 AND C/REF(C,9)<1 NODRAW;STICKLINE(FILTER(EE,20),A(MACD)+1,0,2,0),COLORMAGENTA;{公式:SHORT:=12;LONG: MID:=9;DIF: EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIF,MID);MACD:>0.05 AND COUNT(C/REF(C,1)>1.09,16)<2 C=HHV(H,60)>1.07 AND NOT(H=L) AND COUNT(C>O,6)<=4 AND C/REF(C,9)<1.2;}