好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式五行量化副图下载

五行量化副图下载

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2019-08-22 08:14:16
  • 指标公式标签:五行量化
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:五行量化副图下载

五行量化副图源码下载:

 该选股公式是针对理想路弹力的五行量化副图指标编写的选股预警公式,首先感谢原创副图作者;选股思路:是昨日全是绿柱,今日红柱要大于等于4根;我使用的是免费通达信软件。该指标发出信号后要参照其他指标同时关注板块的强弱优选。
 

{量化筹码模型}
日线锁定:=iff(period>=4,1,drawnull);
cmn:=20;

trenda:=winner(c)*100;
cmqs1:=wma(trenda,8);
cmqs2:=wma(trenda,13);
cmqs3:=wma(trenda,21);
cmqs4:=wma(trenda,34);
cmqs5:=wma(trenda,55);

{01~05}
cm01:=cmqs1>ref(cmqs1,1);
cm02:=cmqs2>ref(cmqs2,1);
cm03:=cmqs3>ref(cmqs3,1);
cm04:=cmqs4>ref(cmqs4,1);
cm05:=cmqs5>ref(cmqs5,1);

{06~10}
cm06:=trenda>cmqs1;
cm07:=trenda>cmqs2;
cm08:=trenda>cmqs3;
cm09:=trenda>cmqs4;
cm10:=trenda>cmqs5;
{www.70822.com}

{11~14}
cm11:=cmqs1>cmqs2;
cm12:=cmqs1>cmqs3;
cm13:=cmqs1>cmqs4;
cm14:=cmqs1>cmqs5;
{15~17}
cm15:=cmqs2>cmqs3;
cm16:=cmqs2>cmqs4;
cm17:=cmqs2>cmqs5;

{18~19}
cm18:=cmqs3>cmqs4;
cm19:=cmqs3>cmqs5;

{20}
cm20:=cmqs4>cmqs5;

量化筹码:=iff(c>0 and 日线锁定,ema(((cm01+cm02+cm03+cm04+cm05+cm06+cm07+cm08+cm09+cm10+
cm11+cm12+cm13+cm14+cm15+cm16+cm17+cm18+cm19+cm20)*(100/cmn)),2),drawnull);

xg1:=量化筹码>=ref(量化筹码,1) and ref(量化筹码,1)<ref(量化筹码,2);

{2量化量能模型}

方向成交量:=iff(close>=open,vol,vol*(-1));
lhlnmid:=(3*close+open+high+low)/6;
lhln短线:=wma(lhlnmid,5);
lhln中线:=wma(lhlnmid,10);
lhln多头:=lhln短线>lhln中线;

p01:=sum(方向成交量,1)>0;
p02:=sum(方向成交量,2)>0;
p03:=sum(方向成交量,3)>0;
p04:=sum(方向成交量,4)>0;
p05:=sum(方向成交量,5)>0;

sum11:=sum(方向成交量,11);
sum12:=sum(方向成交量,12);
sum13:=sum(方向成交量,13);
sum14:=sum(方向成交量,14);
sum15:=sum(方向成交量,15);
sum16:=sum(方向成交量,16);
sum17:=sum(方向成交量,17);
sum18:=sum(方向成交量,18);
sum19:=sum(方向成交量,19);
sum20:=sum(方向成交量,20);
{好公式网-最好的股票公式网站 www.goodgongshi.com}
p11:=sum11>0 and sum11>ref(sum11,1);
p12:=sum12>0 and sum12>ref(sum12,1);
p13:=sum13>0 and sum13>ref(sum13,1);
p14:=sum14>0 and sum14>ref(sum14,1);
p15:=sum15>0 and sum15>ref(sum15,1);
p16:=sum16>0 and sum16>ref(sum16,1);
p17:=sum17>0 and sum17>ref(sum17,1);
p18:=sum18>0 and sum18>ref(sum18,1);
p19:=sum19>0 and sum19>ref(sum19,1);
p20:=sum20>0 and sum20>ref(sum20,1);

mazj05:=ma(方向成交量,5);
mazj10:=ma(方向成交量,10);
mazj15:=ma(方向成交量,15);
mazj20:=ma(方向成交量,20);
ma01:=mazj05>mazj10;
ma02:=mazj05>mazj15;
ma03:=mazj05>mazj20;
ma04:=mazj10>mazj15;
ma05:=mazj10>mazj20;
ma06:=mazj15>mazj20;

