金叉买入副图未加密附图公式
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea);
{ylzc:=if(close=indexc,(indexc+indexh+indexl+indexo)/4,amount/(vol+0.01)/100);
阻价:=if(close=indexc,ylzc+indexc-indexl,ylzc+(close-low));
支价:=if(close=indexc,indexl+indexc-ylzc,low+(close-ylzc));
今压:=ref(阻价,1);
今撑:=ref(支价,1);
明压:=阻价;
明撑:=支价;
rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101;
kk:=sma(rsv1,3,1);
dd:=sma(kk,3,1);
jj:=3*kk-2*dd;
买卖:=if(jj>=100,100,if(jj<=0,0,jj));
明天买:=if(买卖=100,0-10,0);
明天买1:=ref(明天买,1)=-10 and 明天买=0;
明天卖:=if(买卖=0,90,100);
kx:=250;
kh:=hhv(k,kx);
dh:=hhv(d,kx);
jh:=hhv(j,kx);
kl:=llv(k,kx);
dl:=llv(d,kx);
jl:=llv(j,kx);
hkmax:=max(kh,max(dh,jh));
lkmin:=min(kl,min(dl,jl));
khlb:=(hkmax+lkmin)/2;
khlc:=hkmax-lkmin;
mhf:=hhv(diff,kx);
mhd:=hhv(dea,kx);
mhm:=hhv(macd,kx);
mlf:=llv(diff,kx);
mld:=llv(dea,kx);
mlm:=llv(macd,kx);
hmax:=max(mhf,max(mhd,mhm));
lmin:=min(mlf,min(mld,mlm));
fhlb:=(hmax-lmin)/100;
fhlc:=hmax-lmin;
sh:=(0-fhlb)*(khlc/fhlc)+khlb;
diffa:=(diff-fhlb)*(khlc/fhlc)+khlb;
deaa:=(dea-fhlb)*(khlc/fhlc)+khlb;
macda:=(macd-fhlb)*(khlc/fhlc)+khlb;
cda:=macd<ref(macd,1) and macd>0;
cdb:=macd>=ref(macd,1) and macd>0;
cdc:=macd>ref(macd,1) and macd<0;
cdd:=macd<=ref(macd,1) and macd<0;
typ:=(high+low+close)/3;
macd金叉:=cross(macd,diff) and macd>=(0-0.05) and macd<=0.02;
xx:=ema(ma(low,3)*0.96,30);
diff金叉:=if(cross(diff,dea) and xx-ref(xx,1)>0 and macd>=ref(macd,1) and diff<=0,1,0);
低位金叉:=cross(diff,dea) and diff<-0.1;
difdea:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:=cross(diff,dea) and dea<0 and count(difdea=2,21)=1;
a1:=barslast(ref(cross(diff,dea),1));
底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);
a2:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff);}
{周金叉,死叉}
周diff:="macd.diff#week";
周dea:="macd.dea#week";
{周macd:="macd.macd#week";
dif周金叉:=cross(周diff,周dea);
macd周金叉:=cross(周macd,周diff) and 周macd>=(0-0.05) and 周macd<=0.02;}
{月金叉,死叉}
月diff:="macd.diff#month";
月dea:="macd.dea#month";
{dif月金叉:=cross(月diff,月dea);}
周k:="kdj.k#week"(9,3,3);
周d:="kdj.d#week"(9,3,3);
周j:="kdj.j#week"(9,3,3);
月k:="kdj.k#month"(9,3,3);
月d:="kdj.d#month"(9,3,3);
月j:="kdj.j#month"(9,3,3);
月金叉:=cross(月k,月d);
周金叉:=cross(周k,周d);
{日金叉:=filter(cross(k,d) and k<20,4);
kdb:=barslast(ref(cross(k,d),1));
kddb:=ref(close,kdb+1)>close and ref(k,kdb+1)<k and cross(k,d);
k底背:=if(filter(kddb>0,5),1,0);
kdd:=barslast(ref(cross(d,k),1));
k顶背:=ref(close,kdd+1)<close and ref(k,kdd+1)>k and cross(d,k);}{顶背离}
{md1:=ma(close,80)-ma(close,13)/3;
md2:=ma((close-md1)/md1,3);
买点1:cross(md2,0) and low/ref(high,1)<1.012 and j<75 and j>ref(j,1);
ma12:=ma(close,12);
佳点:=if(filter(macd>=ref(macd,5) and open<=ref(close,1) and xx-ref(xx,1)>0 and macd<=0 and ma12-ref(ma12,1)>=0,3) and j<80 and j>ref(j,1) and d>ref(d,1) and (diff>=ref(diff,1) or dea>=ref(dea,1)),1,0);
dx0:=ema(close,2)-ema(open,5);
dx1:=if(cross(dx0,macd) and low<=xx and macd<=(0-0.11) and (j<20 or k<20),1,0);}{短线10%}
{ma10:=ma(close,10);
ss:=ema(ma(high,3)*1.05,30);
lqs:=if(filter(0.7*(cross(diff,dea) and close<ss and xx-ref(xx,1)>0 and cross(macd,0) and macd>=0 and diff>0 and ma10-ref(ma10,1)>0 and vol>ref(vol,1))>=0.7 and (close<ss and xx-ref(xx,1)>0),5) and j<80,1,0);}{量价齐上}
{最佳点:=if(count(md2>ref(md2,1),3)=3 and count(md2<0,10)=10 and ref(md2,3)=llv(md2,10) and j<80 and j>ref(j,1),1,0);
买点2:=ref(md2,2)=llv(md2,20) and ref(md2,2)<0.071 and ref(md2,2)<ref(md2,1) and
not(ref(low,1)>ref(high,2) and low>ref(high,1)) and close>ref(close,1) and j<75 and j>ref(j,1);}
{预涨}
{yz:=(intpart(sma(rsv,3,1))+intpart(sma(k,3,1)))/2;
预涨:=cross(yz,50) and j<95 and diff>ref(diff,1) and low<ref(close,1);
kd金叉:=cross(k,d)and j>20 and j<80;}
金叉:月金叉 or 周金叉{ or 买点1 or 买点2 or dif周金叉 or dif月金叉};
死叉:cross(月d,月k) or cross(周d,周k) or cross(月dea,月diff) or cross(周dea,周diff);
h1:=(c-hhv(c,10))/hhv(c,10)*100<-4;
up10:=(c-ma(c,15))/ma(c,15)*100<0.2;
{l1:llv(l,5)>llv(l,36);}{处于上升通道}
买入1:=金叉 and not(死叉) and h1;
买入2:=金叉 and not(死叉) and up10;
买入:买入1 or 买入2;
drawtext(买入1,买入1*1.2,'买入1'),colorred;
drawtext(买入2,买入2*1,'买入2'),colorgreen;
drawtext(死叉,死叉*1,'死叉'),colorwhite;
drawtext(金叉,0.2,'金叉'),coloryellow;
上一指标公式:主力入货买点暴涨主图公式下载
下一指标公式:可自定义波段周期与洗盘深度的过左峰优化公式下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文金叉买入副图未加密附图公式下载仅供学习研究。