修正Z:=REF(H,1)>REF(O,1)+0.02 AND REF(H,2)>REF(O,2)+0.02 AND REF(H,3)>REF(O,3)+0.02 ;{光头}
BD:=Abs(REF(C,4)-REF(C,3));
BDD:=BD/REF(C,4)<0.05;
修正结论:=修正Z>0 AND BDD AND COUNT(H=O,9)=0;
大值:=MAX(C,O);
上映:=(H-大值)/REF(C,1)>0.03;
XZJH:=COUNT(上映,7)=0;
MA1:=EMA(CLOSE,2);
MA2:=EMA(CLOSE,4);
MA3:=EMA(CLOSE,21);
MA4:=EMA(CLOSE,55);
MA5:=EMA(CLOSE,5);
XZ1:=REF(MA2,1)>REF(MA1,1) AND REF(MA2,2)>REF(MA1,2);
G2:=EMA(C,2);
G4:=EMA(C,4);
G3:=EMA(C,3);
G6:=EMA(C,6);
VAR1:=HHV(HIGH,5);
VAR2:=LLV(LOW,5);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,3);
XZ:=REF(G2,1)金叉:= crOSS(MA1,MA2) AND XZ AND XZ1;
多头:=MA3>MA4 AND MA2>MA3;
修正:=C>O AND H-C
DRAWTEXT(牛二代,L,'↖★牛回头'),LINETHICK3,COLORYELLOW;
牛:牛二代,NODRAW;