好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式趋势判断指标(副图+源码+贴图+说明)下载 通达信判断趋势源码

趋势判断指标(副图+源码+贴图+说明)下载 通达信判断趋势源码

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2019-03-16 07:07:33
  • 指标公式标签:趋势判断
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:趋势判断指标(副图+源码+贴图+说明)下载 通达信判断趋势源码

趋势判断指标

stickline(c>0,h,l,3,0),colorblack;{背景色是什么就填什么颜色}
{时间设置}
lta:=finance(7)+300000000;
gb:=2*if(finance(7)<100000000000,floor(abs((finance(7)/1000000000-1))),floor(abs((finance(7)/1000000000-1)))/10),nodraw ;
c1:=close;
v1:=time;
a1:=count(barscount(c)=1 and time<102000 ,0 );
t:=if(v1<130000,(floor(v1/10000)-9.5)*60+(floor(v1/100)-100*floor(v1/10000)),
(floor(v1/10000)-11)*60+(floor(v1/100)-100*floor(v1/10000))),nodraw;
成交额:amount,nodraw;
大额线:=50*3+300*gb,color00ffff;

vv2:=sum(amount,t),nodraw;
初正1:=if(t=1 and dynainfo(4)>=dynainfo(3),vv2,0);
初负1:=if(t=1 and dynainfo(4)<dynainfo(3),vv2,0);
初正2:=const(sum(if(t=1,初正1,0),t)),nodraw;
初负2:=const(sum(if(t=1,初负1,0),t)),nodraw;
初正:=const(sum(if(初正1>大额线 and t=1,初正1,0),t)),nodraw;
初负:=const(sum(if(初负1>大额线 and t=1,初负1,0),t)),nodraw;
t00:=if(c1>ref(c1,1),0.9,-0.9);
t01:=if(c1<ref(c1,1),-0.9,0.9);
t02:=t00+t01;
tt1:=barslast(cross(t02,0));
tt2:=barslast(cross(0,t02));
tt:=if(t02=1.8,1,if(t02=-1.8,-1,0));
正v1:=if(tt=1 or (tt=0 and tt1>tt2),成交额,0);
负v1:=if(tt=-1 or (tt=0 and tt1<tt2),成交额,0);
正总1:=初正1+sum(正v1,t),nodraw,color0000ff;
负总1:=初负1+sum(负v1,t),nodraw,color00ff00;
总:=(正总1+负总1)+初正2+初负2,nodraw;
正v:=if(正v1>大额线,正v1,0);
负v:=if(负v1>大额线,负v1,0);
正总:初正+sum(正v,t),nodraw,color0000ff;
负总:初负+sum(负v,t),nodraw,color00ff00;
差%:(正总-负总)/总*100,color00ff00,nodraw;

tta:=intpart(2*t/5);
kp30:=t<240;
kpgd:=h=hhv(h,0) and kp30;
gdsj:=barslast(kpgd);
{强弱界}
mma30:=ema(close,30);
强弱界定:=ema(close,900);
{drawband(mma30,rgb(128,0,128),强弱界定,rgb(15,96,96));}
drawicon(cross(mma30,强弱界定),h,1);
cc:=close,colorwhite,linethick2;
var7:=sma(cc,6.18,1);
var71:=atan((var7-ref(var7,1)))*180/3.1416;
var8:=sma(var7,3.14,1);
var81:=atan((var8-ref(var8,1)))*180/3.1416;
rcc:=dynainfo(3);
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=4*(s2-s6);
kk:=1;

