以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 图表转为后台平仓语句要怎么话 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=34032) |
-- 作者:空心菜 -- 发布时间:2012/12/26 9:11:38 -- 图表转为后台平仓语句要怎么话 我在图表上的平仓语句是这样的 if holding >0 ,平仓条件 then begin sell(1,1,thisclose); end 可是后台不支持thisclose,想为下sell这个语句我应该怎么改 |
-- 作者:jinzhe -- 发布时间:2012/12/26 9:12:35 -- if tholding>0 and 平仓条件 then begin tsell(1,1,lmt,c,0); end |
-- 作者:空心菜 -- 发布时间:2012/12/26 10:10:02 -- tsell(1,1,lmt,c,0),这样写会不会在条件成立但是还没收盘就成交了,我的原意是收盘成交,因为怕信号闪烁
|
-- 作者:RogarZ -- 发布时间:2012/12/26 23:08:16 -- 你用走完K线模式不就好了嘛 |
-- 作者:空心菜 -- 发布时间:2012/12/27 12:40:41 -- 那应该怎么处理,就是不知道应该怎么处理才头疼 |
-- 作者:王锋 -- 发布时间:2012/12/27 23:35:23 -- 后台设置里选择走完K线模式 |