基准线1:=ema(ema(ema(ema(iff(方向成交量>=0,方向成交量,0),20),2),2),2);
基准线6:=基准线1*6;
zjdl10:=iff(方向成交量>基准线6,10,iff(方向成交量<=基准线6 and 方向成交量>0,10*方向成交量/基准线6,0));

{长中短线}
短线总量:=sum(方向成交量,3);
短线总量10:=ema(短线总量,10);
短线总量60:=ema(短线总量,60);
短线总量20:=ema(短线总量,20);
短线总量30:=ema(短线总量,30);
czd01:=短线总量>短线总量10;
czd02:=短线总量20>短线总量30;
czd03:=短线总量10>短线总量60;
{长中短线}

总权:=53;
量化量能x:=iff(日线锁定 and c>0,ema(ema(100*(p01*2+p02*2+p03*5+p04*2+p05*2+p11*1+p12*1+p13*1+p14*1+p15*1+p16*1+p17*1+p18*1+p19*1+p20*1+
ma01*2+ma02*2+ma03*1+ma04*1+ma05*1+ma06*1+zjdl10+czd01*5+czd02*4+czd03*3)/总权,2),2),drawnull);
量化量能xx:=iff(lhln多头,量化量能x*1.2,量化量能x);
量化量能:=wma(iff(量化量能xx>=100,100,量化量能xx),3);
xg2:=量化量能>=ref(量化量能,1) and ref(量化量能,1)<ref(量化量能,2);

{全局控制}
{全局控制}
数量:=23;

{01}
dmadif:=ma(c,10)-ma(c,50);
dmaama:=ma(dmadif,10);
dmax:=dmadif>dmaama;
p001:=dmax;

{02}
dmitr:=expmema(max(max(h-l,abs(h-ref(c,1))),abs(ref(c,1)-l)),14);
dmihd:=h-ref(h,1);
dmild:=ref(l,1)-l;
dmidmp:=expmema(iff(dmihd>0 and dmihd>dmild,dmihd,0),14);
dmidmm:=expmema(iff(dmild>0 and dmild>dmihd,dmild,0),14);
dmipdi:=dmidmp*100/dmitr;
dmimdi:=dmidmm*100/dmitr;
dmix:=dmipdi>dmimdi;
p002:=dmix;

{03}
dpodpo:=c-ref(ma(c,20),20/2+1);
dpomadpo:=ma(dpodpo,6);
dpox:=dpodpo>dpomadpo;
p003:=dpox;

{04}
emvvolume:=ma(v,14)/v;
emvmid:=100*(h+l-ref(h+l,1))/(h+l);
emvemv:=ma(emvmid*emvvolume*(h-l)/ma(h-l,14),14);
emvmaemv:=ma(emvemv,9);
emvx:=emvemv>emvmaemv;
p004:=emvx;

{05}
macddif:=ema(c,12)-ema(c,26);
macddea:=ema(macddif,9);
macdx:=macddif>macddea;
p005:=macdx;

{06}
trixtr:=ema(ema(ema(c,12),12),12);
trixtrix:=(trixtr-ref(trixtr,1))/ref(trixtr,1)*100;
trixmatrix:=ma(trixtrix,9);
trixx:=trixtrix>trixmatrix;
p006:=trixx;

{08}
wvadwvad:=sum((c-o)/(h-l)*v,24)/10000;
wvadmawvad:=ma(wvadwvad,6);
wvadx:=wvadwvad>wvadmawvad;
p008:=wvadx;

{09}
jsjs:=100*(c-ref(c,5))/(5*ref(c,5));
jsmajs1:=ma(jsjs,5);
jsx:=jsjs>jsmajs1;
p009:=jsx;

{10}
cyemal:=ma(c,5);
cyemas:=ma(ma(c,20),5);
cyecyel:=(cyemal-ref(cyemal,1))/ref(cyemal,1)*100;
cyecyes:=(cyemas-ref(cyemas,1))/ref(cyemas,1)*100;
cyex:=cyecyel>cyecyes;
p010:=cyex;

{11}
jlhbvar1:=(c-llv(l,60))/(hhv(h,60)-llv(l,60))*80;
jlhbb:=sma(jlhbvar1,7,1);
jlhbvar2:=sma(jlhbb,5,1);
jlhbx:=jlhbb>jlhbvar2;
p011:=jlhbx;

