Rss & SiteMap

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

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

标题:建议新版 使用多个多秒线!

1楼
yanxc 发表于:2013/11/20 11:24:09

现在分钟级别有1、3、5、10、15、30及多分,而秒级别仅有多秒线1个周期,根本不够用。

 

强烈建议修改为 多秒线1、多秒线2、多秒线3,甚至更多,并都可以自定义切分。

 

增加这个完全不费神,纯粹力气活,半小时的事情。但对短周期的意义重大。希望金字塔考虑!

2楼
yanxc 发表于:2013/11/20 16:57:16
here
3楼
yanxc 发表于:2013/11/21 14:16:14
官方没看见吗
4楼
RogarZ 发表于:2013/11/21 14:35:41
你想的太简单了,以前的版本 多秒线的自定义都没有,现在增加了定义,又需要多个。欲望无限啊。

若不是程序化 用快捷键早实现了。

若是程序化,你增加了选项,程序化中的函数就需要能引用到,内在的逻辑处理都要变,哪是半小时就搞定的事情。

有计划,之后逐步实现。现在有其他的东西需要开发,这个需求比起其他的需求没有那么迫切。

谢谢您的建议

5楼
yanxc 发表于:2013/11/21 14:52:17
以下是引用RogarZ在2013/11/21 14:35:41的发言:
你想的太简单了,以前的版本 多秒线的自定义都没有,现在增加了定义,又需要多个。欲望无限啊。

若不是程序化 用快捷键早实现了。

若是程序化,你增加了选项,程序化中的函数就需要能引用到,内在的逻辑处理都要变,哪是半小时就搞定的事情。

有计划,之后逐步实现。现在有其他的东西需要开发,这个需求比起其他的需求没有那么迫切。

谢谢您的建议

 

逻辑倒没变。主要是需要修改的细处是比较多就是了,引用之类的。

 

不过这个修改确实只是力气活,呵呵

6楼
qwer123 发表于:2013/11/21 15:05:24
这样是不是也可以变相解决;
使用后台程序,用stkindiex(,,,,,,,)来调用不同秒周期的holding。
7楼
王锋 发表于:2013/11/21 20:00:35

或者你可以考虑安装多个金字塔来实现

8楼
qwer123 发表于:2013/11/21 21:38:52
好像使用图表交易也可以,我没有实际使用过只是大概觉得这样也可以:

r8:=stkindiex('if00','a1.持仓',0,22,2,1000);
r10:=stkindiex('if00','a2.持仓',0,22,3,1000);
r11:=stkindiex('if00','a3.持仓',0,22,5,1000);
r12:=r8+r10+r11;

hd1:=if(islastbar,4,-0.1);
//********************************
if holding=0 and r12>0 then buy(1,r12,limitr,c+hd1);
if holding=0 and r12<0 then buyshort(1,abs(r12),limitr,c-hd1);

if holding>0 and r12>0 and holding>r12 then sell(1,holding-r12,limitr,c-hd1);
if holding>0 and r12>0 and holding<r12 then buy(1,r12-holding,limitr,c+hd1);
if holding>0 and r12<0 then
begin
sell(1,holding,limitr,c-hd1);
buyshort(1,abs(r12),limitr,c-hd1);
end

if holding<0 and r12<0 and holding>r12 then buyshort(1,holding-r12,limitr,c-hd1);
if holding<0 and r12<0 and holding<r12 then sellshort(1,r12-holding,limitr,c+hd1);
if holding<0 and r12>0 then
begin
sellshort(1,holding,limitr,c+hd1);
buy(1,r12,limitr,c+hd1);
end 


用图表时一定要先有虚拟仓位,才能对其平仓,否则就会出问题。要用固定轮询!
[此贴子已经被作者于2013/11/21 21:40:25编辑过]
9楼
qwer123 发表于:2013/11/21 21:41:41
hd1:=if(islastbar,4,0.1);
10楼
qwer123 发表于:2013/11/21 21:46:59
为例防止一根k线上出现很多操作,这个程序最好使用在分笔数据上,当然用再秒级的k线上也是可以的。
共13 条记录, 每页显示 10 条, 页签: [1] [2]


Powered By Dvbbs Version 8.3.0
Processed in 0.06250 s, 2 queries.