好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式北沙三角彩带+斋主新版MACD主副图ZIP格式指标下载 通达信缅怀源码

北沙三角彩带+斋主新版MACD主副图ZIP格式指标下载 通达信缅怀源码

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2019-01-08 07:11:00
  • 指标公式标签:北沙三角彩带 新版MACD 斋主
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:北沙三角彩带+斋主新版MACD主副图ZIP格式指标下载 通达信缅怀源码

理想的思念缅怀一发千钧学长,学长已驾鹤西游160天,我们思念和缅怀一发千钧学长为论坛所做的贡献!
也感谢所有为我们的理想做出贡献的各版版主和班长!感谢各位老师的劳动和奉献及各位学友的热情!
今天是个洋人的节日,咱家也帮他们过去这个节。发★【北沙三角彩带】+【斋主新版macd】★(主副图 源码 附图及文档 附件zip格式),
主图是在北沙老师的“圣诞新年之三角彩带”的基地上加点佐料而已,副图斋主新版macd 也是改了些老师的源码而来,希望北沙及各位老师原谅!
附件方便导入,有日线、60分、15分、5分和1分钟图示,希望大家喜欢,谢谢您的光临!!(不知何种原因图片发不上来请原谅)
源码如下:

北沙三角彩带
{n 1/100/9;
xr 1/30/1;了
xk 1/10/5}

