Rss & SiteMap

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

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

标题:求助,这样的开仓语句怎么写

1楼
DarthYoda 发表于:2014/6/4 20:08:53
设置全局变量VA、VAC;某根K线走完,如果符合条件A,则准备开多仓,VA:=1;VAC:=close;

如果价格继续下行,达到限价:L<VAC-9*mindiff,序列模式立即下市价单;

请赐教,这样的语句该怎么写?
2楼
jinzhe 发表于:2014/6/5 9:06:15

需要用后台

 

if mod(currenttime,100)>=0 and mod(currenttime,100)<=1 then begin

   extgbdataset('va',1);

   extgbdataset('vac',close);

end

 

if l<extgbdata('vac')-9*mindiff then tbuy(tholding=0,1,mkt);

3楼
DarthYoda 发表于:2014/6/5 22:04:49
以下是引用jinzhe在2014/6/5 9:06:15的发言:

需要用后台

 

if mod(currenttime,100)>=0 and mod(currenttime,100)<=1 then begin

   extgbdataset('va',1);

   extgbdataset('vac',close);

end

 

if l<extgbdata('vac')-9*mindiff then tbuy(tholding=0,1,mkt);

我的是标准版,能否实现?
4楼
DarthYoda 发表于:2014/6/5 22:09:17
使用标准版,在序列模式下,可以实现吗?
5楼
jinzhe 发表于:2014/6/6 9:06:42
不行,要专业版
[此贴子已经被作者于2014/6/6 9:06:50编辑过]
共5 条记录, 每页显示 10 条, 页签: [1]


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