好公式网用指标公式为投资注入科技力量!
您的位置:好公式网大智慧公式主动率通吃率公式下载 大智慧指标源码主动源码

主动率通吃率公式下载 大智慧指标源码主动源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:主动率通吃率公式下载 大智慧指标源码主动源码

主动率通吃率

主动率、通吃率指标源码


小单差:(1-bigorder(1,1)-(1-bigorder(2,1)))*100,colorgreen,linethick0,precis2;
特大差:(bigorder(1,3)-bigorder(2,3))*100,linethick0,coloryellow,precis2;
大单差:((bigorder(1,2)-bigorder(2,2))-(bigorder(1,3)-bigorder(2,3)))*100,linethick0,colorff00ff,precis3;
大户买:=(bigorder(1,2)-bigorder(1,3))*amount/1000000;
大户卖:=(bigorder(2,2)-bigorder(2,3))*amount/1000000;
大户:=(大户买-大户卖)*100;
特大买:=bigorder(1,3)*amount/1000000;
特大卖:=bigorder(2,3)*amount/1000000;
特大:=(特大买-特大卖)*100;
bbd:大户+特大,color3d,precis3;
买入单数:= order(1);
卖出单数:= order(2);
单数比:卖出单数/买入单数,linethick0,precis3;
外盘:=sum(if(dynainfo(23)*close,dynainfo(23),0),0)*0.003906;
内盘:=sum(if(dynainfo(22)*close,dynainfo(22),0),0)*0.003906;
主动率:(外盘-内盘)/(内盘+外盘)*100,precis3,linethick0;
买入:=bigorder(1,2)*amount;
卖出:=bigorder(2,2)*amount;
净额:=买入-卖出;
通吃率:净额/amount*100,precis3,linethick0;

===================================

各单差

小单差:(1-bigorder(1,1)-(1-bigorder(2,1)))*100,colorgreen,linethick0,precis2;
特大差:(bigorder(1,3)-bigorder(2,3))*100,linethick0,coloryellow,precis2;
大单差:((bigorder(1,2)-bigorder(2,2))-(bigorder(1,3)-bigorder(2,3)))*100,linethick0,colorff00ff,precis3;



===========================================

bbd

大户买:=(bigorder(1,2)-bigorder(1,3))*amount/1000000;
大户卖:=(bigorder(2,2)-bigorder(2,3))*amount/1000000;
大户:=(大户买-大户卖)*100;
特大买:=bigorder(1,3)*amount/1000000;
特大卖:=bigorder(2,3)*amount/1000000;
特大:=(特大买-特大卖)*100;
bbd:大户+特大,color3d,precis3;



===========================
单数比

买入单数:= order(1);
卖出单数:= order(2);
单数比:卖出单数/买入单数,linethick0,precis3;



============================
主动率

外盘:=sum(if(dynainfo(23)*close,dynainfo(23),0),0)*0.003906;
内盘:=sum(if(dynainfo(22)*close,dynainfo(22),0),0)*0.003906;
主动率:(外盘-内盘)/(内盘+外盘)*100,precis3,linethick0;


============================
通吃率

买入:=bigorder(1,2)*amount;
卖出:=bigorder(2,2)*amount;
净额:=买入-卖出;
通吃率:净额/amount*100,precis3,linethick0;

输精度出控制符
precisx,用逗号隔开放置在输出语句后,用于设定指标数值精确到小数点后多少位,x可以为0-6。
例如:
close,precis6;表示收盘价线显示6位小数精度

寻高手改成通达信的。

