以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  股指1分钟图中,  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=76243)

--  作者:崔战营
--  发布时间:2015/3/6 15:41:31
--  股指1分钟图中,
股指1分钟图中,中午11:30收盘前10分钟平仓和下午15:15收盘前10分钟平仓,怎么编写?多谢!!!!!!!!!!
--  作者:jinzhe
--  发布时间:2015/3/6 15:43:44
--  

if time>=112000 or time>=150500 then begin

   sell(1,0,marketr);

   sellshort(1,0,marketr);

end