以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 如何设置收盘前平仓? (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=155369) |
-- 作者:宽客77 -- 发布时间:2017/6/23 12:11:45 -- 如何设置收盘前平仓? 恒指如何设置,下午收盘前平仓? |
-- 作者:pyd -- 发布时间:2017/6/23 12:56:55 -- 收盘前5分钟平仓的例子 m5:=(t0totime(timetot0(closetime(2))-60*5)); if time>=m5 and holding>0 then Sell(1,1,market); |