DIFF:=EMA(C,8)-EMA(C,13);DEA:=EMA(DIFF,5);捉妖1:=DIFF>DEA;WU1:=(C-LLV(LOW,8))/(HHV(H,8)-LLV(LOW,8))*100;K:=SMA(WU1,3,1);D:=SMA(K,3,1);捉妖2:=K>D;ZS:=REF(C,1);NS1:=(SMA(MAX(C-ZS,0),5,1))/(SMA(ABS(C-ZS),5,1))*100;NS2:=(SMA(MAX(C-ZS,0),13,1))/(SMA(ABS(C-ZS),13,1))*100;捉妖3:=NS1>NS2;WU:=-(HHV(H,13)-C)/(HHV(H,13)-LLV(LOW,13))*100;均线5:MA(C,5)DOTLINE;均线10:MA(C,13)LINETHICK2;主力突破1:=SMA(WU,3,1);主力突破2:=SMA(主力突破1,3,1);捉妖4:=主力突破1>主力突破2;BBI:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;捉妖5:=C>BBI;擒牛:=C-REF(C,1);擒牛J:=100*EMA(EMA(擒牛,5),3)/EMA(EMA(ABS(擒牛),5),3);擒牛M:=100*EMA(EMA(擒牛,13),8)/EMA(EMA(ABS(擒牛),13),8);捉妖6:=擒牛J>擒牛M;擒牛S:=(C*2+H+L)/4;DT:=EMA(擒牛S,13)-EMA(擒牛S,34);ZT:=EMA(DT,5);空头:=(-2*(DT-ZT))*3.8,COLORGREEN;多头:=(2*(DT-ZT))*3.8,COLORRED;捉妖7:=多头>空头;MA11:=MA(C,5);MA22:=REF(MA(C,5),1);擒牛突破2:=IF(MONTH< 12,1,1);擒牛突破3:=(2*C+H+LOW)/4;擒牛突破4:=LLV(LOW,34);擒牛突破5:=HHV(H,34);主力:=EMA((擒牛突破3-擒牛突破4)/(擒牛突破5-擒牛突破4)*100,13)*擒牛突破2;散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);捉妖9:=主力>散户;捉妖10:=(多头>空头) AND (主力>散户);捉妖11:=(多头>空头) AND (主力>散户) AND (DIFF>DEA) AND (K>D) AND (NS1>NS2) AND (主力突破1>主力突破2) AND (C>BBI) AND (擒牛J>擒牛M);量价齐升:=BARSLASTCOUNT((捉妖1 AND 捉妖2 AND 捉妖3 AND 捉妖4 AND 捉妖5 AND 捉妖6 AND 捉妖7 AND 捉妖9 AND 捉妖10 AND 捉妖11))=1;DRAWICON((捉妖1 AND 捉妖2 AND 捉妖3 AND 捉妖4 AND 捉妖5 AND 捉妖6 AND 捉妖7 AND 捉妖9 AND 捉妖10 AND 捉妖11),L,1);DRAWTEXT_FIX(1,0.60,0.75,0,' '),COLORYELLOW;STICKLINE((捉妖1 AND 捉妖2 AND 捉妖3 AND 捉妖4 AND 捉妖5 AND 捉妖6 AND 捉妖7 AND 捉妖9 AND 捉妖10 AND 捉妖11),OPEN,C,2,0),COLORYELLOW;STICKLINE((捉妖1 AND 捉妖2 AND 捉妖3 AND 捉妖4 AND 捉妖5 AND 捉妖6 AND 捉妖7 AND 捉妖9 AND 捉妖10 AND 捉妖11),OPEN,C,1,0),COLORFF00FF;DRAWICON(量价齐升,L,25);DRAWTEXT(量价齐升,L*0.96,'★量价齐升'),COLORYELLOW;