VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR3:=SMA(SMA(VAR2,3,1),3,1)/30;VAR4:=EMA(VAR3,5);VAR5:=3*VAR3-2*VAR4;AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=LLV(LOW,22);VAR8:=HHV(HIGH,22);VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);STICKLINE(VAR9>VARA,VAR9,VARA,1,1), colormagenta;STICKLINE(VAR9<=VARA,VAR9,VARA,1,1), COLORFFCC66;STICKLINE(CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O,VAR9,VARA,1,0),colorred;DRAWTEXT(CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O,22,'底'),coloryellow;趋势: EMA(0.382*REF(VAR9,2)+0.618*VAR9,6);IF(趋势>REF(趋势,1),趋势,DRAWNULL),colorred,LINETHICK2;IF(趋势<REF(趋势,1),趋势,DRAWNULL),coloryellow,LINETHICK2;风险较高:80,colorred;获利可抛:50,colorwhite;抄底区:20,colorgreen;