Rss & SiteMap

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

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

标题:tenterbars和texitbars的疑惑

1楼
zealot123 发表于:2011/12/10 12:51:17

我用15分钟K线,tenterbars和texitbars有一些和预想不一致的地方,请指教。

 

 

2011-12-09 10:29:59.912     tenterbars(1)  25.00
2011-12-09 10:29:59.912     texitbars(1)  20.00
2011-12-09 10:30:00.926     tenterbars(1)  25.00
2011-12-09 10:30:00.926     texitbars(1)  20.00
2011-12-09 10:30:01.940     tenterbars(1)  25.00
2011-12-09 10:30:01.940     texitbars(1)  20.00
2011-12-09 10:30:02.954     tenterbars(1)  25.00
2011-12-09 10:30:02.954     texitbars(1)  20.00
2011-12-09 10:30:03.968     tenterbars(1)  26.00
2011-12-09 10:30:03.968     texitbars(1)  21.00
2011-12-09 10:30:04.982     tenterbars(1)  26.00

 

//10点30分时候数值+1,没什么问题

 

----------------------

2011-12-09 10:45:01.360     texitbars(1)  21.00
2011-12-09 10:45:02.374     tenterbars(1)  26.00
2011-12-09 10:45:02.374     texitbars(1)  21.00
2011-12-09 10:45:03.419     tenterbars(1)  27.00
2011-12-09 10:45:03.419     texitbars(1)  22.00
2011-12-09 10:45:04.402     tenterbars(1)  27.00

 

//10点45数值+1,也没问题

 

--------------------

 

2011-12-09 11:00:01.803     tenterbars(1)  27.00
2011-12-09 11:00:01.803     texitbars(1)  22.00
2011-12-09 11:00:04.816    CFBK1  1.00
2011-12-09 11:00:04.826     tenterbars(1)  0.00
2011-12-09 11:00:04.826     texitbars(1)  23.00

 

//11点开仓,tenterbars(1)变成0, texitbars(1)由于换bar,所以+1,也没问题。

 

-----------------

2011-12-09 11:05:01.955     tenterbars(1)  0.00
2011-12-09 11:05:01.955     texitbars(1)  23.00
2011-12-09 11:05:02.969     tenterbars(1)  1.00
2011-12-09 11:05:02.969     texitbars(1)  23.00
2011-12-09 11:05:03.983     tenterbars(1)  1.00
2011-12-09 11:05:03.983     texitbars(1)  23.00

 

//11点05,并没有换bar,但tenterbars(1)变成了1,这是为什么?

 

 

-------------------

2011-12-09 11:07:35.066     tenterbars(1)  1.00
2011-12-09 11:07:35.066     texitbars(1)  23.00
2011-12-09 11:07:37.084     tenterbars(1)  1.00
2011-12-09 11:07:37.084     texitbars(1)  0.00

 

//11点07,平仓,texitbars(1)归0,没有问题。

 

----------------------

2011-12-09 11:10:02.098     tenterbars(1)  1.00
2011-12-09 11:10:02.098     texitbars(1)  0.00

2011-12-09 11:10:07.140    CFBK5  1.00
2011-12-09 11:10:07.140     tenterbars(1)  0.00
2011-12-09 11:10:07.140     texitbars(1)  1.00

 

//11点10分,开仓,tenterbars(1) 归零,没有问题。但没有换bar, texitbars(1)变成了1,这是为什么?

 

 

 

 

综上,是不是在一根15分钟的k线内,如果有开平仓,则下一个bar的开始时间被变成了下一个5分钟k线的开始时间?

这是bug吧。

 

 

 

 

 

 

 

 

 

 

 

 

2楼
fly 发表于:2011/12/12 10:21:59

您的理解是正确的,应该是下一个bar的时候才会变化的.

您说的问题随后会本地跟踪,感谢.

3楼
zealot123 发表于:2011/12/28 14:29:47

这么长时间,这个问题还是没有解决啊。。。。。

4楼
jinzhe 发表于:2011/12/28 14:43:38
这个问题已经跟踪到了,已反馈给开发人员
5楼
jinzhe 发表于:2011/12/29 13:46:50

经过测试,最新版2.80已经解决此问题

共5 条记录, 每页显示 10 条, 页签: [1]


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