以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  高手帮个忙 编个简单的策略  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=49753)

--  作者:a77887
--  发布时间:2013/3/15 12:56:02
--  高手帮个忙 编个简单的策略

怎么编写 收盘前10分钟全部平仓

 


--  作者:jinzhe
--  发布时间:2013/3/15 14:31:47
--  

//以股指1分钟周期为例

 

if time>150500 then begin

sell(1,0,thisclose);

sellshort(1,0,thisclose);

end