以文本方式查看主题

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

--  作者:空心菜
--  发布时间:2012/12/12 16:31:18
--  怎么写对手单
满足条件1我做多,满足条件2我做空,把单子锁住,满足条件3我平掉空单,加多,应该怎么写
--  作者:jinzhe
--  发布时间:2012/12/12 16:48:25
--  

图表不行,

后台这么写

if tiaojian1 then tbuy();

if tiaojian2 then tbuyshort();