以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- [求助] 问个加码的问题 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=7236) |
-- 作者:rogerhylt -- 发布时间:2011/7/16 22:39:27 -- [求助] 问个加码的问题 如果持仓后两个周期 再加一手 如下这样写不对。 请问如何修改?
if holding>0 and barssince(holding>0)=2 then begin |
-- 作者:阿火 -- 发布时间:2011/7/17 9:40:32 -- if holding>0 and enterbars=2 then begin BUY(1,1,thisclose ); |