{12}
cycjjj:=iff(dynainfo(8)>0.01,0.01*dynainfo(10)/dynainfo(8),dynainfo(3));
cycddd:=(dynainfo(5)<0.01 || dynainfo(6)<0.01);
cycjjjt:=iff(cycddd,1,(cycjjj<(dynainfo(5)+0.01) && cycjjj>(dynainfo(6)-0.01)));
cyccyc1:=iff(cycjjjt,0.01*expma(amount,5)/expma(vol,5),ema((high+low+close)/3,5));
cyccyc2:=iff(cycjjjt,0.01*expma(amount,13)/expma(vol,13),ema((high+low+close)/3,13));
cycx:=cyccyc1>cyccyc2;
p012:=cycx;

{13}
bbibbi:=(ma(c,3)+ma(c,6)+ma(c,12)+ma(c,24))/4;
bbix:=c>bbibbi;
p013:=bbix;

{14}
dditr:=max(abs(h-ref(h,1)),abs(l-ref(l,1)));
ddidmz:=iff((h+l)<=(ref(h,1)+ref(l,1)),0,max(abs(h-ref(h,1)),abs(l-ref(l,1))));
ddidmf:=iff((h+l)>=(ref(h,1)+ref(l,1)),0,max(abs(h-ref(h,1)),abs(l-ref(l,1))));
ddidiz:=sum(ddidmz,13)/(sum(ddidmz,13)+sum(ddidmf,13));
ddidif:=sum(ddidmf,13)/(sum(ddidmf,13)+sum(ddidmz,13));
ddiddi:=ddidiz-ddidif;
ddiaddi:=sma(ddiddi,30,10);
ddiad:=ma(ddiaddi,5);
ddix:=ddiaddi>ddiad;
p014:=ddix;

{15}
fslswl:=(expma(c,5)*7+expma(c,10)*3)/10;
fslsws:=dma(ema(c,12),max(1,100*(sum(v,5)/(3*capital))));
fslx:=fslswl>fslsws;
p015:=fslx;

{16}
mama1:=ma(c,5);
mama2:=ma(c,10);
maxx:=mama1>mama2;
p016:=maxx;

{17}
expema1:=expma(c,12);
expema2:=expma(c,17);
expmax:=expema1>expema2 and expema1>ref(expema1,1) and expema2>ref(expema2,1);
p017:=expmax;

{18}
pbx1:=(expma(c,4)+ma(c,4*2)+ma(c,4*4))/3;
pbx2:=(expma(c,6)+ma(c,6*2)+ma(c,6*4))/3;
pbxx:=pbx1>pbx2 and pbx1>ref(pbx1,1) and pbx2>ref(pbx2,1);
p018:=pbxx;

{19}
sarx:=c>sar(4,2,20);
p019:=sarx;

{20}
qltb:=iff(h>ref(c,1),h-ref(c,1)+c-l,c-l);
qlts:=iff(ref(c,1)>low,ref(c,1)-l+h-c,h-c);
qlvol_:=(qltb-qlts)*v/(qltb+qlts)/100;
qlvol_0:=dma(qlvol_,0.1);
qlvol_1:=dma(qlvol_,0.05);
qlres1:=qlvol_0-qlvol_1;
qllon:=sum(qlres1,0);
qllong:=qllon;
qlma1:=ma(qllon,10);
lonqlx:=qllong>ref(qllong,1) and qlma1>ref(qlma1,1) and qllong>qlma1;
p020:=lonqlx;

{21}
qlstb:=iff(h>ref(c,1),h-ref(c,1)+c-l,c-l);
qlsts:=iff(ref(c,1)>l,ref(c,1)-l+h-c,h-c);
qlsvol_:=(qlstb-qlsts)*v/(qlstb+qlsts)/100;
qlsvol_0:=dma(qlsvol_,0.1);
qlsvol_1:=dma(qlsvol_,0.05);
qlsshort:=qlsvol_0-qlsvol_1;
qlsma1:=ma(qlsshort,10);
shortqlx:=qlsshort>qlsma1;
p021:=shortqlx;

{22}
amvamv0:=v*(o+c)/2;
amvamv1:=sum(amvamv0,5)/sum(v,5);
amvamv2:=sum(amvamv0,13)/sum(v,13);
amvx:=amvamv1>amvamv2;
p022:=amvx;

{23}
mtmmtm:=c-ref(c,12);
mtmmamtm:=ma(mtmmtm,6);
mtmx:=mtmmtm>mtmmamtm;
p023:=mtmx;

{24}
zjtjvar1:=ema(ema(c,9),9);
zjtj控盘:=(zjtjvar1-ref(zjtjvar1,1))/ref(zjtjvar1,1)*1000;
yzkpx:=zjtj控盘>ref(zjtj控盘,1) and zjtj控盘>0;
p024:=yzkpx;

