N:=9;M:=REF(N,1);XXX:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(XXX,3,1);D:=SMA(K,3,1);叉1:=CROSS(K,D);AA:=MACD.DIF;AB:=macd.DEA;M1:=REF(HHV(H,150),1);M2:=REF(LLV(L,M),1);叉2:=CROSS(AA,AB);金叉:=叉1 AND 叉2;金叉介入点:金叉;