共振抓妖1:=COUNT(EVERY(V>=MA(V,135),1),35)>=15;
共振抓妖:=(COUNT(EVERY(V>=MA(V,135),10),50)>=1 AND COUNT(EVERY(V>=MA(V,135),1),15)>=5) OR COUNT(EVERY(共振抓妖1,1),15)>=1;
N1:=V>=REF(V,1)*1.45 AND 共振抓妖;
成交量:=COUNT(EVERY(N1,1),25)>=1;
盘:=BETWEEN(SUM(V/CAPITAL*100,35),65,500);
庄家吸筹:=REF(PPART(100),1)*100>=18 AND (REF(HHV(C,35),2)-REF(LLV(C,165),2))/REF(LLV(C,165),2)*100< 58 AND COUNT(EVERY(N1,1),85)>=1 AND COUNT(EVERY(V>MA(V,135),1),15)>=2;
拉涨:=PPART(100)*100>=20;
条件:=REF(C,2)*CAPITAL*100/100000000>65 AND REF(C,2)*CAPITAL*100/100000000< 125 AND REF(拉涨,1);
龙牛共舞:=REF(C,1)*FINANCE(46)/100000000<=18.5 AND REF(C,1)*CAPITAL*100/100000000< 85 AND PPART(100)*100>=30;
低位擒牛:=(REF(C,2)*CAPITAL*100/100000000< 65 OR 条件 OR 龙牛共舞) AND (成交量 OR 盘 OR 庄家吸筹);
BDIF0:=EMA(C,12)-EMA(C,26);
BDEA0:=EMA(BDIF0,9);
Bmacd0:=(BDIF0-BDEA0)*2;
共振抓牛1:=(COUNT(EVERY(BMACD0>=0,1),7)>=3 OR COUNT(EVERY(BMACD0>=REF(BMACD0,1) AND BMACD0< 0,1),9)>=2) AND BDIF0>=0 AND BDEA0>=0 AND COUNT(EVERY(BDIF0>=0 AND BDEA0>=0,1),7)>=2;
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
共振抓牛:=MACD>0;
ABC1:=C/REF(C,1)>1.028 AND C=HIGH AND BETWEEN(FORCAST(vol,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
起飞:=FILTER(ABC1,28)*100 AND LOW>REF(C,1)*0.93 AND 共振抓牛1 AND 低位擒牛 ;
起飞2:=FILTER(ABC1,28)*100 AND LOW>REF(C,1)*0.93 AND 共振抓牛 AND 低位擒牛 ;
粘合抓妖:起飞 OR 起飞2,COLORMAGENTA,LINETHICK3;