{已去掉第七项}
量化趋势:=iff(c>0 and 日线锁定,(p001+p002+p003+p004+p005+p006+p008+p009+p010+p011+p012+
p013+p014+p015+p016+p017+p018+p019+p020+p021+p022+p023+p024)*(100/数量),drawnull);{读取这个量化数据即可}
xg3:=量化趋势>=ref(量化趋势,1) and ref(量化趋势,1)<ref(量化趋势,2);

{量化指标模型}
zbslpg:=22;

{01.四海腾龙}
ltshpg:=100-100*(hhv(h,40)-c)/(hhv(h,40)-llv(l,40));
zb01:=ltshpg>=50;

{02.macd}
difpg:=ema(c,12)-ema(c,26);
deapg:=ema(difpg,9);
zb02:=difpg>deapg;

{03~05.趋势顶底}
apg:=ma((-100)*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)),19);
bpg:=(-100)*(hhv(h,14)-c)/(hhv(h,14)-llv(l,14));
cpg:=ema((-100)*(hhv(h,34)-c)/(hhv(h,34)-llv(l,34)),4);
qsddlong:=apg+100;
qsddshort:=bpg+100;
qsddmid:=cpg+100;
zb03:=qsddshort>qsddmid;
zb04:=qsddshort>qsddlong;
zb05:=qsddmid>qsddlong;

{06.kdj}
rsvpg:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
kpg:=sma(rsvpg,3,1);
dpg:=sma(kpg,3,1);
zb06:=kpg>dpg;

{07~09.rsi}
lcpg:=ref(close,1);
rpg1:=sma(max(c-lcpg,0),6,1)/sma(abs(c-lcpg),6,1)*100;
rpg2:=sma(max(c-lcpg,0),12,1)/sma(abs(c-lcpg),12,1)*100;
rpg3:=sma(max(c-lcpg,0),24,1)/sma(abs(c-lcpg),24,1)*100;
zb07:=rpg1>rpg2;
zb08:=rpg1>rpg3;
zb09:=rpg2>rpg3;

{10~12.ma}
zb10:=ma(c,5)>ma(c,10);
zb11:=ma(c,5)>ma(c,20);
zb12:=ma(c,10)>ma(c,20);

{13.主力进出}
mavpg:=(c*2+h+l)/4;
skpg:=ema(mavpg,13)-ema(mavpg,34);
sdpg:=ema(skpg,5);
zb13:=(2*(skpg-sdpg))>((-2)*(skpg-sdpg));

{14~16.多空线}
midpgx:=(3*c+o+l+h)/6;
dkxpg1:=wma(midpgx,5);
dkxpg2:=wma(midpgx,10);
dkxpg3:=wma(midpgx,20);
zb14:=dkxpg1>ref(dkxpg1,1);
zb15:=dkxpg2>ref(dkxpg2,1);
zb16:=dkxpg3>ref(dkxpg3,1);

{17.g08}
g08pg:=ema(c,34);
zb17:=g08pg>ref(g08pg,1);

{18.b08}
b08pg:=(c-llv(l,60))/(hhv(h,60)-llv(l,60))*80;
bpg1:=sma(b08pg,7,1);
bpg2:=sma(bpg1,3,1);
zb18:=bpg1>bpg2;

{19.bbi}
bbipg:=(ma(c,3)+ma(c,6)+ma(c,12)+ma(c,24))/4;
zb19:=c>bbipg;

{20~21.速率表}
midslb:=(3*c+l+o+h)/6;
e1:=ema(10000*(wma(midslb,30)-ref(wma(midslb,30),1))/ref(wma(midslb,30),1),10);
e2:=ema(e1,2);
e3:=ema(e2,2);
e4:=ema(e3,2);
e5:=ema(e4,2);
e6:=ema(e5,2);
e7:=ema(e6,2);
zb20:=e2>e3 and e3>e4 and e4>e5 and e5>e6 and e6>e7;
zb21:=e2>ref(e2,1) and e3>ref(e3,1) and e4>ref(e4,1) and e5>ref(e5,1) and e6>ref(e6,1) and e7>ref(e7,1);

{22.趋势向量}
trpg1:=max(max((h-l),abs(h-ref(c,1))),abs(ref(c,1)-l));
atrpg1:=ema(trpg1,14);
hdpg:=h-ref(h,1);
ldpg:=ref(l,1)-l;
pdmpg:=ema(iff(hdpg>0 and hdpg>ldpg,hdpg,0),14);
mdmpg:=ema(iff(ldpg>0 and ldpg>hdpg,ldpg,0),14);
pdipg:=pdmpg/atrpg1;
mdipg:=mdmpg/atrpg1;
xlpg:=(pdipg-mdipg)/(pdipg+mdipg);
zb22:=xlpg>0;

