仅分享技术,指标并不一定准确,但有总结分析的功能。这三个指标是我个人总结编写的,用得比较好,分享出来给大家看看!
天马图:
天马图h1:ema(close,8);
h2:ema(天马图h1,20);
lh牛熊界:ema(close,240),colorred;
var1:=(hhv(high,36)-close)/(hhv(high,36)-llv(low,36))*100;
var2:=sma(var1,5,1);
var3:=sma(var2,8,1);
var4:=cross(var2,var3) and var3<20;
var5:=close>llv(close,60)+0.3*llv(close,60) and var4;
var6:=if(close>1000,var4,var5);
stickline(天马图h1>h2,天马图h1,h2,1,1),coloryellow;
stickline(天马图h1>h2,天马图h1,h2,1,2);
stickline(天马图h1<h2,天马图h1,h2,1,1),colorblue;
drawtext(cross(天马图h1,h2),天马图h1*0.962,''),coloryellow;
drawtext(cross(天马图h1,h2),天马图h1*0.98,'●'),colorwhite;
drawtext(cross(天马图h1,h2),天马图h1*0.952,''),colorred;
drawtext(cross(天马图h1,h2),天马图h1*0.982,'●'),colorred;
drawtext(cross(天马图h1,h2),天马图h1*0.98,'↑'),coloryellow;
黑马红马:
个股:ema(100*(c-llv(low,34))/(hhv(h,34)-llv(low,34)),3),color1010ff;
大盘:ema(100*(indexc-llv(indexl,34))/(hhv(indexh,34)-llv(indexl,34)),3),colore67010,linethick2;
stickline(个股>=大盘,个股,大盘,3,0),colorred;
stickline(个股<大盘,个股,大盘,3,0),colorblue;
stickline(个股>=大盘,0,大盘,3,0),coloryellow;
stickline(个股<大盘,0,个股,3,0),coloryellow;
黑马初现:if(cross(个股,9),50,0),stick,linethick3,color00ff00;
drawtext(cross(个股,9),66,'黑马'),color00ff00;
drawtext(cross(个股,9),60,'1'),color00ff00;
var1:=ema(close,3);
var2:=ema(close,21);
var3:=barslast(cross(var2,var1))>15;
var4:=vol>ma(vol,5)*2 and vol<ma(vol,5)*5;
var5:=cross(var1,var2) and var4 and var3;
红马:if(var5,60,0),stick,linethick3,colorf00ff0;
drawtext(var5,78,'红马!'),colorf00ff0;
拉升线:80,colorgreen,linethick2;
试庄线:20,colorwhite,linethick2;
强弱线:50,colorred,linethick2;
macd金叉与背离
diff:ema(close,12)-ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea), colorstick,linethick2;
低位金叉:cross(diff,dea) and diff<-0.1,nodraw;
stickline(低位金叉,0,0.08,6,0),coloryellow;
drawtext(低位金叉,0.16,' 低位金叉'),colorwhite;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:cross(diff,dea) and dea<0 and count(jccount=2,21)=1,nodraw;
stickline(二次金叉,0,0.06,6,0),colorff00ff;
drawicon(二次金叉,dea*0.9,1) ;
drawtext(二次金叉,0.2,' 二次金叉'),coloryellow;
a1:=barslast(ref(cross(diff,dea),1));
底背离:ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea),nodraw;
stickline(底背离,0,0.03,6,0),color00ff00;
底背:drawline(a1=0,dea,底背离,dea,0),colorred,linethick1;
drawtext(底背离,0.12,' 底背离'),colorff00ff;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff);
顶背:drawline(a2=0,dea,顶背离,dea,0),colorgreen,linethick1;
三全:低位金叉 and 二次金叉 and 底背离,nodraw;
drawtext(低位金叉 and 二次金叉 and 底背离,0.25,'三全项'),color0000ff,linethick2;
{obv:=diff;
aa1:=ref(obv,p)=hhv(obv,2*p+1);
b1:=filter(aa1,p);
c1:=backset(b1,p+1);
d1:=filter(c1,p);
aa2:=ref(obv,p)=llv(obv,2*p+1);
b2:=filter(aa2,p);
c2:=backset(b2,p+1);
d2:=filter(c2,p);
r11:=backset(islastbar,barslast(d1)+1);
s11:=r11>ref(r11,1);
drawline(d1,obv,s11,obv,1),coloryellow;
t11:=backset(islastbar,barslast(d2)+1);
u11:=t11>ref(t11,1);
drawline(d2,obv,u11,obv,1),color00ff00;};
上一指标公式:筹码堆积主图珍藏版指标下载 通达信源码堆积
下一指标公式:盘中分时预警指标下载 通达信源码预警
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文个人编的几个分享出来天马图+黑马红马+MACD金叉与背离指标下载 通达信几个背离仅供学习研究。