源码
ma5:ma(close,5);
ma10:ma(close,10)colormagenta;
ma20:ma(close,20);
ma55:ma(close,55)colorblue;
ma89:ma(close,89);
ma120:ma(close,120);
ma144:ma(close,144);
ma250:ma(close,250);
drawicon(longcross(ma5,ma10,0.1),ma10,11),colorgreen;
drawicon(longcross(ma10,ma5,0.1),ma5,12),colorred;
drawicon(longcross(ma10,ma20,0.1),ma20,1),colorgreen;
drawicon(longcross(ma20,ma10,0.1),ma10,2),colorgreen;
drawicon(longcross(ma5,ma55,0.1),ma55,9),colorgreen;
drawicon(longcross(ma55,ma5,0.1),ma5,10),colorgreen;
drawicon(longcross(ma5,ma89,0.1),ma10,25),colorgreen;
drawicon(longcross(ma89,ma5,0.1),ma10,27),colorgreen;
drawicon(longcross(ma5,ma250,0.1),ma10,13),colorgreen;
drawicon(longcross(ma55,ma250,0.1),ma250,15),colorgreen;
drawicon(longcross(ma250,ma55,0.1),ma55,16),colorgreen;
aa05:ma(c,5),color0099cc;五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),2),linethick2;
stickline(bb05>30 and aa05>ref(aa05,1), aa05,ref(aa05,1),1,1),colorred;
aa10:ma(c,10);aa20:=ma(c,20);bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
stickline(bb05<0 and aa05<ref(aa05,1), aa05,ref(aa05,1),3,1),colorgreen;
aa30:ma(c,30);三拾日乖离率:=(c-aa30)/aa30*100;
var1:=(aa20-aa30)>ref((aa20-aa30),1) and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var2:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and
aa30<ref(aa30,1);
bb30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
stickline(bb30>15 and aa30>ref(aa30,1), aa30,ref(aa30,1),2,1),colorlimagenta;
强:=filter(bb30>30 and bb10>45 and
cross(bb05,60),10);
播种:=filter(count(cross(bb05,30),5)>=1 and
aa05>ref(aa05,1)and 三拾日乖离率>ref(三拾日乖离率,1) and
aa10>ref(aa10,1) and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10)colorlired;
收获:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and
aa05<ref(aa05,1)and 三拾日乖离率<ref(三拾日乖离率,1) and aa10<ref(aa10,1),10);
drawtext(播种 ,low*0.98,'←播种'),coloryellow;
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and aa10>ref(aa10,1) ;
险:=filter(jc,10);
mr:=count(cross(五日乖离率,0),3)>=1
and 三拾日乖离率>ref(三拾日乖离率,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5
and ref(c,1)<aa30;
买:=filter(mr,10);drawtext(险,high*1.02,'←险'),colorcyan;
drawtext(买,low*0.98,'←买!'),colormagenta;
drawtext(收获 ,high*1.02,'←收获★'),colorgreen;
drawtext(强,low*0.98,'←强'),colorlired;
var21:=max(abs(high-amount/vol/100),abs(amount/vol/100-low));
var3:=abs((open+close)/2-amount/vol/100);mv:=(var21+var3)/amount*vol*100*50;
ma6:=ma(c,6);
ma18:=ma(c,18);
fa:=barslast(cross(ma18,ma6)) and cross(ma6,ma18);
stickline(fa,ma6,ma6-0.05,3,0),coloryellow;
drawtext(fa,ma6-0.13,'握手♂'),colorred;
ema13:ema(c,13)pointdot;
ema34:ema(c,34)pointdot;
ema55:ema(c,55)pointdot;
ema120:ema(c,120)pointdot;
ar1:=ema55>ema34 and ema34>ema13;
ar2:=barslast((c-ema13)/ema13*100<-6);
ar3:=ema13>=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
drawtext(ar6,l-0.09,'低金'),coloryellow;
{stickline(ar6,h,l,0.5,1),coloryellow;}
{stickline(ar6,o,c,6,1),linethick2,coloryellow;}
br1:=count(between((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c<0.2;
br3:=c>ema55 and (ref(c,1)<ref(ema55,1) or ref(c,2)<ref(ema55,2) or ref(c,3)<ref(ema55,3) or ref(c,4)<ref(ema55,4) or ref
(c,5)<ref(ema55,5));
br4:=br1 and br2 and br3;
drawtext(br4 and filter(br4,10),l-0.09,'上升'),color00c5ff;
stickline(br4 and filter(br4,10),h,l,0.5,1),color00c5ff;
{stickline(br4 and filter(br4,10),o,c,6,1),linethick2,color00c5ff;}
cr1:=(c-ref(c,1))/ref(c,1)*100>0.5;
cr2:=v>ma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema55<0.03;
cr5:=ema55<=ema120 and ema55>=ref(ema55,1);
cr6:=filter(cr1 and cr2 and cr3 and cr4 and cr5,2);
{stickline(cr6,h,l,0.5,1),colorf00ff0;}
{stickline(cr6,o,c,6,1),linethick2,colorf00ff0;}
drawtext(cr6,l-0.09,'半金'),colorf00ff0;
dr1:=ema13>ema34 and ema34<ema55;
dr2:=barslast(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=barslast(dr3);
dr5:=count(o>c and c<ref(c,1) and c>ema55 and between((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=c>ref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and filter(dr7 ,10);
drawtext(dr8,l-0.09,'黑客'),colord6ba63;
{stickline(dr8,h,l,0.5,1),colord6ba63;}
stickline(dr8,o,c,6,1),linethick2,colord6ba63;
er:=barslast(ref(cross(ema55,ema34),1)) and cross(ema34,ema55);
drawtext(er,l-0.09,'互换'),color0099ff;
{stickline(er,h,l,0.5,1),color0099ff;}
{stickline(er,o,c,6,1),linethick2,color0099ff;}
fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34);
drawtext(fr,l-0.09,'二金'),colormagenta;
stickline(fr,h,l,0.5,1),color0099ff;
{stickline(fr,o,c,6,1),linethick2,colorwhite;}
gr1:=barslast(between("bias.bias2"(6,13,24),0,5) );
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
drawtext(gr6 and gr7,h+0.13,'丰收!'),color00ff00;
stickline(gr6 and gr7,h,h+0.09,5,0),color00ff00;
hr2:=ema13>=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross
(c,ema55){ and cross(c,ema120)};
drawtext(hr2 and filter(hr2,10),l-0.09,'推进'),colorffc8ff;
{stickline(hr2 and filter(hr2,10),h,l,0.5,1),colorffc8ff;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,colorffc8ff;};
ry1:=c/open>1.04;{阳线4%}
ry2:=ref(open,1)/ref(close,1)>1.04;{阴线4%}
ry3:=abs(open-ref(c,1))<c*0.02 and abs(c-ref(open,1))<c*0.02;{两线相等}
drawtext(ry1 and ry2 and ry3 ,low,'日月合璧'),colorlired;
上一指标公式:主图--愚公趋势指标详解 通达信指标
下一指标公式:六脉神剑指标详解 通达信源码指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文播种丰收一个好主图指标详解 通达信丰收源码仅供学习研究。