{DRAWGBK(C>0, RGB(40,120,10),RGB(0,100,0),0,0,1);}DRAWKLINE(HIGH,OPEN,LOW,CLOSE);操盘线EMA7:EMA(CLOSE,7);工作线MA30:MA(CLOSE,34);HHSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHSJDB:=(20*HHSJDA+19*REF(HHSJDA,1)+18*REF(HHSJDA,2)+17*REF(HHSJDA,3)+16*REF(HHSJDA,4)+15*REF(HHSJDA,5)+14*REF(HHSJDA,6)+13*REF(HHSJDA,7)+12*REF(HHSJDA,8)+11*REF(HHSJDA,9)+10*REF(HHSJDA,10)+9*REF(HHSJDA,11)+8*REF(HHSJDA,12)+7*REF(HHSJDA,13)+6*REF(HHSJDA,14)+5*REF(HHSJDA,15)+4*REF(HHSJDA,16)+3*REF(HHSJDA,17)+2*REF(HHSJDA,18)+REF(HHSJDA,20))/210;HHSJDC:=MA(HHSJDB,5);AA:=C>HHSJDC;A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;中线:=EMA(X,13);KKA:=EMA(C,5);KKB:=EMA(KKA,8);KKC:=EMA(KKB,13);长线1:=EMA(KKC,50);KAAA3:=REF(C,1)<REF(中线,1) AND C>中线;KBBB3:=C/REF(C,1)>1+0.01*9.00;KCCC3:=中线/长线1<1+0.01*20.00;牛牛牛:=KAAA3 AND KBBB3 AND KCCC3;JJ:=(OPEN+HIGH+LOW+CLOSE)/4;AAA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0);BB:=IF(BETWEEN(C,JJ,L),VOL,0);CC:=IF(AAA AND BB,0,VOL/3);DDX:=10*(AAA-(BB+CC))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);AA1:=MA(C,5);BB1:=MA(C,10);CC1:=MA(C,20);DD1:=MA(C,30);EE1:=CROSS(C,AA1) AND CROSS(C,BB1) AND CROSS(C,CC1) AND CROSS(C,DD1);FF1:=CROSS(C,AA1) AND CROSS(C,BB1) AND L<CC1 AND L<DD1;XG:=REF(C,1)<REF(O,1) AND REF(C,1)<REF(C,2) AND REF(C,1)<工作线MA30 AND (C>工作线MA30 OR CROSS(C,工作线MA30)) AND C>REF(C,1) AND C>O AND (REF(C,1)/REF(C,2)-1)*100>-9.7 AND AA AND (C/REF(C,1)-1)*100>=2 AND KAAA3 AND KCCC3 AND REF(H,1)>=REF(操盘线EMA7,1) AND (EE1 OR FF1) AND DDX>0;STICKLINE(XG,O,C,3.5,0),COLOR2F2F4F;STICKLINE(XG,O,C,2,0),COLORRED;STICKLINE(XG,L,H,0,0),COLORRED;DRAWTEXT(XG,L*0.99,'黑马大妖'), COLORWHITE;