N:=5;VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);:(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF;:(EMA(((0.667*REF(主力,1))+(0.333*主力)),2)*VAR1),COLORFFFFFF;条件:=OSS(主力,生命线) AND 主力<40>90;TJ1:=CROSS(主力,生命线);TJ2:=CROSS(生命线,主力);TJ3:=CROSS(主力,生命线) AND REF(主力,1)<20 TJ4:=CROSS(生命线,主力)>80;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),45,'S'); DRAWTEXT