万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 飞狐公式 正文

飞狐一致性获利MACD指标公式

admin 2023-10-16 08:49:46 飞狐公式 213 ℃

飞狐一致性获利MACD指标公式

input:cur2(120,1,5000),cur3(61,1.5000),day1(60,1,5000);

cur1:SYSPARAM(1),linethick0;

cur:cur2-cur3+1,linethick0; //cursor 光标

BWMFI:(HIGH-LOW)*10000/VOL,linethick0;//市场促进指数

n1:=day1;

k:=day1/60;

day2:=round(5*k);

day3:=round(34*k);

TS:=BARSCOUNT(C);

V1:=(H+L)/2;

{ _飞狐公式}

m5:=IF(TS<6,SUM(V1,0)/TS,MA(v1,day2));

m34:=IF(TS<35,SUM(V1,0)/TS,MA(v1,day3));

diff:m5-m34,colorstick;

DEA:IF(TS<6,SUM(DIFF,0)/TS,MA(DIFF,5));

今日中间价:(h+l)/2,linethick0;

昨日最低价:ref(l,1),linethick0;

昨日最高价:ref(h,1),linethick0;

k:=(h-l)/3;

a1:=h-k;

b1:=l+k;

if(a1<=o and o<=h and a1<=c and c<=h,11,0)linethick0;

if(l<=l and o<=b1 and l<=c and c<=b1,33,0),linethick0;

if(b1<=o and o<=a1 and b1<=c and c<=a1,22,0),linethick0;

if(l<=o and o<=b1 and a1<=c and c<=h,31,0),linethick0;

if(l<=o and o<=b1 and b1<=c and c<=a1,32,0),linethick0;

if(b1<=o and o<=a1 and a1<=c and c<=h,21,0),linethick0;

if(a1<=o and o<=h and l<=c and c<=b1,13,0),linethick0;

if(a1<=o and o<=h and b1<=c and c<=a1,12,0),linethick0;

if(b1<=o and o<=a1 and l<=c and c<=b1,23,0),linethick0;

飞狐一致性获利MACD指标公式选股公式如下:

选股票看什么指标最好 >

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群