V_1:=(C*2+H+L)/4*10;
V_2:=EMA(V_1,13)-EMA(V_1,34);
V_3:=EMA(V_2,5);
V_4:=IF(V_2-V_3>0,2*(V_2-V_3)*5.5,0);
超主吃:=IF(V_4>=100,100,V_4);
量价线:=((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;
周开:=O#WEEK;
周收:=C#WEEK;
周期共振:=MNC>=MNO AND MJC>=MJO AND MYC>=MYO AND 周收>=周开;
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)>抄底线;
寻牛:=周期共振 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 寻牛;