ABC1:=100-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55));
ABC2:=100*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));
A:=MA(ABC2,13);
ACC0:=531;
ACC1:=1510000;
ACC2:=ACC0 + ACC1;
ACC3:=IF(DATE > ACC2,0,1);
LC:=REF(CLOSE,1);
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);
操作线:=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)>抄底线*ACC3;
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
ABCD:=QXS AND QST AND QKC AND QXX AND QBJ;
抓牛:=(((((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 ACC3=1;
XG:抓牛 AND ABCD;
X_1:=vol/REF(MA(VOL,5),1);
X_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_3:=HIGH;
X_4:=REF(HIGH,1);
X_5:=CLOSE;
X_6:=LOW;
X_7:=REF(CLOSE,1);
X_8:=MA(CLOSE,5);
X_9:=MA(CLOSE,10);
X_10:=MA(CLOSE,20);
X_11:=MA(CLOSE,30);
X_12:=MA(CLOSE,60);
X_13:=MA(X_5,120);
X_14:=X_5>X_8;
X_15:=X_5>X_9;
X_16:=X_5>X_10;
X_17:=X_5>X_11;
X_18:=X_5>X_12;
X_19:=X_5>MA(X_5,88);
X_20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=9.93;
X_21:=BARSLAST(X_20);
XG:crOSS(X_5,X_13) AND X_14 AND X_15 AND X_16 AND X_17 AND X_18 AND X_21<=7 AND X_3>X_4;

