Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共5 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:加入跨周期语句图表显示不正常

1楼
xiaoyue92 发表于:2017/5/6 20:04:59
在1分钟为周期的图表交易程序中,加入了如下跨周期引用语句,图表显示就不正常了,请问是什么原因?如何解决?

kong601:stkindi('','空头开空小时.kongshiti',0,5);
kong602:stkindi('','空头开空小时.kongxiaoxian',0,5);
kong603:stkindi('','空头开空小时.kongshiti2',0,5);

kong60:=kong601 or kong602 or kong603;

附件:加入前:图片点击可在新窗口打开查看2.jpg  加入后:1.jpg
2楼
xiaoyue92 发表于:2017/5/6 20:21:29
以下是“空头开空小时”技术指标

kongshiti:ma(c,5)<ma(c,10) and ma(c,10)<ma(c,20) and ma(c,10)<ma(c,120) and c<ma(c,5) // 近期均线对远期空头排列 5《10  c《5
and o>c and o-c>c-l and o-c>h-o  //实体阴线
and not(o<ma(c,5) and h>ma(c,5))  //排除 开5线上 最高穿5线
and not(o>ma(c,5) and o>ma(c,10)) // 排除穿两线
and not(o/c<1+35/10000) //实体大于 35
and not((c-l)/(o-c)>0.3); //下影线比实体小于0.3
 
kongshiti2:ma(c,5)<ma(c,20) and ma(c,5)<ma(c,120) and ma(c,5)>ma(c,10) and ma(c,10)<ma(c,20) and ma(c,10)<ma(c,120) and c<ma(c,10)  // 近期均线对远期空头排列 10<5  c《10
  and o>c and o-c>c-l //实体阴线

  and not(o/c<1+35/10000) //实体大于 35
  and not((c-l)/(o-c)>0.3);  //下影线比实体小于0.3


kongxiaoxian:ma(c,5)<ma(c,10) and ma(c,10)<ma(c,20) and ma(c,10)<ma(c,120) and h<ma(c,5) and h<ma(c,10)  // 近期均线对远期空头排列 5《10  h《5
and max(c,o)/min(c,o)<1+10/10000  // 小实体阴阳
and not(h-max(c,o)>max(c,o)-l);   // 排除长上影线
3楼
xiaoyue92 发表于:2017/5/6 20:23:01
这个程序测试都是正常的,但图表显示时,k线都被压缩成一条线,不知为什么?
4楼
xiaoyue92 发表于:2017/5/6 21:14:36
改了一下坐标属性,正常了。
5楼
wenarm 发表于:2017/5/8 8:17:39
k线被压缩了,你在价格坐标轴上右键,勾选仅随k线变动
共5 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.04297 s, 3 queries.