X1:=HHV(H,5);X2:=REF(HHV(H,5),1);VERTLINE:=(X1>=X2,1),POINTDOT,COLOR808080;VARAA:=LLV(LOW,30);VARBB:=HHV(HIGH,30); VARCC:=EMA((CLOSE-VARAA)/(VARBB-VARAA)*4,4)*25; := STICKLINE(VARCC<10>97,0,-5,5,2),COLORRED; := STICKLINE(VARCC>90,100,105,10,2),COLORRED; : VARCC,COLORRED,LINETHICK1;VARDD:=90; VAREE:=(VARCC-LLV(VARCC,4))/(HHV(VARCC,4)-LLV(VARCC,4))*4*25; DRAWTEXT(IF(OSS(趋势,VARDD) AND VAREE=100,50,0),85,'目标'),COLORFF00FF;DRAWTEXT(IF(CROSS(趋势,VAREE) AND 趋势>87,95,0),88,'险'),COLOR00FF00;DRAWICON(CROSS