好公式网用指标公式为投资注入科技力量!
您的位置:好公式网大智慧公式股龙有心主图公式下载 大智慧指标源码主图源码

股龙有心主图公式下载 大智慧指标源码主图源码

  • 指标公式类型:大智慧公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-12-18 07:16:12
  • 指标公式标签:有心
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:股龙有心主图公式下载 大智慧指标源码主图源码

股龙有心主图

股龙有心
{股龙有心-(超赢多日主图)}
input: n(1,1,30);
today:=dynainfo(7)=close and dynainfo(10)=amount and (order(1)=0 and order(2)=0);
ddmr:=if(today,("ddedata@bigorder"(1,2)-"ddedata@bigorder"(2,2)),(bigorder(1,2)-bigorder(2,2)))*vol/capital*100;
ddmrs:=sum(ddmr,0);

小单买:=if(today,(1-"ddedata@bigorder"(1,1)),(1-bigorder(1,1)));
小单卖:=if(today,(1-"ddedata@bigorder"(2,1)),(1-bigorder(2,1)));
中单买:=if(today,("ddedata@bigorder"(1,1)-"ddedata@bigorder"(1,2)),(bigorder(1,1)-bigorder(1,2)));
中单卖:=if(today,("ddedata@bigorder"(2,1)-"ddedata@bigorder"(2,2)),(bigorder(2,1)-bigorder(2,2)));
大单买:=if(today,("ddedata@bigorder"(1,2)-"ddedata@bigorder"(1,3)),(bigorder(1,2)-bigorder(1,3)));
大单卖:=if(today,("ddedata@bigorder"(2,2)-"ddedata@bigorder"(2,3)),(bigorder(2,2)-bigorder(2,3)));
特单买:=if(today,"ddedata@bigorder"(1,3),bigorder(1,3));
特单卖:=if(today,"ddedata@bigorder"(2,3),bigorder(2,3));
主单买:=if(today,("ddedata@bigorder"(1,2)),bigorder(1,2));
主单卖:=if(today,("ddedata@bigorder"(2,2)),bigorder(2,2));

主净:(主单买-主单卖)*amount/10000,color00ffff,linethick0,precis2;
主增:=(vol/capital)*100*(主单买-主单卖);
超净:(特单买-特单卖)*amount/10000,color00ffff,linethick0,precis2;
超增:=(vol/capital)*100*(特单买-特单卖);
大净:(大单买-大单卖)*amount/10000,color00ffff,linethick0,precis2;
大增:=(vol/capital)*100*(大单买-大单卖);
中净:(中单买-中单卖)*amount/10000,color00ffff,linethick0,precis2;
中增:=(vol/capital)*100*(中单买-中单卖);
散净:(小单买-小单卖)*amount/10000,color00ffff,linethick0,precis2;
散增:=(vol/capital)*100*(小单买-小单卖);

drawtextabs(0,5,'理想超赢今日各单动态'),color1199ff;
drawtextabs(0,20,'主净:'+ numtostrn(主净,2)+'('+numtostrn(主增,2)+'%)'),color00ffff;
drawtextabs(0,35,'超净:'+ numtostrn(超净,2)+'('+numtostrn(超增,2)+'%)'),colorff00ff;
drawtextabs(0,50,'大净:'+ numtostrn(大净,2)+'('+numtostrn(大增,2)+'%)'),color00ff00;
drawtextabs(0,65,'中净:'+ numtostrn(中净,2)+'('+numtostrn(中增,2)+'%)'),colorb5b5b5;
drawtextabs(0,80,'散净:'+ numtostrn(散净,2)+'('+numtostrn(散增,2)+'%)'),colorff9911;

最大值:=50/(max(散净,中净,大净,超净,主净));
散户净买:=140+abs(散净*最大值);
中户净买:=140+abs(中净*最大值);
大户净买:=140+abs(大净*最大值);
超大净买:=140+abs(超净*最大值);
主力净买:=140+abs(主净*最大值);

drawrectabs(140,20,abs(主力净买),35,(if((主净 >= 0),rgb(255,0,0),rgb(0,200,0)))),color000000,layer0;
drawrectabs(140,35,abs(超大净买),50,(if((超净 >= 0),rgb(255,0,0),rgb(0,200,0)))),color000000,layer0;
drawrectabs(140,50,abs(大户净买),65,(if((大净 >= 0),rgb(255,0,0),rgb(0,200,0)))),color000000,layer0;
drawrectabs(140,65,abs(中户净买),80,(if((中净 >= 0),rgb(255,0,0),rgb(0,200,0)))),color000000,layer0;
drawrectabs(140,80,abs(散户净买),95,(if((散净 >= 0),rgb(255,0,0),rgb(0,200,0)))),color000000,layer0;

前主净:=ref(主净,n);
前主增:=ref(主增,n);
前超净:=ref(超净,n);
前超增:=ref(超增,n);
前大净:=ref(大净,n);
前大增:=ref(大增,n);
前中净:=ref(中净,n);
前中增:=ref(中增,n);
前散净:=ref(散净,n);
前散增:=ref(散增,n);

前值:=50/(max(前散净,前中净,前大净,前超净,前主净));
散户前净:=140+abs(前散净*前值);
中户前净:=140+abs(前中净*前值);
大户前净:=140+abs(前大净*前值);
超大前净:=140+abs(前超净*前值);
主力前净:=140+abs(前主净*前值);

