以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 老师,帮忙看看 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=143276) |
-- 作者:yuanhang -- 发布时间:2016/11/23 15:28:05 -- 老师,帮忙看看 if holding>0 and c> ref(llv(l,3),enterbars)+40*mindiff and c<ref(L,1) then sell(1,0,market); 老师 ,这个怎么不能执行,在应用图表里没有反应
|
-- 作者:jinzhe -- 发布时间:2016/11/23 15:42:25 -- k线图没有平仓信号吗,开仓信号有吗? |
-- 作者:yuanhang -- 发布时间:2016/11/23 16:25:09 -- 这个又不行了,刚才那个可以了 if holding>0 and c< ref(hhv(l,3),enterbars)-35*mindiff and c>ref(h,1) then sellshort(1,0,market); |
-- 作者:jinzhe -- 发布时间:2016/11/23 16:51:05 -- 平空要holding<0,你写>0是不对的 |