T:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
N:=IF((T > 0.35),6,65);
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
KK:=EMA(SMA(RG,3,1),2);
DD:=SMA(KK,3,1);
SG:=EMA(HHV(H,1),8);
X1:=EMA(C,8);
X30:=((X1 < REF(X1,1)) AND (C < X1));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
VAB0:=531;VAB1:=1510000;
VAB2:=VAB0 + VAB1;
VAB3:=IF(DATE > VAB2,0,1);
LC:=REF(C,1);
操作線:=SMA(MAX(C-LC,0),2,1)/SMA(ABS(C-LC),2,1)*100;
震倉線:=45;
抄底線:=20;
PP:=操作線<震倉線 AND REF(操作線,1)>震倉線 ;
PP3:=操作線<抄底線 AND REF(操作線,1)>抄底線*VAB3;
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
XG1:=(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1;
XG2:=CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);
漲停: XG1 OR XG2 ;