drawtextabs(0,95,'理想超赢前期各单动态'),color1199ff;
drawtextabs(0,110,'前主:'+ numtostrn(前主净,2)+'('+numtostrn(前主增,2)+'%)'),color00ffff;
drawtextabs(0,125,'前超:'+ numtostrn(前超净,2)+'('+numtostrn(前超增,2)+'%)'),colorff00ff;
drawtextabs(0,140,'前大:'+ numtostrn(前大净,2)+'('+numtostrn(前大增,2)+'%)'),color00ff00;
drawtextabs(0,155,'前中:'+ numtostrn(前中净,2)+'('+numtostrn(前中增,2)+'%)'),colorb5b5b5;
drawtextabs(0,170,'前散:'+ numtostrn(前散净,2)+'('+numtostrn(前散增,2)+'%)'),colorff9911;

drawrectabs(140,110,abs(主力前净),125,(if((前主净 >= 0),rgb(200,0,200),rgb(0,255,200)))),color000000,layer0;
drawrectabs(140,125,abs(超大前净),140,(if((前超净 >= 0),rgb(200,0,200),rgb(0,255,200)))),color000000,layer0;
drawrectabs(140,140,abs(大户前净),155,(if((前大净 >= 0),rgb(200,0,200),rgb(0,255,200)))),color000000,layer0;
drawrectabs(140,155,abs(中户前净),170,(if((前中净 >= 0),rgb(200,0,200),rgb(0,255,200)))),color000000,layer0;
drawrectabs(140,170,abs(散户前净),185,(if((前散净 >= 0),rgb(200,0,200),rgb(0,255,200)))),color000000,layer0;
{股龙有心}
v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
v2:=(1-7/100)*(dma(close,v1));
v3:=(1+7/100)*(dma(close,v1));
v5:=ma((low+high+close)/3,5);
支撑:ref(v2,date),pointdot,linethick3,colorcc66ff;
阻力:ref(v3,date),pointdot,linethick3,colorgreen;
ma1:=ema(close,5);
ma2:=atan((ma1/ref(ma1,1)-1)*100)*180/3.1416;
ma3:=if(ma2>0,ma2,ma2);
ma5:ma(close,5),colorffffff;
ma13:ma(close,13),colorff9900,linethick2;
var1:=close=hhv(c,4) and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
var2:=close=hhv(c,4) and ref(c,1)=llv(c,4);
var3:=close=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)=hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
var4:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
var5:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
var6:=v5>ref(v5,1) and ref(v5,1)<ref(v5,2);
var7:=low<hhv(v5,13) and high>hhv(v5,13) and close>ref(c,1) and close>open;
var8:=var7 and count(var6,2);
var9:=100*ema(ema(c-ref(c,1),6),6)/ema(ema(abs(c-ref(c,1)),6),6);
var10:=ema(ma(c,13),13);
var11:=filter((llv(var9,2)=llv(var9,7) and count(var9<0,2) and cross(var9,ma(var9,2)))=1,5);
var12:=filter((hhv(var9,2)=hhv(var9,7) and count(var9>50,2) and cross(ma(var9,2),var9))=1,1);
var13:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
var14:=filter(((cross(var13,0) or cross(c,var10)) and var11)=1,3);
var15:=ma(c,18)>=ref(ma(c,18),3) and cross(c,ma(c,18));
var16:=var8 and not(ref(var8,1));
partline(ma13,ma3>ref(ma3,1) and ma3>=0),coloryellow,linethick2;
partline(ma13,ma3<ref(ma3,1) and ma3>0),colorgreen,linethick2;
{kdj}
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;
金叉:=cross(j,d);
死叉:=cross(d,j);
买1:=(var14 or var15) and var11;
买2:=(var14 or var15) and var4;
买3:=(var14 or var15) and var2;
买4:=(var2 and var11) or (var4 and var11);
买5:=(金叉 and var4) or (金叉 and var2) or (金叉 and var11);
{涨停}
stickline(close>ref(close,1)*1.0985 and close=high,close,open,8,-1),color00ffff;
{跌停}
stickline(close<ref(close,1)*0.9015 and close=low,close,open,8,-1),colorgreen;
{蓝}
stickline(open>=close,close,open,7,0),colorff7700;
stickline(open>=close,close,open,5,0),colorff9900;
stickline(open>=close,close,open,3,0),colorffbb00;
stickline(open>=close,close,open,1,0),colorff0000;
{红}
stickline(close>open,close,open,7,0),color000099;
stickline(close>open,close,open,5,0),color0000cc;
stickline(close>open,close,open,3,0),color0000ff;
stickline(close>open,close,open,1,0),colorcc66ff;
{绿}
stickline(var3,open,(open+close)/2,7,0),color009900;
stickline(var3,open,(open+close)/2,5,0),color00bb00;
stickline(var3,open,(open+close)/2,3,0),color00dd00;
stickline(var3,open,(open+close)/2,1,0),color00ff00;
{灰}
stickline(var4,open,(open+close)/2,7,0),color999999;
stickline(var4,open,(open+close)/2,5,0),colorbbbbbb;
stickline(var4,open,(open+close)/2,3,0),colordddddd;
stickline(var4,open,(open+close)/2,1,0),colorffffff;
stickline(金叉,open,close,1,0),coloryellow;
stickline(死叉,open,close,1,0),color000099;
drawicon(var16,low-0.02,7),layer1;
drawicon(买1 or 买2 or 买3 or 买4 or 买5,low-0.01,1),layer2;
drawicon(死叉 or var12 or cross(40,var9),high+0.01,2),layer2;



  >>>使用本站搜索工具可以找到更多股龙有心主图公式下载 大智慧指标源码主图源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文股龙有心主图公式下载 大智慧指标源码主图源码仅供学习研究。

猜你喜欢

学了又学