以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- [求助]请问如何在5分钟K线图上叠加30分钟的K图 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=140967) |
-- 作者:superwd -- 发布时间:2016/10/14 14:58:38 -- [求助]请问如何在5分钟K线图上叠加30分钟的K图 请问如何在5分钟K线图上叠加30分钟的K线图 |
-- 作者:jinzhe -- 发布时间:2016/10/14 15:13:09 -- 这个不好弄,用户建个框架好了 |
-- 作者:superwd -- 发布时间:2016/10/14 15:41:17 -- 多谢,之前可以做到在1分钟图上大概地叠加其他分钟的K图,但就是不能在5分钟K图上显示出来. |
-- 作者:superwd -- 发布时间:2016/10/14 15:42:16 -- . |
-- 作者:jinzhe -- 发布时间:2016/10/14 15:48:27 -- 用品种叠加的话,就是叠加当前周期的,用户是怎么做到叠加其他周期的 |
-- 作者:superwd -- 发布时间:2016/10/14 15:49:47 -- 为什么上不了图.. 下面把代码写出来, RUNMODE:1; oo:=callstock(stklabel,vtopen,3); hh:=callstock(stklabel,vthigh,3); ll:=callstock(stklabel,vtlow,3); cc:=callstock(stklabel,vtclose,3); DRAWRECT( mod(minute,15)=1 and cc>oo,hh,mod(minute,15)=0,ll, 1,COLORRED ); DRAWRECT( mod(minute,15)=1 and cc<oo,hh,mod(minute,15)=0,ll, 1,COLORGREEN ); DRAWRECT( mod(minute,15)=1 and cc=oo,hh,mod(minute,15)=0,ll, 1,COLORCYAN ); |
-- 作者:jinzhe -- 发布时间:2016/10/14 15:57:30 -- RUNMODE:1;
oo:=callstock(stklabel,vtopen,4); hh:=callstock(stklabel,vthigh,4); ll:=callstock(stklabel,vtlow,4); cc:=callstock(stklabel,vtclose,4); DRAWRECT( mod(minute,30)=5 and cc>oo,hh,mod(minute,30)=0,ll, 1,COLORRED ); DRAWRECT( mod(minute,30)=5 and cc<oo,hh,mod(minute,30)=0,ll, 1,COLORGREEN ); DRAWRECT( mod(minute,30)=5 and cc=oo,hh,mod(minute,30)=0,ll, 1,COLORCYAN ); 5分钟引用30分钟的 |
-- 作者:superwd -- 发布时间:2016/10/14 16:05:36 -- 非常感谢!!!解决问题了 |