以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://www.weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://www.weistock.com/bbs/list.asp?boardid=4) ---- [求助]为什么以上代码不执行平多信号?? (http://www.weistock.com/bbs/dispbbs.asp?boardid=4&id=12009) |
|
-- 作者:zk7777777 -- 发布时间:2012/5/29 18:57:13 -- [求助]为什么以上代码不执行平多信号??
Buy(holding=0,thisclose); End
为什么以上代码不执行平多信号??那个地方出错了?
请高手解释一下 |
|
-- 作者:myhcow -- 发布时间:2012/5/29 19:28:50 -- if enterprice<c then begin Sell(holding>0,holding,market) end 这是止损信号?enterprice>c 你知道不知道自己写的是什么意思?
|
|
-- 作者:zk7777777 -- 发布时间:2012/5/29 22:11:23 -- 这是止损信号?enterprice>c
你知道不知道自己写的是什么意思?
这个语句不对吗?我是想表现 当前为开多, 开仓价>当前收盘价(enterprice>c)为止损这个不对吗? |
|
-- 作者:myhcow -- 发布时间:2012/5/29 22:32:54 -- if enterprice<c then begin Sell(holding>0,holding,market) end 你的源代码,写反了
|