看股吧 www.kanguba.com [今日大盘指数 欧美全球股市行情 股票公式查询网站] 手机APP下载 | 手机访问 | 加入收藏 | 保存到桌面
看股吧
看股吧股票网-今日大盘指数 欧美全球股市行情 股票公式查询网站
股票查询: 行情分析 DDX指标 走势点评 股票公告 大事 主力持仓 股权质押 分红 大小非 十大股东 股本结构 高管持股 研报 高管 主营 龙虎榜 股吧
当前位置: 看股吧 > 股票公式 > 公式编写
股票公式搜索:

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

2019/12/14 18:48:41

公式编写说明:

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.kangu ba.com

其它股票公式列表
看股吧查股导航:个股行情分析查询 股票DDX指标查询 走势点评 股票公告查询 大事提醒 股权质押查询 股票分红查询 解禁查询 高管持股 高管查询
赢合科技 300457+5.14% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
方大特钢 600507+5.14% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
*ST康美 600518+5.14% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
高德红外 002414+5.12% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
瑞和股份 002620+5.12% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
天孚通信 300394+5.06% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
新易盛 300502+5.05% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
*ST浪奇 000523+5.05% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
ST中天 600856+5.04% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
湘电股份 600416+5.03% 公告 DDX在线 走势点评 限售解禁 高管 股权质押
看股网力求但不保证数据的完全准确,不对因网站全部内容或部分内容而引致的盈亏承担任何责任,本站所有内容仅供参考。
本站不提供任何股票服务,站内广告不代表看股吧的观点,由此引起的一切法律责任均与本站无关,请股民自行识别判断,谨慎投资,预防上当受骗!
联系我们:nlfen9@hotmail.com
手机版(手机访问当前页面) | 手机APP下载 | 电脑端(适合电脑或大屏用户) | 备案号:沪ICP备2024045114号-121