hh:=hhv(high,xk);
ll:=llv(low ,xk);
oo:=if(xk<=1,open,ref(open,xk-1));
ccz:=close;
xh:=const(if(islastbar,if(xr<=1,hh,ref(hh,xr-1)),drawnull));
xl:=const(if(islastbar,if(xr<=1,ll,ref(ll,xr-1)),drawnull));
xo:=const(if(islastbar,if(xr<=1,oo,ref(oo,xr-1)),drawnull));
xc:=const(if(islastbar,if(xr<=1,ccz,ref(ccz,xr-1)),drawnull));
aza:=zig(3,10);
jx:=ma(zig(3,10),2)>aza;
sx:=ma(zig(3,10),2)<aza;
jj:=drawline(jx,aza,ref(jx,1),ref(aza,1),1);
ss:=drawline(sx,aza,ref(sx,1),ref(aza,1),1);
drawband(aza,rgb(200,160,0),jj,rgb(0,0,0));
drawband(ss,rgb(0,160,200),aza,rgb(0,0,0));
stickline(currbarscount=xr+floor(xk/2) ,xh,xl,xk*4+1,1),colorwhite;
ma34:ma(close,34),linethick3,coloryellow;
gj:=(c+h+l+o)/4;
日阻力:=l+(gj-l)+(c-l),linethick0;
日支撑:=l+(c-gj),linethick0;
日压:ref(日阻力 , 1),nodraw,color00ff00;
日支:ref(日支撑 , 1),nodraw,coloryellow;
stickline(islastbar,日压,日压,30,1),linethick2,color00ff00;
stickline(islastbar,日支,日支,30,1),linethick2,coloryellow;
fc:=c;
a:=ema(fc,3);
b:=ema(fc,5);
z:=ema(fc,15);
z2:=ma(a,5);
玄悟斋主:=ma(z,7);
個:=ema(z2,3);
十:=ema(z2,5) ;
百:=ema(z2,7);
千:=ema(z2,9);
万:=ema(z2,11);
k1:=backset(個<ref(個,1),2);
谈:if(k1,個,drawnull),color00aa00,linethick1;
k2:=backset(十<ref(十,1),2);
笑:if(k2,十,drawnull),color00bb00,linethick1;
k3:=backset(百<ref(百,1),2);
皆:if(k3,百,drawnull),color00cc00,linethick1;
k4:=backset(千<ref(千,1),2);
鸿:if(k4,千,drawnull),color00dd00,linethick1;
k5:=backset(万<ref(万,1),2);
儒:if(k5,万,drawnull),color00ee00,linethick1;
k6:=backset(個>ref(個,1),2);
往:if(k6,個,drawnull),color0000aa,linethick1;
k7:=backset(十>ref(十,1),2);
来:if(k7,十,drawnull),color0000bb,linethick1;
k8:=backset(百>ref(百,1),2);
无:if(k8,百,drawnull),color0000cc,linethick1;
k9:=backset(千>ref(千,1),2);
白:if(k9,千,drawnull),color0000dd,linethick1;
k10:=backset(万>ref(万,1),2);
丁:if(k10,万,drawnull),color0000ee,linethick1;
個z:=ema(玄悟斋主,3) ;
十z:=ema(玄悟斋主,5);
百z:=ema(玄悟斋主,7);
千z:=ema(玄悟斋主,9);
万z:=ema(玄悟斋主,11);
b1:=backset(個z<ref(個z,1),2);
禅:if(b1,個z,drawnull),colorffaa11,linethick1;
b2:=backset(十z<ref(十z,1),2);
味:if(b2,十z,drawnull),colorffbb22,linethick1;
b3:=backset(百z<ref(百z,1),2);
闲:if(b3,百z,drawnull),colorffcc33,linethick1;
b4:=backset(千z<ref(千z,1),2);
里:if(b4,千z,drawnull),colorffdd44,linethick1;
b5:=backset(万z<ref(万z,1),2);
得:if(b5,万z,drawnull),colorffee55,linethick1;
b6:=backset(個z>ref(個z,1),2);
道:if(b6,個z,drawnull),colorf67acd,linethick1;
b7:=backset(十z>ref(十z,1),2);
心:if(b7,十z,drawnull),colorf68acd,linethick1;
b8:=backset(百z>ref(百z,1),2);
静:if(b8,百z,drawnull),colorf69acd,linethick1;
b9:=backset(千z>ref(千z,1),2);
中:if(b9,千z,drawnull),colorf70acd,linethick1;
b10:=backset(万z>ref(万z,1),2);
参:if(b10,万z,drawnull),colorf71acd,linethick1;
bias0:= (c-ma(c,2))/ma(c,2)*100;
hxl:=v/capital*100;
d1:=indexc;
d2:=ma(d1,13);
dr2:=d2>1.050*d1;
e1:=(c-hhv(c,12))/hhv(c,12)*10;
e2:=(c-ref(c,26))/ref(c,26)*10;
e3:=ma(c,3);
sj1:=dr2;
sj2:=e2<-2.30;
sj3:=bias0<-2.7;
sj5:=sj1 and sj2 and sj3;
sj6:=cross(0.5,sj5);
js1:=cross(sj6,0.5);js2:=barslast(js1=1);
js3:=js2<=5 and c<ref(c,js2);
合璧:=sj6 or js3;
斋主:if(合璧=1,l*0.999,drawnull),circledot,colorligreen;
中压:=xma(gj,20)*(1+80/1000),colorgreen,linethick2;
中支:=xma(gj,32)*(1-100/1000),colormagenta,linethick2;
幅度:=100*(中压-中支)/中支;
分水线:=(ma(close,3)+ma(close,7)+ma(close,13)+ma(close,18))/4;
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
rrrsv:=sma(下档线,3,1);
kkk:=sma(rrrsv,3,1);
ddd1:=((3 * rrrsv) - (2 * kkk));
jj12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(jj12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力:=if(cross(d24,ddd1),high,ref(high,barslast(cross(d24,ddd1)))),colorffffff;
决策:if(islastbar,压力,drawnull),colormagenta;
stickline(islastbar ,决策,决策,60,1),linethick3,colormagenta;
底部:=llv(high,30),color00ff00;
超跌:if(islastbar,底部,drawnull),colorred;
stickline(islastbar ,超跌,超跌,60,1),linethick3,colorred;
aa:=ref(h,n)=hhv(h,2*n+1);aa1:=ref(l,n)=llv(l,2*n+1);
qy:=backset(aa,n+1);qy1:=backset(aa1,n+1);
cc:=filter(qy,n) and h=hhv(h,n+1);cc1:=filter(qy1,n) and l=llv(l,n+1);
ddd:=barslast(cc);dd1:=barslast(cc1);
gdts:=if(cc,currbarscount,0);ddts:=if(cc1,currbarscount,0);
dingbuts:=if(ddd,ref(gdts,ddd),gdts);ddts1:=if(dd1,ref(ddts,dd1),ddts);
gdcs1:=const(dingbuts);ddcs1:=const(ddts1);
gdcs13:=const(ref(high,gdcs1-1));ddcs13:=const(ref(l,ddcs1-1));
dingbuts1:=ref(dingbuts,ddd+1);ddts2:=ref(ddts1,dd1+1);
gdcs2:=const(dingbuts1);ddcs2:=const(ddts2);
mz:=intpart(3*n/5);
aaa:=ref(h,mz)=hhv(h,2*mz+1);
qyy:=backset(aaa,mz+1);
ccc:=filter(qyy,mz) and h=hhv(h,mz+1);
dddd:=barslast(ccc),nodraw;
gdtss:=if(ccc,currbarscount,0);
dingbutss:=if(dddd,ref(gdtss,dddd),gdtss);
gdcs11:=const(dingbutss);
dingbuts11:=ref(dingbutss,dddd+1);
gdcs22:=const(dingbuts11);
aa11:=ref(l,mz)=llv(l,2*mz+1);
qy11:=backset(aa11,mz+1);
cc11:=filter(qy11,mz) and l=llv(l,mz+1);
dd11:=barslast(cc11);
ddtss:=if(cc11,currbarscount,0);
ddts11:=if(dd11,ref(ddtss,dd11),ddtss);
ddcs11:=const(ddts11);
ddts22:=ref(ddts11,dd11+1);
ddcs22:=const(ddts22);
zgd:=hhv(h,60)*1.01.00;
zgd2:=const(zgd);
高点z:=const(hhv(h,100)),nodraw;
低点z:=const(llv(l,100)),nodraw;
高点压力m:=drawline(currbarscount=gdcs22,h,currbarscount=gdcs11,h,1),colorred,linethick1;
低点支撑m:=drawline(currbarscount=ddcs22,l,currbarscount=ddcs11,l,1) colorred,linethick1;
高点压力1:=drawline(currbarscount=gdcs2,h,currbarscount=gdcs1,h,1) ,colorblue,linethick1;
低点支撑1:=drawline(currbarscount=ddcs2,l,currbarscount=ddcs1,l,1),colorblue,linethick1;
if(between(高点压力m,高点z,低点z),高点压力m,drawnull),colorwhite,linethick1;
if(between(低点支撑m,高点z,低点z),低点支撑m,drawnull),colorwhite,linethick1;
if(between(高点压力1,高点z,低点z),高点压力1,drawnull),colorwhite,linethick1;
if(between(低点支撑1,高点z,低点z),低点支撑1,drawnull),colorwhite,linethick1;

hhz:=hhv(high,5);
llz:=llv(low,5);
hh1:=barslast((hhz > ref(hhz,1)));
ll1:=barslast((llz < ref(llz,1)));
stickline((hh1 > ll1),close,open,2,0),colorgreen;
stickline((hh1 > ll1),high,low,0,0),colorgreen;
stickline((hh1 < ll1),close,open,2,0),colorred;
stickline((hh1 < ll1),high,low,0,0),colorred;
日均价:=(c*3+h+l+o)/6;
zia:=日均价;
裁决:=(ref(zia,1)*0.5+ref(zia,2)+ref(zia,3)*0.5)/2;
var1x:=if(c<裁决 and between(裁决,c,o),1,0);
var4x:=if(c>=裁决 and between(裁决,c,o),1,0);
co:=(c-o);
stickline(var4x,o,o+co/3,3.6,0),colorlimagenta;
stickline(var1x,o,o+co/3,3.6,0),colorgreen;
ma10:=ma(c,10),colorgreen,linethick2;
ma20:=ma(c,20),colorcyan,linethick2;
ma30:=ma(c,30),coloryellow,linethick2;
var1:=(c- llv(l,32)) / (hhv(h,32) - llv(l,32)) * 1.2 * c;
var2:=ema(var1,3);
var3z:=ema(var1,5);
var4z:=ema(var1,7);
vara:=var3z >= var4z and var2 < ref(var2,1);
varb:=var3z < var4z and var2 > ref(var2,1);
超短:=ma(var2,6);
短线:=ma(超短,2);
stickline(filter(varb,3),低点支撑1,低点支撑1-0.05,2,0),colorff00ff;
stickline(cross(短线,超短),高点压力1,高点压力1+0.05,4,1),colorligray;
drawtext(cross(短线,超短) and count(cross(短线,超短),10)=2,高点压力m-0.05,'跑'),colorgreen;
drawtext(filter(varb,3),低点支撑1-0.02,'醒醒'),colorff00ff;
drawtext(cross(短线,超短),高点压力1+0.05,'睡觉'),colorwhite;
aaz:=close>ref(close,1) and ref(close,1)>ref(close,2) and ref(close,1)<ref(close,3) and if(ref(close,3)<ref(close,4),1,if(ref(close,4)<ref(close,5),ref(close,1)<ref(close,4) or (ref(close,2)<ref(close,4) and ref(close,3)>=ref(close,5)),if(ref(close,5)<ref(close,6),1,ref(close,6)<ref(close,7))));
bbz:=close<ref(close,1) and ref(close,1)<ref(close,2) and ref(close,1)>ref(close,3) and if(ref(close,3)>ref(close,4),1,if(ref(close,4)>ref(close,5),ref(close,1)>ref(close,4) or (ref(close,2)>ref(close,4) and ref(close,3)<=ref(close,5)),if(ref(close,5)>ref(close,6),1,ref(close,6)>ref(close,7))));
drawtext(aaz and close>ref(open,2),低点支撑1+0.05,'三平底'),colorwhite;
drawtext(bbz and close<ref(close,2),高点压力m-0.05,'三平顶'),colorcyan;



斋主新版macd
{n 1/100/12;m 1/100/6;}
心理线:count(close>ref(close,1),n)/n*100,nodraw;
心理线m日移动:ma(心理线,m),nodraw;
dif1:=ema(close,12) - ema(close,26);
dea1:=ema(dif1,9);
macd1:=2*(dif1-dea1),stick;
macd2:=ema(macd1,3);
dif:dif1,color33ff33,linethick1;
dea:dea1,coloryellow,linethick1;
macd:macd1,nodraw,colormagenta;
stickline(macd1>macd2 and macd1>0,0,macd1,3.2,0),color000055;
stickline(macd1>macd2 and macd1>0,0,macd1,2.7,0),color000077;
stickline(macd1>macd2 and macd1>0,0,macd1,2.1,0),color000099;
stickline(macd1>macd2 and macd1>0,0,macd1,1.5,0),color0000bb;
stickline(macd1>macd2 and macd1>0,0,macd1,0.9,0),color0000dd;
stickline(macd1>macd2 and macd1>0,0,macd1,0.3,0),color0000ff;
stickline(macd1>macd2 and macd1<0,0,macd1,3.2,0),color555555;
stickline(macd1>macd2 and macd1<0,0,macd1,2.7,0),color777777;
stickline(macd1>macd2 and macd1<0,0,macd1,2.1,0),color999999;
stickline(macd1>macd2 and macd1<0,0,macd1,1.5,0),colorbbbbbb;
stickline(macd1>macd2 and macd1<0,0,macd1,0.9,0),colordddddd;
stickline(macd1>macd2 and macd1<0,0,macd1,0.3,0),colorffffff;
stickline(macd1<macd2,0,macd1,3.2,0),colorb20000;
stickline(macd1<macd2,0,macd1,2.7,0),colorec0000;
stickline(macd1<macd2,0,macd1,2.1,0),colorff4600;
stickline(macd1<macd2,0,macd1,1.5,0),colorff6300;
stickline(macd1<macd2,0,macd1,0.9,0),colorff8b00;
stickline(macd1<macd2,0,macd1,0.3,0),colorffab00;
stickline(macd1>=0 or macd1<=0,0,0,50,1),colorwhite;
var1:=hhv(dea,53);
var2:=llv(dea,55);
var3:=dea-(dif-dea);
up:if(dif>var1 and dea=var1,max(llv(var1,10),var3),var1),colorbb0000,linethick2;
dn:if(dif<var2 and dea=var2,min(hhv(var2,10),var3),var2),coloraa00aa,linethick2;
dif,colorgreen;
dea,colorgreen;
零上金叉买:0,colorblue,crossdot,linethick1;
if(dif>dea,dif,drawnull),colorred,linethick1;
if(dea>ref(dea,1),dea,drawnull),colormagenta;
drawicon(cross(dif,dea),dea,25);
drawicon(cross(dea,dif),dea,15);
lowv:=llv(low,3);
highv:=hhv(high,3);
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;
stickline(macd<ref(macd,1)and cross(k,j),0,macd,2,0),colorgreen;
stickline(macd>ref(macd,1)and cross(j,k),0,macd,2,0),colorred;

m1 := ema( close, 9 );
m2 := ema( close, 18 );
md :m1 - m2, colorwhite, linethick3;
mm := ema( md, 3 );
吸 : if( md >= mm and md <0, md, drawnull ), colorlired, linethick3;
拉 : if( md >= mm and md >= 0, md, drawnull ), colorred, linethick3;
派 : if( md <mm and md >= 0, md, drawnull ), colorgreen, linethick3;
落 : if( md <mm and md <0, md, drawnull ), colorwhite, linethick3;
a1:=abs(l-llv(l,100))/l<0.1;
a2:=v>=1.9*ref(v,1);
a3:=(c-ref(c,1))/ref(c,1);
xg :if(c>o and a1 and a2 and a3>0.05,0.12,0),linethick3,colormagenta;
mmm:=1;
svol:=intpart(sum(v,0)/capital);
tj0:=svol>ref(svol,1) or barssince(close)=0;
s1:=barslast(tj0)+1;
tjj2:=s1<ref(s1,1);
s2:=if(tjj2,ref(s1,1)+1,s1);
s3:=sum(tjj2,0);
zk1:=k#week;
zd2:=d#week;
换手:=v/capital*100,linethick0;
jcd:=cross(zk1,zd2) and ref(zd2,1)<30;
抄底:exist(jcd,mmm),colorcyan,nodraw;
stickline(抄底,0,0.11,0.2,0),colorred;
drawtext(抄底,0.12,'--抄底'),colorred;
je:=vol;
jj2:=(high+low+close)/3;
qj00:=vol/if(high=low,4,high-low);
主买:=(qj00*(jj2-min(close,open)));
主卖:=(qj00*(min(open,close)-low));
aaq:=if(c>(h+l)/2,je,0);
bbq:=if(c<(h+l)/2,je,0);
f1:=sum(aaq,5);f2:=sum(bbq,5);f3:=ema(f1-f2,3);
千均买:主买>主卖 andcross(f3,ref(f3,1))andf3<0andc<15,colorwhite,nodraw;
stickline(千均买>0,0,0.095,0.15,0),coloryellow;
drawtext(千均买>0,0.1,'--千均买'),coloryellow;
x:=ma(c,3)=llv(ma(c,3),7);
dz:=ma(c,3)<ma(c,5);
jz:=ma(v,5)<ma(v,10)*0.99;
cd:=count(ma(c,1)<ref(c,1),2)=2;
买:stickline(x and dz and jz and cd,0,0.11,0,0),colorred;
drawtext(x and dz and jz and cd,0.1,'买'),colorred;
a:=ma(c,3)=hhv(ma(c,3),7);
b:=ma(c,3)>ma(c,5);
f:=ma(v,5)>ma(v,10)*1.01;
w:=count(ma(c,1)>ref(c,1),2)=2;
卖:stickline(a and b and f and w,0.1,0.12,3,1),colorgreen;


理想的思念缅怀一发千钧学长发【北沙三角彩带+斋主新版macd】(主副 源码 附件zip)

  >>>使用本站搜索工具可以找到更多北沙三角彩带+斋主新版MACD主副图ZIP格式指标下载 通达信缅怀源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文北沙三角彩带+斋主新版MACD主副图ZIP格式指标下载 通达信缅怀源码仅供学习研究。

猜你喜欢

学了又学