VAR1:=LLV(LOW,10); VAR2:=HHV(HIGH,25); 趋势:= Ema((CLOSE-VAR1)/(VAR2-VAR1),10); AA:= 趋势>=REF(趋势,1); BB:= 趋势< REF(趋势,1); 红箭头:crOSS(AA,BB);