drawgbk(1,colorrgb(0,0,0),colorrgb(0,0,0),1);
zf:=sum((close-ref(close,1))/ref(close,1),0)*100;
z:=ma(zf,7);
f:=ma(z,21);
势:=(z-f)*3;
多:=(if(close>ref(close,1),amount,0))/10000;
空:=(if(close<ref(close,1),amount,0))/10000;
正:=ema(ma(多,3),3);
负:=ema(ma(空,3),3);
资金:正-负,linethick0;
趋势:势*1.5,linethick3,color000088;
partline(趋势<ref(趋势,1),趋势),linethick3,colorgray;
xz:=if(资金/势>1.5,势*1.2,趋势);
资金a:=xz*100;
stickline(势>ref(势,1) and 势>0,0,势,3,0),color000055;
stickline(势>ref(势,1) and 势>0,0,势,2,0),color000099;
stickline(势>ref(势,1) and 势>0,0,势,1,0),color0000bb;
stickline(势>ref(势,1) and 势>0,0,势,0.5,0),color0000dd;
stickline(势<=ref(势,1) and 势>0,0,势,3,0),color888888;
stickline(势<=ref(势,1) and 势>0,0,势,2,0),colorbbbbbb;
stickline(势<=ref(势,1) and 势>0,0,势,1,0),colordddddd;
stickline(势<=ref(势,1) and 势>0,0,势,0.5,0),colorffffff;
stickline(势>ref(势,1) and 势<0,0,势,3,0),color3377aa;
stickline(势>ref(势,1) and 势<0,0,势,2,0),color3388bb;
stickline(势>ref(势,1) and 势<0,0,势,1,0),color4499cc;
stickline(势>ref(势,1) and 势<0,0,势,0.5,0),color5599dd;
stickline(势<=ref(势,1) and 势<0,0,势,3,0),colorff3300;
stickline(势<=ref(势,1) and 势<0,0,势,2,0),colorff5500;
stickline(势<=ref(势,1) and 势<0,0,势,1,0),colorff7700;
stickline(势<=ref(势,1) and 势<0,0,势,0.5,0),colorff9900;
macdxg2:=ref(count(势<0 and 势<ref(势,1),4)=4,1) and 势>ref(势,1);
stickline(macdxg2,势,0,8,0),colorred;
tr0:= sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),14);
hd := high-ref(high,1);
ld := ref(low,1)-low;
dmp:= sum(if(hd>0 and hd>ld,hd,0),14);
dmm:= sum(if(ld>0 and ld>hd,ld,0),14);
pdi:=dmp*100/tr0;
mdi:= dmm*100/tr0;
adx: ma(abs(mdi-pdi)/(mdi+pdi)*100,6),linethick3,color000088;
partline(adx<ref(adx,1),adx),linethick3,colorgray;
涨幅:((c-ref(c,1))/ref(c,1))*100,linethick0;
浮筹比例:(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100,colorgray,linethick3;
partline(浮筹比例<ref(浮筹比例,1),浮筹比例),linethick3,color000088;
{获利:ma(winner(0.95*close)*100-winner(cost(0))*100,1),colorgray,linethick3;
partline(获利<ref(获利,1),获利),linethick3,color000088;}
30,colorff00ff;
80,colorff00ff;
通达信源码:
drawgbk(1,colorrgb(0,0,0),colorrgb(0,0,0),1);
zf:=sum((close-ref(close,1))/ref(close,1),0)*100;
z:=ma(zf,7);
f:=ma(z,21);
势:=(z-f)*3;
多:=(if(close>ref(close,1),amount,0))/10000;
空:=(if(close<ref(close,1),amount,0))/10000;
正:=ema(ma(多,3),3);
负:=ema(ma(空,3),3);
资金:正-负,linethick0;
趋势:势*1.5,linethick3,color000088;
partline(趋势<ref(趋势,1),趋势),linethick3,colorgray;
xz:=if(资金/势>1.5,势*1.2,趋势);
资金a:=xz*100;
stickline(势>ref(势,1) and 势>0,0,势,3,0),color000055;
stickline(势>ref(势,1) and 势>0,0,势,2,0),color000099;
stickline(势>ref(势,1) and 势>0,0,势,1,0),color0000bb;
stickline(势>ref(势,1) and 势>0,0,势,0.5,0),color0000dd;
stickline(势<=ref(势,1) and 势>0,0,势,3,0),color888888;
stickline(势<=ref(势,1) and 势>0,0,势,2,0),colorbbbbbb;
stickline(势<=ref(势,1) and 势>0,0,势,1,0),colordddddd;
stickline(势<=ref(势,1) and 势>0,0,势,0.5,0),colorffffff;
stickline(势>ref(势,1) and 势<0,0,势,3,0),color3377aa;
stickline(势>ref(势,1) and 势<0,0,势,2,0),color3388bb;
stickline(势>ref(势,1) and 势<0,0,势,1,0),color4499cc;
stickline(势>ref(势,1) and 势<0,0,势,0.5,0),color5599dd;
stickline(势<=ref(势,1) and 势<0,0,势,3,0),colorff3300;
stickline(势<=ref(势,1) and 势<0,0,势,2,0),colorff5500;
stickline(势<=ref(势,1) and 势<0,0,势,1,0),colorff7700;
stickline(势<=ref(势,1) and 势<0,0,势,0.5,0),colorff9900;
macdxg2:=ref(count(势<0 and 势<ref(势,1),4)=4,1) and 势>ref(势,1);
stickline(macdxg2,势,0,8,0),colorred;
tr0:= sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),14);
hd := high-ref(high,1);
ld := ref(low,1)-low;
dmp:= sum(if(hd>0 and hd>ld,hd,0),14);
dmm:= sum(if(ld>0 and ld>hd,ld,0),14);
pdi:=dmp*100/tr0;
mdi:= dmm*100/tr0;
adx: ma(abs(mdi-pdi)/(mdi+pdi)*100,6),linethick3,color000088;
partline(adx<ref(adx,1),adx),linethick3,colorgray;
涨幅:((c-ref(c,1))/ref(c,1))*100,linethick0;
浮筹比例:(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100,colorgray,linethick3;
partline(浮筹比例<ref(浮筹比例,1),浮筹比例),linethick3,color000088;
{获利:ma(winner(0.95*close)*100-winner(cost(0))*100,1),colorgray,linethick3;
partline(获利<ref(获利,1),获利),linethick3,color000088;}
30,colorff00ff;
80,colorff00ff;
上一指标公式:BBIBOLL主图公式 飞狐BBIBOLL指标 源码
下一指标公式:漂亮实用的主图公式 飞狐漂亮实用指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文主力资金公式 飞狐指标资金指标 源码仅供学习研究。