VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;XG:CROSS(SMA(VAR2,5,1)-8,SMA(VAR1,3,1)); (已测试通过)