AA:4*SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,5,1),3.2,1),COLORRED,LINETHICK2;
A1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
A2:=SMA(A1,8,1);
A3:=SMA(A2,8,1);
BB:3*A2-2*A3,COLORYELLOW,LINETHICK2;
DRAWICON(CROSS(AA,BB),AA-4,23);
DRAWICON(CROSS(BB,AA),BB+4,15);
警戒线:90,COLOR00FF00;
关注线:10,COLORFF00FF;
STICKLINE( CROSS(AA,BB), -20,30,1,0),COLORRED,LINETHICK2;
DRAWICON(CROSS(AA,BB),30,13);
STICKLINE(CROSS(BB,AA),70,120,1,0),COLOR00FF00,LINETHICK2;
DRAWICON(CROSS(BB,AA),70,14);
IF(AA<10,-10,-20),COLORFFFFFF;
DRAWICON(AA>90,115,2);
IF(AA>=90,110,120),COLORFF00FF;
DRAWICON(AA<10,-15,1);
{VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9>100,VAR9-100,0);
VARB:=HHV(HIGH,34);
AA:= VARA*2;
BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:= SMA(VAR5,20,1);
VARD:=SMA(AA,2,1)-AA;
VARE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;
VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2A:=SMA(VAR1A,9,1)+100;
VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;}