Rss & SiteMap

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

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

标题:拜托请写个延迟5秒的完整的具体例句

1楼
hsm822 发表于:2017/8/23 11:55:03
拜托请您能完整的写个延迟5秒的完整的例句吗?多谢啦。麻烦费神了。
2楼
qq代人发帖 发表于:2017/8/23 13:42:29

信号满足后延迟5秒下单?

固定时间间隔还是走完k?

3楼
pyd 发表于:2017/8/23 13:58:21

延迟30秒的例子

DEBUGOUT('现在输%.2f',1);

GLOBALVARIABLE:n=0;
if 开仓条件 and n=0 then
begin
extgbdataset ('ti',currenttime); 
n:=1;
end

延迟:=currenttime - extgbdata('ti');
DEBUGOUT('当前时间%.2f',currenttime);
DEBUGOUT('历史时间%.2f',extgbdata('ti'));
if 延迟>30 then begin
tbuy(1,1,mkt);
n:=0;
end

[此贴子已经被作者于2017/8/23 14:03:10编辑过]
共3 条记录, 每页显示 10 条, 页签: [1]


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