以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 为什么这个只有单边信号啊 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=25379) |
-- 作者:gfqh -- 发布时间:2012/9/11 16:30:19 -- 为什么这个只有单边信号啊 RSV:= (CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
longd:=cross(K,D); buyshort(holding=0 and longk,1,market);
sellshort(HOLDING=-1 and longD,1,market); |
-- 作者:jinzhe -- 发布时间:2012/9/11 16:39:37 -- sellshort(HOLDING=-1 and longD,1,market); buyshort(holding=0 and longk,1,market);
这样写 |