以文本方式查看主题

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

--  作者:空心菜
--  发布时间:2012/12/12 15:57:53
--  加仓应该怎么写
满足第一个条件开仓,满足第2个条件加仓,满足第3个条件再次加仓
--  作者:jinzhe
--  发布时间:2012/12/12 16:25:00
--  

if cond1 then buy();

if cond2 then buy();

if cond3 then buy();