以文本方式查看主题

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

--  作者:c100010766
--  发布时间:2016/7/15 9:27:22
--  金字塔时间
老师好,在金字塔时间下,,每个品种夜盘收盘时间不一样,,怎么实现,在夜盘收盘前5分钟平仓?怎么写程序,,谢谢
--  作者:jinzhe
--  发布时间:2016/7/15 9:43:13
--  

if time0<=timetot0(closetime(1)) and time0>=timetot0(closetime(1))-5*60 then begin

    平空;

     平多;

end


--  作者:c100010766
--  发布时间:2016/7/15 10:02:30
--  
谢谢