VAR2:=EMA(MAX(OPEN-VAR1,0),6)/EMA(ABS(OPEN-VAR1),6)*100,COLORWHITE;
VAR3:=REF(CLOSE,1);
VAR4:=EMA(MAX(CLOSE-VAR3,0),6)/EMA(ABS(CLOSE-VAR3),6)*100,COLORYELLOW;
VAR5:=VAR4-VAR2,COLORWHITE;
RSV5:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
AC:=SMA(RSV,3,1);
BC:=SMA(AC,3,1);
EC:=3*AC-2*BC,COLORWHITE;
KC:=AC,COLORGREEN,LINETHICK2;
A5:=SMA(RSV5,3,1);
B5:=SMA(A5,3,1);
E5:=3*A5-2*B5;
势:E5,LINETHICK1,COLORYELLOW;
势1C:MA(势,3),COLORGREEN,LINETHICK1;
势2C:EMA(势,3),COLORRED,LINETHICK1;
AV:=VAR4,COLORRED;
日:=30;
顶:REF(HHV(E5,4),1),COLORLIGREEN,DOTLINE,LINETHICK2;
底:REF(LLV(E5,4),1),COLORLIRED,DOTLINE,LINETHICK2;
底1:REF(LLV(AV,日),1),COLORWHITE,DOTLINE,LINETHICK1;