量化指标:=iff(日线锁定 and c>0,(zb01+zb02+zb03+zb04+zb05+zb06+zb07+zb08+zb09+zb10+
zb11+zb12+zb13+zb14+zb15+zb16+zb17+zb18+zb19+zb20+zb21+zb22)*(100/zbslpg),drawnull),;
xg4:=量化指标>=ref(量化指标,1) and ref(量化指标,1)<ref(量化指标,2);

日期锁定:=date>=1100104;
cn1:=hhv(v,5);{5日最高量}
cn2:=o>c;
cn02:=c>o;
cn03:=c=o;
cn04:=((sum(v,5)/cn1));
cn05:=if(cn04>0.3,1,0);{大资金}
n:=10;m:=60;
资金锁定:=if(cn04>0.3,1,0);
主力流入:=if(cn02 and cn05,v,0);
主力流出:=if(cn2 and cn05,v,0);
主力净买:=iff(1,(主力流入-主力流出)/10000,drawnull);

p0011:=sum(主力净买,1)>0;
p0021:=sum(主力净买,2)>0;
p0031:=sum(主力净买,3)>0;
p0041:=sum(主力净买,4)>0;
p0051:=sum(主力净买,5)>0;


sum111:=sum(主力净买,11);
sum121:=sum(主力净买,12);
sum131:=sum(主力净买,13);
sum141:=sum(主力净买,14);
sum151:=sum(主力净买,15);
sum161:=sum(主力净买,16);
sum171:=sum(主力净买,17);
sum181:=sum(主力净买,18);
sum191:=sum(主力净买,19);
sum201:=sum(主力净买,20);
p111:=sum11>0 and sum111>ref(sum111,1);
p121:=sum12>0 and sum121>ref(sum121,1);
p131:=sum13>0 and sum131>ref(sum131,1);
p141:=sum14>0 and sum141>ref(sum141,1);
p151:=sum15>0 and sum151>ref(sum151,1);
p161:=sum16>0 and sum161>ref(sum161,1);
p171:=sum17>0 and sum171>ref(sum171,1);
p181:=sum18>0 and sum181>ref(sum181,1);
p191:=sum19>0 and sum191>ref(sum191,1);
p201:=sum20>0 and sum201>ref(sum201,1);

mazj051:=ma(主力净买,5);
mazj101:=ma(主力净买,10);
mazj151:=ma(主力净买,15);
mazj201:=ma(主力净买,20);
ma011:=mazj051>mazj101;
ma021:=mazj051>mazj151;
ma031:=mazj051>mazj201;
ma041:=mazj101>mazj151;
ma051:=mazj101>mazj201;
ma061:=mazj151>mazj201;

基准线11:=ema(ema(ema(ema(iff(主力净买>=0,主力净买,0),20),2),2),2);
基准线61:=基准线11*6;
zjdl101:=iff(主力净买>基准线6,10,iff(主力净买<=基准线6 and 主力净买>0,10*主力净买/基准线6,0));

{长中短线}
短线资金:=sum(主力净买,3);
短线资金10:=ema(短线资金,10);
短线资金60:=ema(短线资金,60);
短线资金20:=ema(短线资金,20);
短线资金30:=ema(短线资金,30);
czd011:=短线资金>短线资金10;
czd021:=短线资金20>短线资金30;
czd031:=短线资金10>短线资金60;

总权1:=53;
量化资金:=iff(日线锁定 and 日期锁定 and 资金锁定 and c>0,ema(ema(100*(p0011*2+p0021*2+p0031*5+p0041*2+p0051*2+p111*1+p121*1+p131*1+p141*1+p151*1+p161*1+p171*1+p181*1+p191*1+p201*1+
ma011*2+ma021*2+ma031*1+ma041*1+ma051*1+ma061*1+zjdl10+czd01*5+czd02*4+czd03*3)/总权,2),2),drawnull);
 

xg5:=量化资金>=ref(量化资金,1) and ref(量化资金,1)<ref(量化资金,1);
五行量化选股:xg1+xg2+xg3+xg4+xg5>=4;

五行量化副图

五行量化副图

五行量化副图

五行量化副图

五行量化副图

  >>>使用本站搜索工具可以找到更多五行量化副图下载

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文五行量化副图下载仅供学习研究。

猜你喜欢

学了又学