通达信公式两强相遇副图附实际效果测试图指标
n1:=斜线周期;
m:=intpart(3*n1/8);
a12:=ref(notext113,m)=hhv(notext113,2*m+1);
b12:=filter(a12,m);
c12:=backset(b12,m+1);
d12:=filter(c12,m);
r112:=backset(islastbar,barslast(d12)+1);
s112:=r112>ref(r112,1);
glc:=drawline(d12,notext113,s112,notext113,1);
notext123:if(const(ref(glc,3))>const(ref(glc,1)) and const(两强条件),glc,drawnull),colorcyan,dotline;
sj:=const(barslast(s112));
drawtext(currbarscount=sj and notext123!=drawnull,notext123,'短'),colorcyan,drawabove;
syx:=(h-max(o,c))/max(o,c)*100;
drawicon(filterx(cross(notext113,notext123),120) and currbarscount<=intpart(sj*2/3) and syx<3 and c>ref(c,1) and c>o and 两强条件,notext123*0.98,28);
公式源码:}
drawgbk(close>1,rgb(0,0,0),rgb(1,1,1),1,0,0);
x_1:=(close-ref(close,1))/ref(close,1)*100;
x_2:=if(codelike(1),drawnull,sum(x_1,累加周期));
x_3:=hy_indexc;
x_4:=(x_3-ref(x_3,1))/ref(x_3,1)*100;
x_5:=sum(x_4,累加周期);
x_6:=if(codelike(2) or codelike(3) or codelike(1),"999999$close","399001$close");
x_7:=(x_6-ref(x_6,1))/ref(x_6,1)*100;
x_8:=sum(x_7,累加周期);{好公式网-最好的股票公式网站 www.goodgongshi.com}
notext114:const(hhv(x_2,累加周期))*if(const(hhv(x_2,累加周期))<0,0.8,1.13),colorblack;
x_9:=(x_2-x_5)/abs(x_5)*100;
x_10:=x_2>x_8 and x_9>0;
notext120:const(max(const(hhv(x_8,21)),max(const(hhv(x_5,21)),const(hhv(x_2,21)))))*1.2,colorblack;
drawgbk(if(codelike(1) or codelike(4),drawnull,not(x_10) and islastbar),rgb(0,0,0),rgb(0,120,0),1,0,0);
drawgbk(if(codelike(1) or codelike(4),drawnull,x_10 and islastbar),rgb(0,0,0),rgb(255,128,0),1,0,0);
drawgbk(if(codelike(1) or codelike(4),drawnull,x_2<x_8 and islastbar and codelike(3)),rgb(0,0,0),rgb(0,120,0),1,0,0);
drawgbk(if(codelike(1) or codelike(4),drawnull,x_2>x_8 and islastbar and codelike(3)),rgb(0,0,0),rgb(255,128,0),1,0,0);
notext110:x_8,colorred,linethick2;
notext116:x_5,coloryellow;
drawtext(islastbar,notext110,if(codelike(2) or codelike(3) or codelike(1),5,6)),colorred;
drawtext(islastbar,notext116,strcat(7,hyblock)),coloryellow;
notext113:x_2,colorwhite;
drawtext(islastbar,x_2,if(codelike(3),strcat(7,strcat(stkname,8)),strcat(7,stkname))),colorwhite;
x_11:=zig(x_2,前高zig);
x_12:=const(sumbars(x_11<ref(x_11,1) and ref(x_11,1)>ref(x_11,2),1));
x_13:=const(sumbars(x_11<ref(x_11,1) and ref(x_11,1)>ref(x_11,2),2));
x_14:=if(x_12=0,x_13,x_12);
x_15:=const(ref(x_11,x_14));
notext1133:if(currbarscount<=x_14+1,x_15,drawnull),dotline,colorgreen;
drawtext_fix(x_10 and islastbar,0.284,0,0,9),colorred;
drawtext_fix(x_10 and islastbar,0.281,0,0,10),coloryellow;
drawtext_fix(not(x_10) and islastbar,0.284,0,0,9),colorgreen;
drawtext_fix(not(x_10) and islastbar,0.281,0,0,11),colorblack;
drawtext_fix(x_5>x_8 and islastbar,0.53,0,0,12),colorred;
drawtext_fix(x_5>x_8 and islastbar,0.53,0,0,strcat(strcat(13,hyblock),14)),coloryellow;
drawtext_fix(x_5<x_8 and islastbar,0.53,0,0,12),colorgreen;
drawtext_fix(x_5<x_8 and islastbar,0.53,0,0,strcat(strcat(15,hyblock),14)),colorblack;
x_16:=cross(x_2,x_5) and x_2>x_8 and x_2>ref(x_2,1);
x_17:=cross(x_2,x_8) and x_2>x_5 and x_2>ref(x_2,1);
x_18:=cross(x_2,x_5) and cross(x_2,x_8) and x_2>ref(x_2,1);
drawicon(x_16 or x_17 or x_18,max(x_5,x_8)*if(max(x_5,x_8)>0,0.8,1.1),9);
drawicon(cross(x_2,notext1133),notext1133*if(notext1133>0,0.95,1.1),30);
drawicon(filter(cross(x_2,x_8),13) and codelike(3),x_8*if(x_8>0,0.95,1.5),29);
drawicon(filter(cross(x_8,x_2),13) and codelike(3),x_8*if(x_8>0,1.06,0.5),15);
x_19:=strcat(16,var2str(累加周期,0));
x_20:=strcat(x_19,17);
x_21:=strcat(x_20,18);
drawtext_fix(1,0,0,0,x_21),colorwhite;
drawtext_fix(1,0.02,0.19,0,19),colorred;
上一指标公式:通达信拉涨呼唤启动主图附效果图指标下载
下一指标公式:通达信公式斩魔屠龙副图附实测源码贴图指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通达信公式两强相遇副图附实际效果测试图指标下载仅供学习研究。