以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- [求助]求证 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=12035) |
-- 作者:zk7777777 -- 发布时间:2012/5/30 18:21:56 -- [求助]求证 c1:=条件1 if c1 and ref(count(c1,30)=0,1) and ref(count(c1,100)=1,1) then Buy(holding=0,market); 请问这2条是反手的意思吗? End
Sell(1,0,market),orderqueue; end
if c2 and ref(count(c2,30)=0,1) and ref(count(c2,100)=1,1) then Sellshort(holding<0,holding,market),orderqueue;蓝色部分有用吗? end
|
-- 作者:rushtaotao -- 发布时间:2012/5/31 8:47:08 -- Sellshort(holding<0,holding,market); Buy(holding=0,market); 请问这2条是反手的意思吗?
平空开多(算是反手吧)
orderqueue;蓝色部分有用吗?
顺序委托下单指令(具体可查询函数说明) |
-- 作者:jinzhe -- 发布时间:2012/5/31 8:51:41 -- 1.先平后开是反手 2.只有一句下单语句的话,顺序下单没作用 |