
A1:=(CAPITAL/100)/10000;
A2:=REF(C,1);
A3:=VOL / (MA((REF(VOL,1)),5));
A4:=INDEXV / (MA((REF(INDEXV,1)),5));
A5:=A1 <=10;
A6:=A3 / A4;
A7:=OPEN / A2;
A8:=ATAN(((((EMA(CLOSE,7)) / (REF((EMA(CLOSE,7)),1))) - 1) * 100)) * 57.3;
A9:=ATAN(((((EMA(CLOSE,13)) / (REF((EMA(CLOSE,13)),1))) - 1) * 100)) * 57.3;
A10:=ATAN(((((EMA(CLOSE,34)) / (REF((EMA(CLOSE,34)),1))) - 1) * 100)) * 57.3;
A14:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1) AND DYNAINFO(4)>0;
TIMEE:=IF(FROMOPEN<5,1,0);
{集合抓牛2 全天出票}
A15:=REF((C-REF(C,1))/REF(C,1),1)<0.03;
集合抓牛:((((((A5 AND (A8 > 53)) AND (A9 > 35.56)) AND (A10 > 19)) AND (A6 > 2.25)) AND (A7 < 1.05)) AND A14) AND (A7 > 1) AND A15;
VAR0:=(((CLOSE - MA(CLOSE,60)) / MA(CLOSE,60)) * 100);
VAR1:=(COUNT((MA(CLOSE,13) > MA(CLOSE,210)),100) >= 95);
VAR2:=(COUNT((VAR0 < 35),100) >= 80);
VAR3:=(COUNT((CLOSE > MA(CLOSE,210)),100) >= 95);
VAR4:=((MA(CLOSE,20) > MA(CLOSE,60)) AND (COUNT((MA(CLOSE,60) > REF(MA(CLOSE,60),1)),10) = 10));
VAR5:=(COUNT(((((MA(CLOSE,13) - MA(CLOSE,210)) / MA(CLOSE,210)) * 100) < 35),100) >= 90);
VAR6:=((((REF(CLOSE,1) - MA(CLOSE,210)) / MA(CLOSE,210)) * 100) < 35);
VAR7:=(((((VAR1 AND VAR2) AND VAR3) AND (MA(CLOSE,13) > MA(CLOSE,210))) AND (MA(CLOSE,210) > REF(MA(CLOSE,210),3))) OR (((VAR5 AND VAR6) AND (MA(CLOSE,13) > MA(CLOSE,210))) AND (MA(CLOSE,210) > REF(MA(CLOSE,210),3))));
VAR8:=(MA(LOW,20) * 1.1);
VAR9:=(((COST(16) + COST(34)) + COST(49)) / 3);
VAR10:=((((REF(CLOSE,1) / REF(CLOSE,6)) < 1.15) OR (REF(CLOSE,1) < REF(CLOSE,3))) OR (REF(((HHV(HIGH,5) - LLV(LOW,5)) / LLV(LOW,5)),1) < 0.15));
VAR11:=((((CLOSE / REF(CLOSE,1)) > 1.05) AND (CLOSE > OPEN)) AND (FROMOPEN <= 240));
VAR12:=REF(((((HHV(CLOSE,100) / LLV(CLOSE,100)) - 1) * 100) <= 40),1);
VAR13:=((REF(CLOSE,1) / LLV(LOW,80)) <= 1.45);
VAR14:=((((((CROSS(CLOSE,VAR8) AND VAR7) AND VAR11) AND (CLOSE > REF(HHV(HIGH,120),1))) AND VAR10) AND VAR12) AND VAR13);
VAR15:=(VAR14 AND ((REF(BARSLAST(VAR14),1) >= 50) OR (BARSSINCE(VAR14) = 0)));
VAR16:=((VAR9 / LLV(VAR9,80)) <= 1.45);
VAR17:=(((CLOSE - MA(CLOSE,210)) / MA(CLOSE,210)) * 100);
VAR18:=(COUNT((MA(CLOSE,13) > MA(CLOSE,210)),50) >= 30);
VAR19:=(COUNT((VAR17 < 35),50) >= 30);
VAR20:=(COUNT((CLOSE > MA(CLOSE,210)),50) >= 30);
VAR21:=(COUNT(((((MA(CLOSE,13) - MA(CLOSE,60)) / MA(CLOSE,60)) * 100) < 30),60) >= 20);
VAR22:=(((((REF(CLOSE,1) - MA(CLOSE,60)) / MA(CLOSE,60)) * 100) < 35) AND ((((CLOSE - MA(CLOSE,60)) / MA(CLOSE,60)) * 100) > 0));
VAR23:=((((((VAR18 AND VAR19) AND VAR20) AND (MA(CLOSE,13) > MA(CLOSE,210))) AND (MA(CLOSE,210) > MA(CLOSE,250))) OR (((VAR21 AND VAR22) AND (MA(CLOSE,13) > MA(CLOSE,210))) AND (MA(CLOSE,210) > MA(CLOSE,250)))) OR ((VAR21 AND VAR22) AND (MA(CLOSE,60) > MA(CLOSE,250))));
VAR24:=((((REF(CLOSE,1) / REF(LOW,6)) < 1.15) OR (REF(CLOSE,1) < REF(CLOSE,3))) OR (REF(((HHV(HIGH,5) - LLV(LOW,5)) / LLV(LOW,5)),1) < 0.15));
VAR25:=((((CLOSE / REF(CLOSE,1)) > 1.06) AND (CLOSE > OPEN)) AND (FROMOPEN <= 240));
VAR26:=REF(((((HHV(CLOSE,14) / LLV(CLOSE,14)) - 1) * 100) <= 15),1);
VAR27:=((REF(CLOSE,1) / LLV(LOW,80)) <= 1.45);
VAR28:=(((HHV(HIGH,250) - LLV(LOW,250)) / LLV(LOW,300)) * 100);
VAR29:=((VAR28 > 0) AND (VAR28 <= 120));
VAR30:=VOL;
VAR31:=MA(VAR30,5);
VAR32:=MA(VAR30,135);
VAR33:=(REF((COUNT((VAR30 > VAR32),15) >= 10),1) OR REF((COUNT((VAR31 < VAR32),7) >= 5),1));
VAR34:=(((VAR8 - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);
VAR35:=(COUNT((VAR34 < 9),15) >= 7);
VAR36:=(("MACD.MACD" > REF("MACD.MACD",1)) AND ("MACD.MACD" <= 0));
VAR37:=(EMA(CLOSE,12) - EMA(CLOSE,26));
VAR38:=EMA(VAR37,9);
VAR39:=((VAR37 - VAR38) * 2);
VAR40:=(COUNT(CROSS(VAR37,VAR38),3) = 1);
VAR41:=(((COUNT((REF(VAR39,1) < REF(VAR39,2)),3) >= 1) AND (VAR39 >= 0)) AND (VAR39 > REF(VAR39,1)));
VAR42:=(VAR40 OR VAR41);
VAR43:=(EMA(CLOSE,2) - EMA(CLOSE,89));
VAR44:=EMA(VAR43,30);
VAR45:=((2 * (VAR43 - VAR44)) * 10);
VAR46:=((POW(VAR45,3) * 0.1) + POW(VAR45,2));
VAR47:=(IF((VAR45 > 0.015),VAR46,0) / 45);
VAR48:=VAR47;
VAR49:=(EMA(CLOSE,2) - EMA(CLOSE,150));
VAR50:=EMA(VAR49,100);
VAR51:=(2 * (VAR49 - VAR50));
VAR52:=((POW(VAR51,3) * 0.1) + POW(VAR51,1));
VAR53:=(IF((VAR51 > 0.1),VAR52,0) * 5);
VAR54:=(((COUNT(((VAR48 > 0) OR (VAR53 > 0)),5) >= 3) AND (VAR48 > REF(VAR48,1))) AND (VAR53 > REF(VAR53,1)));
VAR55:=(SMA(AMOUNT,10,1) / 10000000);
VAR56:=MA(VAR55,8);
VAR57:=((VAR55 >= REF(VAR55,1)) AND (VAR55 > VAR56));
VAR58:=EMA(COST(95),9);
VAR59:=REF(BETWEEN(((HHV(VAR58,21) - LLV(VAR58,21)) / VAR58),0,0.08),1);
VAR60:=(((CLOSE > VAR58) AND REF(BETWEEN(((HHV(VAR58,50) - LLV(VAR58,50)) / VAR58),0,0.05),6)) AND (REF(COUNT(((VAR58 - REF(VAR58,1)) <= 0.02),30),1) >= 17));
VAR61:=((CROSS(CLOSE,VAR58) AND (REF(COUNT(((VAR58 - REF(VAR58,1)) <= 0.02),30),1) >= 17)) AND VAR59);
VAR62:=(((VAR37 > VAR38) AND (VAR37 > 0)) AND (VAR38 > 0));
VAR63:=((VAR54 AND VAR57) AND VAR62);
VAR64:=((WINNER(CLOSE) * 100) > 92);
VAR65:=(((VOL / CAPITAL) * 100) >= 5);
VAR66:=(COUNT(((VOL / REF(VOL,1)) >= 1.5),3) >= 1);
VAR67:=((((((CROSS(CLOSE,VAR8) AND VAR23) AND VAR27) AND VAR25) AND (CLOSE > REF(HHV(HIGH,50),1))) AND VAR24) AND VAR26);
VAR68:=(VAR67 AND ((REF(BARSLAST(VAR67),1) > 10) OR (BARSSINCE(VAR67) = 0)));
VAR69:=((((((((CROSS(CLOSE,VAR8) AND CROSS(CLOSE,VAR58)) AND (VOL > VAR32)) AND REF(BETWEEN(((HHV(VAR58,40) - LLV(VAR58,40)) / VAR58),0,0.08),1)) AND ((CLOSE / REF(CLOSE,1)) > 1.06)) AND ((CLOSE / OPEN) > 1.03)) AND VAR65) AND VAR35) AND (CLOSE > REF(HHV(HIGH,50),1)));
VAR70:=(((((VAR15 AND VAR29) AND VAR42) AND VAR33) AND VAR35) OR ((((VAR68 AND VAR29) AND VAR42) AND VAR33) AND VAR35));
VAR71:=((((VAR70 AND VAR60) AND VAR66) OR (VAR70 AND VAR61)) OR (VAR69 AND VAR63));
鳄鱼嘴涨停板:(VAR71 AND VAR16);
启爆A0:=EVERY(OPEN>CLOSE,3);
启爆A1:=C/REF(C,1)>1.03;
启爆A2:=SMA(MAX(CLOSE-REF(C,1),0),2,1)*C*102;
启爆A3:=SMA(ABS(CLOSE-REF(C,1)),2,1)*C*100;
启爆A4:=启爆A2/启爆A3*100<10;
启爆A5:=启爆A0 AND 启爆A4;
启爆A6:=MA(C,5)<REF(MA(C,5),1);
启爆A7:=REF(MA(C,5),4)>REF(MA(C,5),5);
启爆A8:=(H-C)/C*100<1 AND REF((O-C)/C*100>1,1) AND KDJ.J>25;
起爆点:(启爆A5,1) AND C>O AND 启爆A1 AND 启爆A6 AND 启爆A7 AND 启爆A8,STICK;
DRAWTEXT(起爆点,0.70,'启爆'),COLOR00FFFF;
XA_1:=EMA(EMA(EMA(HIGH,13),13),13);
XA_2:=EMA(EMA(EMA(LOW,13),13),13);
XA_3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
XA_4:=XA_3>9.85 AND HIGH<XA_1*1.25*100;
涨停捉妖正版:FILTER(XA_4,5);