涨停:=BETWEEN(CLOSE/REF(CLOSE,1),1.0989,1.110) AND C=H AND C>O;
MKH:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DFG:=DMA(CLOSE,MKH);
SG:=(1+7/100)*DFG;
XG:=(1-7/100)*DFG;
ZG:=(SG+XG)/2;
DFO:=(C-REF(C,1))/REF(C,1)*100<-5;
Aao:=BArslAST(DFO);
突破箱体:=crOSS(C,REF(O,AAO));
量化V型反选3:=EXIST(DFO,3) AND 突破箱体;
量化1:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
量化2:=(REF(量化1,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
量化3:=(REF(量化2,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
量化4:=(REF(量化3,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
量化5:=(REF(量化4,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
量化6:=(REF(量化5,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
量化7:=(REF(量化6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
量化8:=(REF(量化7,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
量化9:=(REF(量化8,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
量化10:=(REF(量化9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
量化11:=(REF(量化10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
量化12:=(REF(量化11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
量化13蓝:=REF(量化1 OR 量化2 OR 量化3 OR 量化4 OR 量化5 OR 量化6 OR 量化7 OR 量化8 OR 量化9 OR 量化10 OR 量化11 OR 量化12,1) AND 涨停;
RU9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KU1:=SMA(RU9,3,1);
DU1:=KU1-REF(KU1,1);
FD1:=IF(DU1>7 AND REF(DU1,1)<0 AND (DU1-REF(DU1,1))>9,50,0);
量化14绿:=FD1=50 OR REF("kdj.J",1)<0 AND "kdJ.J">0 AND 涨停;
量化15红:=量化13蓝 AND 量化14绿 AND 涨停;
量化13蓝过滤:=IF((量化14绿),DRAWNULL,量化13蓝);
形态1:=(量化13蓝过滤 OR 量化15红) AND C>O AND C<ZG;
形态2:=(量化13蓝过滤 OR 量化15红) AND C>O;
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;
量化比例2:=ABS(C-O)/C>0.07;
量化比例3:=ABS(C-O)/C>0.06;
统一价:=DYNAINFO(7)>3 AND DYNAINFO(7)<40;
统一盘:=CAPITAL/1000000>=0.3 AND CAPITAL/1000000<9;
V手1:=BETWEEN(SUM(HSCOL,20),12,20) OR BETWEEN(SUM(HSCOL,20),23,37) OR BETWEEN(SUM(HSCOL,20),39,49)OR BETWEEN(SUM(HSCOL,20),51,164) OR SUM(HSCOL,20)>166;
V手2:=BETWEEN(SUM(HSCOL,20),12,16) OR BETWEEN(SUM(HSCOL,20),18,19) OR BETWEEN(SUM(HSCOL,20),21,32)OR BETWEEN(SUM(HSCOL,20),36,48) OR BETWEEN(SUM(HSCOL,20),50,60) OR BETWEEN(SUM(HSCOL,20),62,68)OR BETWEEN(SUM(HSCOL,20),70,74) OR BETWEEN(SUM(HSCOL,20),76,102) OR BETWEEN(SUM(HSCOL,20),104,126)OR BETWEEN(SUM(HSCOL,20),128,164) OR BETWEEN(SUM(HSCOL,20),166,267) OR BETWEEN(SUM(HSCOL,20),269,512);
V手3:=BETWEEN(SUM(HSCOL,20),0,22) OR BETWEEN(SUM(HSCOL,20),24,30) OR BETWEEN(SUM(HSCOL,20),32,130)OR BETWEEN(SUM(HSCOL,20),132,164) OR BETWEEN(SUM(HSCOL,20),166,267) OR SUM(HSCOL,20)>269;
V手4:=BETWEEN(SUM(HSCOL,20),12,20) OR BETWEEN(SUM(HSCOL,20),23,32) OR BETWEEN(SUM(HSCOL,20),36,48)OR BETWEEN(SUM(HSCOL,20),52,69) OR BETWEEN(SUM(HSCOL,20),71,81) OR BETWEEN(SUM(HSCOL,20),83,89)OR BETWEEN(SUM(HSCOL,20),91,99) OR BETWEEN(SUM(HSCOL,20),101,111) OR BETWEEN(SUM(HSCOL,20),113,164)OR BETWEEN(SUM(HSCOL,20),166,267) OR SUM(HSCOL,20)>269;
V手5:=BETWEEN(SUM(HSCOL,20),12,20) OR SUM(HSCOL,20)>23;
V手6:=BETWEEN(SUM(HSCOL,20),0,28) OR SUM(HSCOL,20)>31;
V手7:=BETWEEN(SUM(HSCOL,20),5,17) OR BETWEEN(SUM(HSCOL,20),21,22) OR BETWEEN(SUM(HSCOL,20),24,28)OR BETWEEN(SUM(HSCOL,20),30,32) OR BETWEEN(SUM(HSCOL,20),36,60) OR BETWEEN(SUM(HSCOL,20),62,130)OR BETWEEN(SUM(HSCOL,20),132,164) OR BETWEEN(SUM(HSCOL,20),166,267) OR SUM(HSCOL,20)>269;
VA1:=(C-MA(C,30))/MA(C,30)*100;
VA2:=VA1<-3;
VB2:=(H-L)/L>0.07 AND (C-O)/O>0.07 AND C/REF(C,1)>1.05;
VB3:=急速超跌 AND VB2;
VL1:="bias.BIAS3"<-6;
VE1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
VE2:=CROSS(VE1,-87) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.099*REF(CLOSE,1)AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);
VF1:=HHV(dmi.ADX,10)>65;
VF2:=IF(O<XS2.通道2 AND C>XS2.通道2 AND O<XS2.通道4 AND C>XS2.通道4 AND VF1,70,0);
V中长期:=100*(C-LLV(L,34))/(HHV(C,34)-LLV(L,34));
V长期:=EMA(V中长期,13);
V选股:=V长期<20 AND CROSS(V中长期,V长期);
V选1:=VE2 AND 形态1 AND 量化比例2 AND 量化V型反选3 AND C<EMA(C,99) AND V手1 AND 统一盘 AND 统一价;
V选2:=VA2 AND 形态1 AND 量化比例3 AND 量化V型反选3 AND V手2 AND 统一盘 AND 统一价;
V选3:=VB3 AND 形态2 AND 量化比例2 AND V手3 AND 统一盘 AND 统一价;
V选4:=VL1 AND 形态1 AND 量化比例2 AND V手4 AND 统一盘 AND 统一价;
V选5:=VF2 AND 形态2 AND 量化比例2 AND 量化V型反选3 AND C<EMA(C,60) AND V手5 AND 统一盘 AND 统一价;
V选6:=VF2 AND 形态2 AND 量化比例2 AND REF(急速超跌,2) AND REF(急速超跌,1) AND 突破箱体 AND CROSS(C,expma(C,13))AND V手6 AND 统一盘 AND 统一价;
V选7:=V选股 AND 形态2 AND 量化比例2 AND 量化V型反选3 AND V手7 AND 统一盘 AND 统一价;
量化V型反转:V选1 OR V选2 OR V选3 OR V选4 OR V选5 OR V选6 OR V选7;