drawgbk(v>1,strip(rgb(1,100,125),rgb(1,30,10),0));
a:=filter(backset(barstatus=2,34),34);0,colormagenta;
b:=filter(backset(barstatus=2,100),100);0,colormagenta;
起始:stickline(a,0,70,3,0);
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;
天:=barslast(a);
天1:barslast(b);
all(天,j);
个股j:if(天>0 ,j,0), colorcyan,linethick2;
个股k:if(天>0,k,0),colorgreen;
获利:=winner(c);
stickline(cross(k,d),天+15,天,0,0),colorgreen,linethick2;
drawicon(cross(k,d),天+23,1),align1;
stickline(cross(天1,个股j),天1+15,天1,0,0),colorred,linethick2;
stickline(cross(d,k),天1+15,天1,0,0),colorgreen,linethick2;
drawicon(cross(d,k),天1+23,2),align1;
drawicon(cross(天1,个股j),天1+23,10),align1;
drawicon(cross(天1,个股j),天1,5),align1;
drawtext(cross(天1,个股j),天1+28,'预警'),align1,colorffff00;
drawicon(cross(个股j,0),个股j+3,4),align1;
stickline(cross(个股j,0),个股j+20,个股j,0,0),colorgreen,linethick2;
drawtext(cross(个股j,0),个股j+28,'预喜'),align1,colorred;
drawtext(天=1,36,' 年'), colorgreen;
drawtext(天=1,20,' 月'), colorgreen;
drawtext(天=1,10,' 日'), colorgreen;
drawtext(天=1,36,numtostrn(year,0)),align2, colorred;
drawtext(天=1,20,numtostrn(month,0)),align2, colorred;
drawtext(天=1,10,numtostrn(day,0)),align2,colorred;
stickline(个股j>0 and 个股j>=ref(100,1),20,10,8,0),colorwhite;
stickline(个股j>0 and 个股j<=ref(100,1),-10,0,8,0),colorgreen;
stickline(个股j>=0 and 个股j>=ref(个股k,1),10,0,8,0),colorred;
stickline(个股j<=0 and 个股j<=ref(个股k,1),-10,0,10,0),coloryellow;




底部爆发-本人自用公式

stickline(18,100,0,5,0),colorblue;
var01:=ema((close-llv(low,25))/(hhv(high,25)-llv(low,25))*100,5);
var02:=(hhv(high,25)-llv(low,25))/ema((close-llv(low,25)),5);
var03:=cross(var02,var01);
var04:=ref(var02,2)<ref(var02,1) and var02<ref(var02,1);
var05:=count(var03,7)>0 and var04;
var06:=ref((low+open+close+high)/4,1);
var07:=sma(abs(low-var06),13,1)/sma(max(low-var06,0),10,1);
var08:=ema(var07,10);
var09:=ema(c,5);
var10:=llv(low,33);
var11:=ema(if(low<=var10,var09,0),3)*40;
var12:=if(var11>100,var11*0.312,var11);
底部爆发:var12,colorwhite;
stickline(var12>0,0,var12,3,0),colorwhite;
stickline(var12>0,0,var12,2,0),color555555;
stickline(var12>0,0,var12,1,0),colorwhite;
stickline(var02>0,0,var02,5,0),color3a7841;
海岸:var02,colorgreen;
浪花:var01,colorcyan;
stickline(var05 and count(var05,5)=1,0,var12,4,0),colorred;