{暗轨}
{aa1:=ployline(close<cost(50) and t>5,cost(20));
bb1:=ployline(close<cost(50) and t>5,cost(80));
drawband(bb1,rgb(50,50,50),aa1,drawnull);}
{cyc}
var1:=amount/vol/100;
var2:=(3*high+low+open+2*close)/7;
var3:=sum(amount,5)/var1/100;
var4:=sum(amount,13)/var1/100;
var5:=sum(amount,34)/var1/100;
cyc5:=dma(var2,vol/var3);
cyc13:=dma(var2,vol/var4);
cyc34:=dma(var2,vol/var5);
{drawband(cyc5,rgb(238,130,238),cyc13,drawnull);
drawband(cyc13,rgb(150,0,150),cyc34,drawnull);}
{分时macd}
昨收:=dynainfo(3);
hh:=dynainfo(5);
ll:=dynainfo(6);
fk:=max(hh-昨收,昨收-ll)*0.1;
zs:=昨收-fk*3.2;
q1:=昨收-fk*3.22;
q2:=昨收-2*fk*3.22;
q3:=昨收-3*fk*3.2;
ma5:=ma(close,5);
ma10:=ma(close,10);
ma20:=ma(close,20);
ma30:=ma(close,30);
dif:=(ema(close,13) - ema(close,24));
dea:=(ema(dif,6));
macd:=5*(dif-dea);
{stickline(macd>=0 and macd>=ref(macd,1),rcc*kk,macd*4+rcc*kk,3,1)
,colorff00ff,linethick3;}
stickline(macd>=0 and macd< ref(macd,1),rcc*kk,macd*4+rcc*kk,0,0),color00ff00,linethick3;
stickline(macd<0 and macd>=ref(macd,1),rcc*kk,macd*4+rcc*kk,0,0)
colorff00ff,{color4abeff},linethick3;
{stickline(macd<0 and macd< ref(macd,1),rcc*kk,macd*4+rcc*kk,3,1)
,colorblue,linethick3;}
stickline(dk>0,rcc*kk,rcc*kk+dk,0,0),colorred;
stickline(dk<0,rcc*kk,rcc*kk+dk,0,0),colorffff00;
{多头macd}
diff:=ema(close,240)-ema(close,240)*100;
deaa:=ema(diff,18);
多头macd:=(-3*(diff-deaa))*20,nodraw;
zd:=hhv(多头macd,0);
zx:=llv(多头macd,0);
cz:=(q2-q3)/6;
fdm:=max(abs(zd),abs(zx))*1.5;
rb:=(q2+q3)/2+2*(q2-q3)/3/fdm*多头macd;
stickline(多头macd>0,rb,(q2+q3)/2,0,0),linethick1,color0000ff;
stickline(多头macd<0,rb,(q2+q3)/2,0,0),linethick1,color00ff00;
{火焰山及底部信号}
faa:=winner(close+close*15/100)*100;
fbb:=winner(close+close*0/100)*100;
fcc:=faa-fbb;
fdd:=(winner(close-close*0.1/100)-winner(close-close*15/100))*100;
fee:=fcc<3 and fdd<0.5 and open!=low;
fa1:=dynainfo(6);
fa2:=if(low>fa1,0,if(high<fa1,1,(fa1-low+0.01)/(high-low+0.01)));
fa3:=vol/winner(low);
fa4:=ref(hhv(close,120),1);
fa5:=ref(llv(close,120),1);
fa6:=100*(close-fa5)/(fa4-fa5);
fa7:=fa2>0 or fa2=1;
fa8:=fa7 and fa3/ref(fa3,3)>=3 and fa6<80;
fa9:=ref(fa8,1) or ref(fa8,2) or ref(fa8,3) or ref(fa8,4);
fa10:=fa8 and fa9;
fa11:=if(filter(fa8,3),5,0);
fa12:=if(filter(fa10,3) or fee,10,0);
eeee:=(rcc-zs)/5;
fvar1:=ref(low,1);
fvar2:=sma(abs(low-fvar1),13,1)/sma(max(low-fvar1,0),13,1);
fvar3:=ema(fvar2,13);
fvar4:=llv(low,34);
fvar51:=ema(if(low<=fvar4,fvar3,0),3);
fvar5:=if(fvar51>20,20,fvar51);
drawtext(fa11,(q2+q3)/2*1.02,'↑进'),color00ffff;
drawtext(fa12,(q2+q3)/2*1.03,',↑加');
主力进场:stickline(fvar5>ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,10,1),
colorff00ff;
洗盘:if(fvar5<ref(fvar5,1),fvar5,0)colorgreen,nodraw;
stickline(fvar5<ref(fvar5,1),(q2+q3)/2,(q2+q3)/2+fvar5*eeee,5,1),colorcyan;
fvar6:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((close-
llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
fvar7:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((open-llv
(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
fvar8:=fvar6<ref(fvar7,1) and vol>ref(vol,1) and close>ref(close,1);
drawtext(fvar8 and count(fvar8,30)=1,(q2+q3)/2+3*eeee,'★迹');
jccount:=count(cross(dif,dea),barslast(dea>=0));
二次金叉:=cross(dif,dea) and dea<0 and count(jccount=2,21)=1;
stickline(二次金叉,(q2+q3)/2,(q2+q3)/2*1.01,4,0),colorff00ff;
drawtext(二次金叉,(q2+q3)/2*1.01,' 二金'),coloryellow;
hhh:=ma(close,10);
ggg:=ma(close,12);
上:=ema((ma(high,3) * 1.05),30);
下:=ema((ma(low,3) * 0.96),30);
决战:stickline((((cross(dif,dea) and ((下 - ref(下,1)) > 0)) and (macd >= ref(macd,1))) and
(dif < 0)),(q2+q3)/2,(q2+q3)/2*1.01,1,0),color0000ff;
drawtext((((cross(dif,dea) and ((下 - ref(下,1)) > 0)) and (macd >= ref(macd,1))) and (dif
<= 0)),(q2+q3)/2*1.01,'dif金叉'),color0000ff;
{两个主要买进信号}
rsv:=((close-llv(low,240))/(hhv(high,240)-llv(low,240))*200-100);
k:=sma(sma(rsv,18,1),3,1);
d:=ma(ema(k,18),3);
短买:=cross(k,d) and k>0 and close<dynainfo(3)*1.07;
drawtext(短买,(q2+q3)/2+(q2-q3)/1,'短买'),colorff00ff;
yy:=sma(vol,30,1);
量1:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30));
量:=(yy-llv(llv(yy,1),30))/(hhv(hhv(yy,1),30)-llv(llv(yy,1),30))>0.92;
短横:=((hhv(close,tta)-llv(close,tta))/close)<0.04;
横后上涨:=(close/dynainfo(3))>=1.02=0 and 短横 and 量 and cross(c,(ma(c*v,tta)/ma(v,tta) + avedev(c,tta)*2));
上涨:=filter((cross(横后上涨,0)and 量 and t>60
or (t>60 and close<dynainfo(3)*1.04 and (量1<0.5 or 量1=1) and barslast(cross(c,(ma(c*v,tta)/ma(v,tta) + avedev(c,tta)*2)))<3
and cross(c,ma(hhv(c,tta),1)))),30);
drawtext(上涨,(q2+q3)/2+(q2-q3)/1,'★涨'),colorred,linethick3;
hhhh:ref(h,gdsj),colorffffff,pointdot,linethick1;
过顶:if(cross(c,hhhh),1,0),color00ff00,pointdot,nodraw;
冲高:if(filter(cross(c,hhhh*1.01),15),1,0),color00ffff,pointdot,nodraw;
{drawband(var7,rgb(255,550,80),var8,rgb(0,225,225));}
drawtext(过顶,hhhh*1.005,'↑'),color00ff00;
drawtext(冲高,hhhh*1.005,'☆'),color00ffff;
c;
high;
low;
drawband(high,rgb(139,0,139),low,drawnull);
drawband(c,rgb(65,105,225),low,drawnull);
stickline(var71>0 and var7>ref(var7,1), var7,ref(var7,1),4,0),colorred;
stickline(var71<0 and var7<ref(var7,1), var7,ref(var7,1),4,1),colorgreen;
stickline(var81>0,var8,ref(var8,1),4,0),color00ccff;
stickline(var81<0,var8,ref(var8,1),4,1),colorbbcccc;
c,linethick1,colorffffff;
a:=ref(h,8)=hhv(h,2*8+1);
b1:=filter(a,8);
c3:=backset(b1,8+1);
d1:=filter(c3,8);{高点}
r11:=backset(islastbar,barslast(d1)+1); s11:=r11>ref(r11,1);
压1:drawline(d1,h,s11,h,1),colorff6600,linethick1;
a2:=ref(l,8)=llv(l,2*8+1);
b2:=filter(a2,8);
c2:=backset(b2,8+1);
d2:=filter(c2,8);{低点}
t11:=backset(islastbar,barslast(d2)+1); u11:=t11>ref(t11,1);
撑1:drawline(d2,l,u11,l,1),colorff6600,linethick1;
m:=intpart(3*8/5);
a12:=ref(h,m)=hhv(h,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);
压2:drawline(d12,h,s112,h,1)color9999cc,linethick1;
a22:=ref(l,m)=llv(l,2*m+1);
b22:=filter(a22,m);
c22:=backset(b22,m+1);
d22:=filter(c22,m);{{波段低点}
t112:=backset(islastbar,barslast(d22)+1); u112:=t112>ref(t112,1);
撑2:drawline(d22,l,u112,l,1)color9999cc,{colorffcccc},linethick1,;
xu:=peak(c,if(period<5,5,10),1)*0.999,colorffcc99,linethick1;{箱顶}
xd:=trough(c,if(period<5,5,10),1)*0.998,colorff99cc,linethick1;{箱底}
xtb:=xd!=ref(xd,2) && xd=ref(xd,1);
xts:=xu!=ref(xu,2) && xu=ref(xu,1);
drawicon(xtb,min(xd,l)*0.990,1);
升段:drawline(xtb,min(llv(l,1),xd),xts,max(hhv(h,1),xu),0)
color000099,linethick1;{xtbl}
跌段:drawline(xts,max(hhv(h,1),xu),xtb,min(llv(l,1),xd),0)
color009900,linethick1;{xtsl}
drawtext(xtb,min(xd,l)*0.984,'下跌终点!满仓]'),color0000dd;
drawicon(xts,max(xu,h)*1.006,2);
drawtext(xts,min(xu,h)*1.006,'上升终点!清仓]')color00dd00;


趋势判断指标

  >>>使用本站搜索工具可以找到更多趋势判断指标(副图+源码+贴图+说明)下载 通达信判断趋势源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文趋势判断指标(副图+源码+贴图+说明)下载 通达信判断趋势源码仅供学习研究。

猜你喜欢

学了又学