BOLL:=MA(CLOSE,18);
UB:=BOLL+2*STD(CLOSE,18);
LB:=BOLL-2*STD(CLOSE,18);
KK:=(UB-LB)/BOLL*100;
KKK:=MA(KK,10);
KKK20:=MA(KK,20);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
SS:=DIF>DEA;
牛1:=KKK20>KKK AND KKK20>KK AND (C>MA(C,60) AND C>MA(C,20));
牛牛:牛1 AND REF(牛1,1)<1 AND SS AND (H-MAX(C,O))/MAX(C,O)<0.01 AND C>O AND C/REF(C,1)<1.03;