VAR1:=(C*2+H+L)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=IF(VAR2-VAR3>0,2*(VAR2-VAR3)*5.5,0);
超主吃:=IF(VAR4>=100,100,VAR4);
量价线:=((CLOSE-MA(CLOSE,21))/MA(CLOSE,21))*100;
MNC:=C#YEAR;
MNO:=O#YEAR;
MJC:=C#SEASON;
MJO:=O#SEASON;
MYO:=O#MONTH;
MYC:=C#MONTH;
Z开:=O#WEEK;
Z收:=C#WEEK;
Z期共振:=MNC>=MNO AND MJC>=MJO AND MYC>=MYO AND Z收>=Z开;
SG:=EMA(HHV(HIGH,1),8);
X1:=EMA(CLOSE,8);
X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));
X31:=IF(((SG < REF(SG,1)) OR X30),1,0);
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;
震仓线:=45,COLORMAGENTA;
抄底线:=20,COLORGREEN;
PP:=操作线< 震仓线 AND REF(操作线,1)>震仓线;
PP3:=操作线< 抄底线 AND REF(操作线,1)>抄底线;
涨中:=Z期共振 AND(((((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)));
XG:超主吃>=REF(超主吃,1) AND 量价线>-1.2 AND 涨中;