X1:=IF(MA(C,5)>MA(C,10),20,0);
X2:=IF(MA(C,20)>MA(C,60),10,0);
X3:=IF(kdj.J>kdJ.K,10,0);
X4:=IF(macd.DIF>MACD.DEA,10,0);
X5:=IF(MACD.MACD>0,10,0);
X6:=IF(V>MA(V,60),10,0);
X7:=IF(WINNER(C)>0.5,10,0);
X8:=IF(C/REF(C,1)>1.03,10,0);
XX:=X1+X2+X3+X4+X5+X6+X7+X8;
ZTJ:=ZTPRICE(REF(C,1),0.1);
涨停板1:=FINANCE(3)=1&&C=ZTPRICE(REF(C,1),0.1);
涨停板2:=FINANCE(3)=3&&C=ZTPRICE(REF(C,1),0.2);
涨停板:=涨停板1 OR 涨停板2;
k线实体:=Abs(C-O);
倍量:=V/REF(MA(V,5),1)>=2&&V/REF(V,1)>=1.2;
三倍量:=V/REF(V,1)>=2;
双倍量0:=倍量 OR 三倍量;
双倍量:=双倍量0&&C>O&&H=HHV(H,6)&&C>EMA(C,13)&&V=HHV(V,6);
建仓量:=TFILTER(双倍量&&K线实体>REF(K线实体,1),EVERY(V<MA(V,5),2),1);
JCZQ:=BARSLAST(建仓量);
拉升量:=双倍量&&NOT(建仓量)&&EXIST(建仓量,2);
试盘量:=建仓量 OR 拉升量;
位置要求:=L/EMA(C,13)<1.05;
红线上行:=EMA(C,13)>=REF(EMA(C,13),1);
SPX0:=H/REF(C,1)>=1.03&&双倍量&&H/C>1.005&&C/REF(C,1)>1.015&&位置要求
&&FINANCE(3)=1&&XX>=40;
SPX1:=H/REF(C,1)>=1.05&&双倍量&&H/C>1.005&&C/REF(C,1)>1.015&&位置要求
&&(FINANCE(3)=3 OR FINANCE(3)=4)&&XX>=40;
SPX2:=SPX0 OR SPX1;
SPX3:=SPX2&&NOT(EXISTR(SPX2,7,1))&&COUNT(涨停板,2)=0;
试盘K线:=FILTER(SPX3,5);
SPZQ:=BARSLAST(试盘K线);
试盘最高不破:=LAST(H<=REF(H,SPZQ),2,1);
洗盘不破:=COUNT(EMA(C,13)<REF(EMA(C,13),1),SPZQ)<2;
洗盘K00:=C<O&&H<REF(H,1);
洗盘K0:=EXIST(试盘K线,4)&&H<HHV(H,SPZQ+1)&&C>=EMA(C,13)&&L<=REF(C,SPZQ)&&C<O
&&COUNT(洗盘K00,SPZQ)<2&&C>EMA(C,13)&&V<HHV(V,SPZQ+1);
洗盘K:=TFILTER(洗盘K0,试盘K线,1);
XPZQ:=BARSLAST(洗盘K);
起爆K0:=EXISTR(试盘K线,10,2)&&C>REF(H,XPZQ)&&O<=REF(H,XPZQ)&&EXISTR(洗盘K,SPZQ,1)&&C>O
&&洗盘不破&&(H-C)/(C-O)<1.2&&COUNT(C>REF(H,XPZQ),XPZQ)=1;
起爆K1:=EXISTR(试盘K线,10,2)&&EVERY(C>=EMA(C,13),SPZQ)&&C>REF(H,XPZQ)&&O<REF(H,SPZQ)
&&EXISTR(洗盘K,SPZQ,1)&&涨停板&&COUNT(涨停板,10)=1&&L<REF(H,XPZQ);
起爆K2:=起爆K0 OR 起爆K1;
起爆K:=FILTER(起爆K2,5)&&XX>=70&&(H-MAX(O,REF(H,XPZQ)))>(MAX(O,REF(H,XPZQ))-L)*0.9;
拉板建仓:=FILTER(ZTPRICE(REF(C,1),0.1)&&建仓量&&COUNT(C=ZTJ,5)=1,10)&&COUNT(起爆K,SPZQ)=0&&NOT(试盘K线);
LBZQ:=BARSLAST(拉板建仓);
次日起爆0:=COUNT(试盘K线,2)=1&&COUNT(试盘K线,1)<1&&K线实体<REF(K线实体,1)&&V/REF(V,1)<1.8
&&NOT(涨停板)&&拉升量&&C/REF(C,1)>1.03;
次日起爆1:=COUNT(拉板建仓,2)=1&&COUNT(拉板建仓,1)<1&&K线实体<REF(K线实体,1)&&V/REF(V,1)<2
&&(C-O)/REF(C,1)>0.01&&NOT(涨停板)&&拉升量&&O/REF(C,1)>1.01&&H/REF(C,1)>1.09;
次日起爆:=次日起爆0 OR 次日起爆1;
龙回头:=FILTER(EXIST(拉板建仓,5)&&COUNT(EVERY(C<O,2),LBZQ)>0&&C>O&&O<REF(C,LBZQ)&&H>REF(C,LBZQ),3)&&NOT(涨停板);
二板龙头:=COUNT(拉板建仓,2)=1&&涨停板&&拉升量;
首板起爆:=EXIST(试盘K线,20)&&涨停板&&COUNT(涨停板,SPZQ)=1&&O<REF(C,SPZQ)&&C>REF(C,SPZQ);
倍量板:=FILTER(XX>50&&倍量&&涨停板&&K线实体>0.05&&COUNT(C=ZTJ,2)=1&&L/EMA(C,13)<1.05,5)&&NOT(起爆K);
倍量阳:=倍量板 OR 试盘K线;
DYZQ:=BARSLAST(倍量阳);
涨停回马枪0:=涨停板&&K线实体>0.05&&EXISTR(倍量阳,5,3)&&C>REF(H,DYZQ)&&COUNT(涨停板,2)=1
&&EXISTR(C<REF(C,1),4,1)&&EXISTR(L/EMA(C,13)<1.01,4,1)&&L<=REF(H,DYZQ)&&O/REF(H,DYZQ)<1.02;
涨停回马枪1:=涨停板&&K线实体>0.05&&EXISTR(试盘K线,5,3)&&C>REF(H,SPZQ)&&COUNT(涨停板,2)=1
&&EXISTR(C<REF(C,1),4,1)&&EXISTR(L/EMA(C,13)<1.01,4,1)&&L<=REF(H,SPZQ)&&O/REF(H,SPZQ)<1.02;
涨停回马枪:=涨停回马枪0 OR 涨停回马枪1;
倍量首板:FILTER(倍量板&&NOT(涨停回马枪),5);
量化强度主图之倍量首板选股指标公式
本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/107245.html