投股票网 www.tou18.cn [今日股市行情 股市在线查询 股票大盘行情] 股市有风险 投资需谨慎 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
投股票网
今日股市行情 股市在线查询 股票大盘行情
个股查询: 资金行情 DDX查询 大智慧超赢 同花顺DDE 千股千评 最新提示 股票公告 投资要点 评级查询 大小非 股东 增发配股 股权 高管 股票概况
当前位置: 投股票网 > 股市公式下载 > 公式问题
股市公式查询:

一致性获利MACD(5/34/5) 改成大智慧

2019/12/14 19:19:57

公式编写说明:

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;

公式源码回答:

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

cur1:barpos,linethick0;
cur:cur2-cur3+1,linethick0; {cursor 光标}
BWMFI:(HIGH-LOW)*10000/VOL,linethick0;{市场促进指数}
n1:=day1;
k:=day1/60;
day2:=INTPART(5*k+0.5);
day3:=INTPART(34*k+0.5);
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;

投股 票网 www.tou1 8.cn

股市公式下载推荐
投股票网股市查询:资金行情查询 实时DDX查询 大智慧超赢 千股千评 最新提示 股票公告 投资要点 评级查询 股东查询 增发配股查询 股权结构查询
新研股份 300159+5.07% 评股 实时DDX 大智慧 最新消息 题材分析 股权
回盛生物 300871+5.06% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST永林 000663+5.05% 评股 实时DDX 大智慧 最新消息 题材分析 股权
ST沪科 600608+5.05% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST商城 600306+5.04% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST凯瑞 002072+5.04% 评股 实时DDX 大智慧 最新消息 题材分析 股权
金浦钛业 000545+5.03% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST浪奇 000523+5.03% 评股 实时DDX 大智慧 最新消息 题材分析 股权
ST新海 002089+5.03% 评股 实时DDX 大智慧 最新消息 题材分析 股权
*ST游久 600652+5.03% 评股 实时DDX 大智慧 最新消息 题材分析 股权
联系我们:nmsy8@hotmail.com 友情链接 要求相关的财经股票网站 今日股市行情在线查询
本站不推荐任何股票,站内广告不代表投股票网的观点,由此引起的一切法律责任均与本站无关,请网民自行判断真假,谨防网上股票预测诈骗!
本站所有内容仅供参考,不构成投资建议,据此操作,风险自担。本站不为所提供数据的错误或因依此信息所采取的任何行为负责。
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-120