趋势线:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100;AA:=((REF(趋势线,1)<REF(趋势线,2) AND 趋势线<-30) AND 趋势线>=REF(趋势线,1)) OR (REF(CROSS(-30,趋势线),1) AND CROSS(趋势线,-30)) OR 趋势线=-30;砸锅卖田买:AA;