空:=ema(c,5);
均衡:ema(空,5),colorwhite;
中轨:hhv(ma(h,13),13),colorred,linethick2;
趋势:llv(ma(h,13),1),colorgreen,linethick2;
vara:=(close-ref(open,29))/ref(open,29)*100;
varb:=ema(0.667*ref(vara,1)+0.333*vara,5);
drawtext(if(vol>=1.3*ma(vol,5) and count(vara>=varb and vara<-17,3) and ref(low,1)=llv(low,120),1,0),low,'买入');
varc:=sma(max(close-ref(c,1),0),6,1)/sma(abs(close-ref(c,1)),6,1)*100;
drawicon(cross(82,varc),high,2);
var1:=(high+low+open+2*close)/5;
var2:=ref(var1,1);
var3:=sma(max(var1-var2,0),10,1)/sma(abs(var1-var2),10,1)*100;
var4:=filter(if(count(var3<20,5)>=1 and count(var1=llv(var1,10),10)>=1 and close>=open*1.038 and vol>ma(vol,5)*1.2,1,0),5);
drawicon(var4,low,1);
var5:=filter(均衡>ref(均衡,1)and 中轨<ref(中轨,1)and c>ref(c,1),11);
drawtext(var5,l*0.98,'▲
');
var6:=ref(close,1);
var7:=sma(max(close-var6,0),6,1)/sma(abs(close-var6),6,1)*100;
drawtext(cross(84,var7),h*1.03,'▼'),coloryellow ;





var1d:=ema(close,2)-ema(close,89);
var1e:=ema(var1d,30);
var1f:=2*(var1d-var1e)*10;
var20:=pow(var1f,3)*0.1+pow(var1f,2);
var25:=if(var1f>0.015,var20,0)/45;
拉升资金: var25*10,colorred;
var26:=ema(close,2)-ema(close,150);
var27:=ema(var26,100);
var28:=2*(var26-var27);
var29:=pow(var28,3)*0.1+pow(var28,1);
主力资金:if( var28>0.1,var29,0)*10;
{var1:=1;
var3:=llv(high,240);
var4:=100*(close-var3)/var3*var1;
var5:=ref(llv(close,480),1)*var1;
var6:=ref(hhv(close,480),1)*var1;
var7:=100*(close-var5)/(var6-var5)*var1;
var8:=(close-llv(close,981))/(hhv(close,981)-llv(close,981))*100*var1;
var9:=(close-llv(close,393))/(hhv(close,393)-llv(close,393))*100*var1;
vara:=(close-llv(low,981))/(hhv(high,981)-llv(low,981))*100*var1;
varb:=(close-llv(low,393))/(hhv(high,393)-llv(low,393))*100*var1;
varc:=ema(100*(close-llv(low,100))/(hhv(high,100)-llv(low,100)),5)/4*var1;
vard:=if(varc>23.16,varc,0)*var1;
vare:=varc<1*var1;
varf:=vard*var1;
var10:=var4<0 and var7<0;
var11:=1;
var12:=(high+low+close*2)/4*var11;
var13:=ema(var12,21);
var14:=std(var12,21);
var15:=((var12-var13)/var14*100+200)/4*var11;
var16:=(ema(var15,89)-25)*1.56*var11;
var17:=ema(var16,5)*1.22*var11;
var18:=ema(var17,3)*var11;
var19:=3*var17-2*var18*var11;
var1a:=if(cross(var19,var17) and cross(var19,var18) and cross(var17,var18),1,0);
var1b:=if(cross(var17,var19) and cross(var18,var19) and cross(var18,var17),1,0);
买点: if(filter(var8=0 and vare and var10 and var1a,5)=1,10,0);
卖点: if(filter(var8=100 and varf and var1b,5)=1,10,0);
var1c:=ema(100*(close-llv(low,100))/(hhv(high,100)-llv(low,100)),13)/4*var1;
var1d:=ema(close,2)-ema(close,89)*var1;
var1e:=ema(var1d,30)*var1;
var1f:=2*(var1d-var1e)*10*var1;
var20:=pow(var1f,3)*0.1+pow(var1f,2)*var1;
var21:=sqrt(sqrt(low*high*open*close));
var22:=ema(var21*0.97,3)*var1;
var23:=(high+low+close)/3*var1;
var24:=(var23-ma(var23,14))/(0.015*avedev(var23,14))*var1;
var25:=if(year<2010 and var1f>0.015,var20,0)/45*var1;
拉升资金: var25,colorred;
var26:=ema(close,2)-ema(close,150);
var27:=ema(var26,100);
var28:=2*(var26-var27);
var29:=pow(var28,3)*0.1+pow(var28,1);
var2a:=sqrt(sqrt(low*high*open*close));
var2b:=ema(var2a*0.97,3);
var2c:=(high+low+close)/3;
var2d:=(var2c-ma(var2c,14))/(0.015*avedev(var2c,14));
主力资金: if(year<2010 and var28>0.1,var29,0)*5;}




大智慧通达信测试通过
var2:=((close > ref(close,1)) and (close > ref(close,2)));
var3:=((ref(var2,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var4:=((ref(var3,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var5:=((ref(var4,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var6:=((ref(var5,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var7:=((ref(var6,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var8:=((ref(var7,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var9:=((ref(var8,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
vara:=((ref(var9,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varb:=((ref(vara,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
varc:=((ref(varb,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
vard:=((ref(varc,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
stickline((((((((((((var2 or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc) or vard),close,ref(close,1),3,1),colorred;
vare:=((close < ref(close,1)) and (close < ref(close,2)));
varf:=((ref(vare,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var10:=((ref(varf,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var11:=((ref(var10,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var12:=((ref(var11,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var13:=((ref(var12,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var14:=((ref(var13,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var15:=((ref(var14,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var16:=((ref(var15,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var17:=((ref(var16,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var18:=((ref(var17,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var19:=((ref(var18,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
stickline((((((((((((vare or varf) or var10) or var11) or var12) or var13) or var14) or var15) or var16) or var17) or var18) or var19),close,ref(close,1),3,1),colorff9900;
var1a:=(ref((((((((((((vare or varf) or var10) or var11) or var12) or var13) or var14) or var15) or var16) or var17) or var18) or var19),1) and var2);
stickline(var1a,ref(close,1),ref(close,2),3,0),coloryellow;
aa:=(ref((((((((((((var2 or var3) or var4) or var5) or var6) or var7) or var8) or var9) or vara) or varb) or varc) or vard),1) and vare);
stickline(aa,ref(close,1),ref(close,2),3,0),colorgreen;
翻红:=var1a;
三平底:=翻红 {and ref(close,1)>ref(close,2)};
stickline( 三平底, ref(close,1), close, 3,1 ),colormagenta;
drawtext(三平底,l,'三平底'),colorred;
翻绿:=aa;
三平顶:=翻绿 {and ref(close,1)<ref(close,2)};
drawtext(三平顶,l,'三平顶'),colorgreen;
ma5:ma(c,5);

必赚三点

{逃顶指标}

var2:=llv(low,10);
var3:=hhv(high,25);
阶段卖出: 3.2,colorc6c600;
3.5,color0088ff;
清仓卖出: 3.5,colorff75ff;
动力线:= ema((close-var2)/(var3-var2)*4,4);
stickline(动力线>ref(动力线,1) ,动力线 ,ref(动力线,1),3 ,1),colorred;
stickline(动力线<=ref(动力线,1) ,动力线 ,ref(动力线,1),3 ,1),color00ff00;
底部:0.2,color70db93;
关注:0.5,coloryellow;
drawicon( filter(cross(动力线,关注),20),动力线+0.02 ,1);
drawicon( filter(cross(清仓卖出,动力线),20),动力线+0.02,2);
drawicon( filter(cross(动力线,底部),20),动力线+0.02 ,1);
drawicon( filter(cross(阶段卖出,动力线),20),动力线+0.02,2);
强弱分界线:1.75,pointdot,linethick2,color70db93;
数值:动力线,colora8a8a8;


用法如下:
用这个指标可以判断,个股逃顶数值在3.2以上,尤其是到达3.5以上,一旦在高位出现绿色柱状,就要及时卖出了,连续出现2个绿色柱状,说明下降通道打开了,更要逃命了,掌握住这点,你就是赢家。我们不是庄家,不会卖到最高价,但通过这个指标,可以卖到较高价。个股购买时,也可以参考这个指标,逃顶指标到达3.0以上的个股要谨慎买入了,对于逃顶指标到达3.3以上的个股,原则上不买入了,此时的下跌风险远远大于上涨的机会。

---------------------------------------------
{必赚三点}
var1:=(2*close+high+low)/4;
var2:=llv(low,34);
var3:=hhv(high,34);
xx:ema((var1-var2)/(var3-var2)*100,13);
yy:ema(0.667*ref(xx,1)+0.333*xx,2) , ;
stickline(yy<xx,xx,yy,6,0),colorred;
选股:if(cross(xx,yy) and xx<20 ,30,0)colorgray;
逃顶:if(filter(cross(yy,xx) and xx>80 ,3),60,90),colorgray;



神秘买卖均线(大智慧)
g1:=ema((2*close+high+low)/4,5);
g2:=ema((2*close+high+low)/4,13);
g3:=ref(ema((low+close+open)/3,25),1);
g4:=ema((2*close+high+low)/4,6);
if (g1>g2,g1,g3),colorred,linethick2;
if (g1>g2,g2,g3),colorred,linethick2;
if (g1<=g2,g1,g3),color00ff00,linethick2;
if (g1<=g2,g2,g3),color00ff00,linethick2;
g3,colorwhite,linethick2;

本文仅仅提供源码,并没公式提供下载


  >>>使用本站搜索工具可以找到更多主动率通吃率公式下载 大智慧指标源码主动源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文主动率通吃率公式下载 大智慧指标源码主动源码仅供学习研究。

猜你喜欢

学了又学