N:=10;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
攻击线:MA(C,5),COLORWHITE,LINETHICK2;
防守线:EMA(C,13),COLORE032AF,LINETHICK4;
AK1:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*100),5);
AK:=EMA((((CLOSE-VAR1)/(VAR2-VAR1))*50),13);
生命线:MA(C,34),COLORRED,LINETHICK2;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
主力前沿:EMA(CLOSE,153),COLORC8FFFF,LINETHICK;
AB:=crOSS(AK1,AK);
DRAWTEXT((AB=1),(LOW*0.99),'牛窝'),COLORYELLOW;
EMA9:EMA(CLOSE,173),COLOR96FFFF;
EMA10:EMA(CLOSE,193),COLOR64FFFF;
EE1:=V<MA(V,5)*1.5;
擒龙:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
EMA11:EMA(CLOSE,213),COLOR28FDFD;
主力后方:EMA(CLOSE,233),COLOR00FFFF;
DRAWTEXT(擒龙,L*0.99,'擒龙'),COLOR0099FF;