以下是底部暴涨牛股起爆点指标公式和选股公式源码和使用说明
底部暴涨牛股起爆点指标公式和选股公式源码:
涨停:=C/REF(C,1)>1.095;
涨停10日:=COUNT(涨停,10);
涨幅:=C/REF(C,1)-1<0.05;
选股1:=涨停10日AND涨幅;
bs:=COUNT(涨停,10)<2;
M10:=ma(C,7);
M20:=MA(C,14);
M30:=MA(C,25);
VV:=M10>M20ANDM20>M30;
S1:=IF(NAMELIKE(‘S’),0,1);
S2:=IF(NAMELIKE(‘*’),0,1);
回踩均线:=C>MA(C,7)ANDcrOSS(MA(C,7),L);
S3:=DYNAINFO(17)>0;
XG:S1ANDS2ANDS3AND选股1AND回踩均线ANDVV;
MA5:=EMA(C,5);
MA10:=EMA(C,10);
VV1:=CROSS(MA5,MA10);
VVV1:=COUNT(VV1,5)>=1;
MV5:=EMA(V,5);
MV10:=EMA(V,10);
VV2:=CROSS(MV5,MV10);
VVV2:=COUNT(VV2,5)>=1;
DIF:=”macd.DIF”(12,26,9);
DEA:=”MacD.DEA”(12,26,9);
VV3:=CROSS(DIF,DEA);
VVV3:=COUNT(VV3,5)>=1;
VVV4:=ABS((C-MA10)/MA10)*100<2ANDC<REF(C,1);
涨停N:=C/REF(C,1)>=1.097;
VVV5:=COUNT(涨停N,5)>=1;
买入:VVV1ANDVVV2ANDVVV3ANDVVV4ANDVVV5;
VAR1N:CROSS(MA(C,13),C)ANDMA(C,13)>REF(MA(C,13),1)ANDINDEXC>MA(INDEXC,13)ANDMA(C,13)>MA(C,55)ANDV<REF(V,1);
VAR6B:=REF(LOW,1)*0.83;
VAR7B:=LOW*0.1;
VAR8B:=(VAR7B*vol+VAR6B*(CAPITAL-VOL))/CAPITAL;
VAR9B:=EMA(VAR8B,60);
VARA:=EMA(VAR6B,60);
VARB:=VARA-2;
VARCB:=IF(C<=VAR9B,VARB,VARA);
VARDB:=MA(C,80)-MA(C,10)/17;
抄底:FILTER(VARCB-VARB=0ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF
(EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)
-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),4);
ZT:=CLOSE>REF(CLOSE,1)*1.095;
涨停后回调:REF(ZT,2)ANDREF(C,1)>CANDREF(V,1)>VANDREF(C<O,1)ANDC<OANDREF(C,1)<REF(C,2)ANDREF(V,2)>REF(V,1),COLORYELLOW;
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1ANDC>REF(C,1);
LJL:=FILTER(TJ1,3);
黄金线:=REF(LOW,BArslAst(LJL));
黄金柱:=FILTER(TJ1,3);
{2.倍量过左峰}
SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HD:=FILTER(SR3,10);
前高:=REF(H,BARSLAST(HD));
倍量:=(VOL/REF(VOL,1)>2ANDCOUNT(CLOSE>OPEN,1))OR(LOW>REF(HIGH,1)ANDCOUNT(OPEN>CLOSE,1)ANDVOL/REF(VOL,1)>2);
突破前高:=CROSS(C,前高);
倍量过左峰:=突破前高AND倍量;
{3.凹口起柱}
T7:=REF(VOL,6)/REF(VOL,7)>=2;
T6:=REF(VOL,5)/REF(VOL,6)>=2;
T5:=REF(VOL,5)/REF(VOL,4)>=1.5;
T4:=REF(VOL,4)/REF(VOL,3)>=1.5;
T3:=REF(VOL,2)/REF(VOL,3)>=1.5;
T1:=V/REF(VOL,1)>2;
T0:=C>OANDC>REF(C,1);
凹口起柱:=T7ANDT1ANDT0ORT6ANDT1ANDT0ORT5ANDT1ANDT0ORT4ANDT1ANDT0
ORT3ANDT1ANDT0;
{凹口起柱}
AKQZ:=黄金柱AND凹口起柱;
{4.前高低位}
X:=21;
TTY:=H;
AAT:=REF(TTY,X)=HHV(TTY,2*X+1);
BBT:=FILTER(AAT,X);
CCT:=BACKSET(BBT,X+1);
HD10T:=FILTER(CCT,X);
AA1T:=REF(TTY,X)=LLV(TTY,2*X+1);
BB1T:=FILTER(AA1T,X);
CC1T:=BACKSET(BB1T,X+1);
LD10T:=FILTER(CC1T,X);
前期高位:=REF(H,BARSLAST(HD10T));
前期低位:=REF(L,BARSLAST(LD10T));
{突破前高}
TPQG:=黄金柱AND倍量过左峰ANDC>前期高位;
{选股}
XGNNB:(COUNT(TPQG,10)ORCOUNT(AKQZ,10))ANDCOUNT(CROSS(黄金线*1.01,L),3)>0ANDL>=黄金线ANDC>REF(C,1)ANDREF(C,2)>REF(C,1)ANDCOUNT(LJL,3)=0;
A:=C<O;
B:=COUNT(A,4)=4;
D:=obv-MA(OBV,30);
E:=MA(C,20)>REF(MA(C,20),1)ANDMA(C,55)>REF(MA(C,55),1);
XGB:BANDD>0ANDE;
连跌不超五天:=COUNT(DOWNNDAY(CLOSE,5),14)<1;
EMA14:=EMA(C,14);
最近放量:=(SUM(V,17)-HHV(V,17))/(SUM(V,60)-LLV(V,60))>=0.45;
创新高:=HHV(C,10)/HHV(C,144)>=0.8;
大趋势涨:=EMA14>EMA(C,60);
小趋势跌:=ABS(LLV(C,3)-EMA14)/EMA14<0.03;
最近放量AND大趋势涨AND小趋势跌AND创新高AND连跌不超五天;
N:=60;
XGNN:IF(CURRBARSCOUNT<=N,V=CONST(LLV(V,N)),DRAWNULL);
AA1:=AMOUNT/V;
BB1:=L1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:BB1ANDCC1ANDDD1ANDEE1;
VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);
VARD:=EMA(IF(C<EMA(C,250),VARC*1000,VARC*10),3);
火焰山:EMA(IF(L<=LLV(L,30),VARD/2+HHV(VARD,30),0),3)/618>100;
VAR3:=1;
VAR4:=MA(CLOSE,5);
VAR5:=MA(CLOSE,10);
VAR6:=MA(CLOSE,30);
VAR7:=MA(CLOSE,60);
VAR8:=EMA(COST(85),7);
VAR9:=EMA(COST(15),7);
VARAB:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VARBB:=INTPART(VARAB*100)/100;
VARCV:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VARDV:=INTPART(VARCV*100)/100;
VAREV:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VARFV:=INTPART(VAREV*100)/100;
短线趋势:=EMA(CLOSE,5)-EMA(CLOSE,10);
中线趋势:=EMA(短线趋势,30);
VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR14:=REF(中线趋势,1);
VAR15:=中线趋势;
VAR16:=VAR15-VAR14;
VAR17:=REF(短线趋势,1);
VAR18:=短线趋势;
VAR19:=VAR18-VAR17;
VAR1A:=OPEN;
VAR1B:=CLOSE;
超级牛魔王:IF(VAR1A<=VAR4ANDVAR1A<=VAR5ANDVAR1A<=VAR6ANDVAR1B>=VAR4ANDVAR1B>=VARFVANDVAR16>0ANDVAR19>0ANDVAR3=1,0.5,0);
短线指标:IF(CROSS(短线趋势,中线趋势)AND短线趋势<0AND中线趋势<-0.2ANDVAR11>45ANDVAR16>0ANDVAR3=1,1,0);
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*10000;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*10000;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*10000;
长线:=SMA(RSV3,5,1),COLORYELLOW;
黄金坑:=短线<2000AND中线<2000AND长线<2000;
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORMAGENTA;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK2;
强市线:=80,POINTDOT;
弱市线:=20,POINTDOT;
分水岭:=50,POINTDOT;
多空:=长期<10;
NC:=5;
N1:=1;
M1:=22;
P:=19;
SJV:=C/FINANCE(34)<NC;
FZL:=FINANCE(11)/FINANCE(15)>N1;
XGC:=SJVANDFZL;
DC:=FINANCE(34)>0;
AC:=FINANCE(34);
BC:=CLOSE;
T1CC:IF(((BC/AC<3)ANDDCAND黄金坑AND多空ANDXGC),1,0);
NB:=10;
VAR1C:=AMOUNT/VOL/7;
VAR2C:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3C:=SUM(AMOUNT,NB)/VAR1C/7;
VAR4C:=DMA(VAR2C,VOL/VAR3C);
抄底C:=(CLOSE-VAR4C)/VAR4C*100;
CROSS(-7.0,抄底);
牛股起爆点:15,COLORGREEN;
指标公式:20,COLORGREEN;
和选股公式:100,COLORRED;
分享:=SUM(VOL,43)/CAPITAL;
A:=LLV(DMA(CLOSE,VOL/CAPITAL),120);
cccsd:200*(CLOSE-A)/A,COLORRED,LINETHICK2;
cccsd2:EMA(cccsd,10),LINETHICK2;
cccsd3:EMA(cccsd2,20),LINETHICK2;
dsfds1:=MA(CLOSE,60);
dsfds2:=MA(CLOSE,120);
dsfds3:=MA(CLOSE,250);
dsfds4:(dsfds1>dsfds2ANDdsfds2>dsfds3ANDC>COST(99.99)ANDcccsd>100)*200;
dsfds6:((dsfds1>dsfds2ANDdsfds2>dsfds3ANDCROSS(cccsd2,100))OR(dsfds1>dsfds2ANDCROSS(cccsd2,200)))*300,LINETHICK2;
200;300;500;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120),COLORLIBLUE;
MA250:MA(CLOSE,250),COLORBLUE;
{DRAWKLINE(H,O,L,C);
DRAWTEXT_FIX(1,0.65,1,0,’涨停:’),COLORRED;
DRAWTEXT_FIX(1,0.73,1,0,’跌停:’),COLORGREEN;}
DRAWNUMBER_FIX(1,0.68,1,0,CONST(BARSLAST(CLOSE/REF(CLOSE,1)>=1.095))),COLORRED;
DRAWNUMBER_FIX(1,0.76,1,0,CONST(BARSLAST(CLOSE/REF(CLOSE,1)<=0.9015))),COLORGREEN;
{DRAWTEXT(CROSS(MA10,MA20),L,’10’),COLORLIMAGENTA;}
DRAWTEXT(CROSS(MA20,MA30),L,’牛相关注20′),COLORMAGENTA;
DRAWTEXT(CROSS(MA30,MA60),L,’初生牛犊30′),COLORGREEN;
DRAWTEXT(CROSS(MA60,MA120),L,’霸占大牛60′),COLORBLUE;
DRAWTEXT(CROSS(MA120,MA250),L,’牛气冲天120′),COLORYELLOW;
底部暴涨牛股起爆点指标公式和选股公式截图
评论(0)