以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 求助 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=47940) |
-- 作者:有舍有得 -- 发布时间:2013/1/21 12:04:29 -- 求助 我的公式是只做多 请高手帮我转化成BUY语言 |
-- 作者:jinzhe -- 发布时间:2013/1/21 13:12:29 -- if h>=hhv(h,2) then buy(holding=0,1,market); if l<=llv(l,2) then sell(holding<0,0,market);
|