好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式四方力道的公式 飞狐力道指标 源码

四方力道的公式 飞狐力道指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-06-24 22:29:44
  • 指标公式标签:力道
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:四方力道的公式 飞狐力道指标 源码
我的四方力道让我误删了,找到的这个源码,看看还挺全的,就发上来,大家分享
{主力}
换手:=v*100/capital;
主力:=ma(换手,4);
大户:=ma(换手,9);
中户:=ma(换手,17);
散户:=ma(换手,34);
均量:=(主力+大户+中户+散户)/4;
主力能量:=(主力-均量);
操盘:stickline(主力能量>=0 and 主力能量>=ref(主力能量,1),0,主力能量,4,0),colorred;
减仓:stickline(主力能量>=0 and 主力能量< ref(主力能量,1),0,主力能量,4,0),colorred;
反弹:stickline(主力能量<0 and 主力能量>=ref(主力能量,1),0,主力能量,4,0),colorgreen;
寻底:stickline(主力能量<0 and 主力能量< ref(主力能量,1),0,主力能量,4,0),colorgreen;
0,pointdot,colorwhite;


,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
{大户}
换手:=v*100/capital;
主力:=ma(换手,4);
大户:=ma(换手,9);
中户:=ma(换手,17);
散户:=ma(换手,34);
均量:=(主力+大户+中户+散户)/4;
大户能量:=(大户-均量);
操盘:stickline(大户能量>=0 and 大户能量>=ref(大户能量,1),0,大户能量,4,0),colorred;
减仓:stickline(大户能量>=0 and 大户能量< ref(大户能量,1),0,大户能量,4,0),colorred;
反弹:stickline(大户能量<0 and 大户能量>=ref(大户能量,1),0,大户能量,4,0),colorgreen;
寻底:stickline(大户能量<0 and 大户能量< ref(大户能量,1),0,大户能量,4,0),colorgreen;
0,pointdot,colorwhite;


