VAR1:=REF(C,2);
A22:=SMA(MAX(C-VAR1,0),7,1)/SMA(Abs(C-VAR1),7,1)*100;
超买:IF(A22<12,10,0)LINETHICK3,COLORMAGENTA;
VAR21:=REF(C,2);
A2: SMA(MAX(C-VAR21,0),7,1)/SMA(ABS(C-VAR21),7,1)*100,COLORGREEN,LINETHICK2;
VAR2:=REF(C,1);
VAR3:=SMA(MAX(C-VAR2,0),7,1)/SMA(ABS(C-VAR2),7,1)*100;
STICKLINE(A279,80,85,0,0)COLORLIBLUE;
STICKLINE(A2>=50,A2,50,0,0)COLORRED;
STICKLINE(A2<50,A2,50,0,0)COLORLIBLUE;
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD:=(EMA(CS,3)-50)*2;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
S1:=EMA(100-VAR6,1);
S2:=EMA(S1,9);
S3:=MA(S2,9);
STICKLINE(A2<=12,30,A2,1,0)COLORRED;