以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 多开仓条件如何编写 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=47816) |
-- 作者:预则立 -- 发布时间:2013/1/16 23:29:00 -- 多开仓条件如何编写 1.请问,如果有abcde五个条件需要同时满足,才能开仓,以buy为例,请问如何编写?
2.如果a条件有对应的平仓条件,b,c,d,e也是各有各的平仓条件,如何编写可以做到a条件开仓后不会以bcde的平仓条件平仓? |
-- 作者:jinzhe -- 发布时间:2013/1/17 8:57:51 -- if a and b and c and d and e then buy;
if a then sell; if b then sell; .... if e then sell; |