,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
{中户}
换手:=v*100/capital;
主力:=ma(换手,4);
大户:=ma(换手,9);
中户:=ma(换手,17);
散户:=ma(换手,34);
均量:=(主力+大户+中户+散户)/4;
中户能量:=(中户-均量);
操盘:stickline(中户能量>=0 and 中户能量>=ref(中户能量,1),0,中户能量,4,0),colorred;
减仓:stickline(中户能量>=0 and 中户能量< ref(中户能量,1),0,中户能量,4,0),colorred;
反弹:stickline(中户能量<0 and 中户能量>=ref(中户能量,1),0,中户能量,4,0),colorgreen;
寻底:stickline(中户能量<0 and 中户能量< ref(中户能量,1),0,中户能量,4,0),colorgreen;
0,pointdot,colorwhite;

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
{散户}
换手:=v*100/capital;
主力:=ma(换手,4);
大户:=ma(换手,9);
中户:=ma(换手,17);
散户:=ma(换手,34);
均量:=(散户+主力+大户+中户)/4;
散户能量:=(散户-均量);
操盘:stickline(散户能量>=0 and 散户能量>=ref(散户能量,1),0,散户能量,4,0),colorred;
减仓:stickline(散户能量>=0 and 散户能量< ref(散户能量,1),0,散户能量,4,0),colorred;
反弹:stickline(散户能量<0 and 散户能量>=ref(散户能量,1),0,散户能量,4,0),colorgreen;
寻底:stickline(散户能量<0 and 散户能量< ref(散户能量,1),0,散户能量,4,0),colorgreen;
0,pointdot,colorwhite;
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
{资金趋势图}
a:=vol*close;
b:=sum(a,1)/sum(vol,1);
b1:=ema(b,17);
主力资金:(b-b1)*100/b,colorred;
强弱线:0,colorffcc66;
----------------------------------------------------------------------------------------------
{四方多空趋势}
v1:=dma((((high + low) + (close * 2)) / 4),0.9);
hy1:=ref(ema(v1,3),1);
多空趋势:=ma((close - hy1) * 10,2);
操盘:stickline(多空趋势>=0 and 多空趋势>=ref(多空趋势,1),0,多空趋势,4,0),coloryellow;
减仓:stickline(多空趋势>=0 and 多空趋势< ref(多空趋势,1),0,多空趋势,4,0),coloryellow;
反弹:stickline(多空趋势<0 and 多空趋势>=ref(多空趋势,1),0,多空趋势,4,0),colorgreen;
寻底:stickline(多空趋势<0 and 多空趋势< ref(多空趋势,1),0,多空趋势,4,0),colorgreen;
0,pointdot,colorwhite;
---------------------------------------------------------------------------------------------
{四方力道副图}
v1:=dma((((high + low) + (close * 2)) / 4),0.9);
hy1:=ref(ema(v1,3),1);
app:=(vol / (((high - low) * 2) - abs((close - open))));
zl:=if((close > open),(app * (high - low)),if((close < open),(app * ((high - open) + (close - low))),(vol / 2)));
sf:=if((close > open),(0 - (app * ((high - close) + (open - low)))),if((close < open),(0 - (app * (high - low))),(0 - (vol / 2))));
var1:=(((close - hy1) / hy1) * 100);
var2:=(((close - ref(close,1)) / ref(close,1)) * 100);
ts:=barslast((barslast(((var1 > 0) and (ref(var1,1) > 0))) > 0));
利润:=sum(if((ts > 0),var2,0),0);
库存能量:ma((zl + sf),2),coloryellow;
库存平均:ma((zl + sf),5),colorff00ff;
主力:ma(zl,2),colorred;
散户:ma(sf,2),colorgreen;
获利:ma(利润,2),color4080ff;
多空线:ma((close - hy1) * 10,2),colorwhite;
--------------------------------------------------------------------------------
{四方力道导航}
v1:=dma((((high + low) + (close * 2)) / 4),0.9);
hy1:=ref(ema(v1,3),1);
多空趋势:ma((close - hy1) * 100,2),coloryellow;
线性:=((((((close * 5) + (ref(close,1) * 4)) + (ref(close,2) * 3)) + (ref(close,3) * 2)) + (ref(close,4) * 1)) / ((((5 + 4) + 3) + 2) + 1));
导航线:ma(线性,2),colorred;
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
{四方力道}
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
stickline(买线>=卖线,low,high,1,0),colorred;
stickline(买线>=卖线,close,open,4.5,0),colorred;
stickline(买线>=卖线,close,open,4,0),colorred;
stickline(买线>=卖线,close,open,3,0),colorred;
stickline(买线>=卖线,close,open,2,0),colorred;
stickline(买线<卖线,close,open,4.5,0),colorff4242;
stickline(买线<卖线,close,open,4,0),colorff4242;
stickline(买线<卖线,close,open,3,0),colorff4242;
stickline(买线<卖线,close,open,2,0),colorff4242;
stickline(买线<卖线,low,high,1,0),colorff4242;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;
v1:=dma((((high + low) + (close * 2)) / 4),0.9);
hy1:=ref(ema(v1,3),1);
drawtext(cross(close,hy1),low,'↑'),linethick2,coloryellow;
drawtext(cross(hy1,close),high*1.05,'↓'),linethick3,colorwhite;
app:=(vol / (((high - low) * 2) - abs((close - open))));
zl:=if((close > open),(app * (high - low)),if((close < open),(app * ((high - open) + (close - low))),(vol / 2)));
sf:=if((close > open),(0 - (app * ((high - close) + (open - low)))),if((close < open),(0 - (app * (high - low))),(0 - (vol / 2))));
库存能量:=ma((zl + sf),2);
库存平均:=ma((zl + sf),5);
drawtext(cross(库存能量,库存平均),l*0.97,'↑'),colorff00ff,linethick4;
线性:=((((((close * 5) + (ref(close,1) * 4)) + (ref(close,2) * 3)) + (ref(close,3) * 2)) + (ref(close,4) * 1)) / ((((5 + 4) + 3) + 2) + 1));
导航:线性,colorgreen;


  >>>使用本站搜索工具可以找到更多四方力道的公式 飞狐力道指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文四方力道的公式 飞狐力道指标 源码仅供学习研究。

猜你喜欢

学了又学