Rss & SiteMap

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

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

标题:[求助] closetime(0)开始时间?

1楼
readonly 发表于:2012/12/28 16:42:31
在1分钟图下执行:

if time=closetime(0) then begin
sell(holding>0,0,thisclose);
sellshort(holding<0,0,thisclose);
DRAWTEXT(1,l*0.999,'收盘平仓',COLORGREEN);
end

发现收盘前没有平仓,第二天开盘后k线图才出现“收盘平仓”字样。
想在收盘前10秒平仓,请问应该怎么样改?
2楼
just 发表于:2012/12/28 16:59:31

轮询模式还是走完K线模式

 

3楼
readonly 发表于:2012/12/28 17:07:24
轮询,1秒
4楼
admin 发表于:2012/12/28 23:53:32
closetime(0)-10试试
共4 条记录, 每页显示 10 条, 页签: [1]


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