RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);VAR2:=(CLOSE-LLV(CLOSE,62))/(HHV(CLOSE,62)-LLV(CLOSE,62))*100;VARB:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);VARC:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;VARD:=SMA(VARC,3,2);VARE:=SMA(VARD,3,2);AA:=EMA(VARE,2);买入:AA<20 AND AA>REF(AA,1)AND REF(AA,1)<REF(AA,2);走势: EMA(VAR1,1),LINETHICK0;STICKLINE((K>=D),D,REF(D,1),8,0),COLORRED;STICKLINE((K<D),D,REF(D,1),8/3,0),COLORFFFF66;DRAWICON(CROSS(99,VAR2)AND AA<=REF(AA,1),100,5);STICKLINE(买入,0,50,8/3,0);DRAWTEXT(买入>0,55,'进'),COLORRED;警戒线!: 70,COLORFF00FF;逃顶线↓: 90,COLOR00EE00;抄底线↑: 20,COLORBLUE,LINETHICK2;