U11:=5;
U21:=11;
U31:=9;
UPPER:=(1+U21/100)*MA(CLOSE,U11);
LOWER:=(1-U31/100)*MA(CLOSE,U11);
ene1:=(UPPER+LOWER)/2;
出轨:=crOSS(C,UPPER) AND H=C COLORCYAN;
A14:=FINANCE(7)<120000000;
B14:=FINANCE(7)<300000000 AND FINANCE(7)>120000000;
C14:=FINANCE(7)<500000000 AND FINANCE(7)>300000000;
D14:=FINANCE(7)<800000000 AND FINANCE(7)>500000000;
E19:=FINANCE(7)<1300000000 AND FINANCE(7)>800000000;
A88:=DYNAINFO(14)<0.03 AND DYNAINFO(14)>0.006 AND DYNAINFO(17)>10 AND V*200/FROMOPEN/REF(MA(V,5),1)>3;
B:=DYNAINFO(9);
S19:=LOW>(REF(HIGH,2)+0.001) AND C>REF(C,1) AND C>MA(C,20)*1.20 AND V*200/FROMOPEN/REF(MA(V,5),1)>3;
竞价龙头:=S19 OR (A14 AND A88=1 AND B>1200) OR (B14 AND A88=1 AND B>3000)OR (C14 AND A88=1 AND B>5000)OR (D14 AND A88=1 AND B>8000)OR (E19 AND A88=1 AND B>13000) COLORRED;
GK1:=O>REF(C,1);
FD:=O/REF(C,1);
ZT33:=C/REF(C,1)>1.09 OR C/REF(C,1)>1.19;
GK2:=IF(GK1>0 AND FD>REF(FD,1) AND REF(ZT33,1)>0 AND REF(GK1,1)>0,1,0);
GK3:=GK2>0 AND GK1>0 AND ZT33>0 AND COUNT(ZT33>0,4)<4;
墨轩寻牛:=出轨 AND (竞价龙头 OR GK3);
红钻:墨轩寻牛;