以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  编写系统  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=149791)

--  作者:NH
--  发布时间:2017/3/28 16:49:48
--  编写系统
价格上穿MA10 开多 并且在上穿价格之前的N周期内有连续的N根阳线  怎么写成交易系统?老师
--  作者:jinzhe
--  发布时间:2017/3/28 17:10:14
--  

if cross(close,ma10) and ref(all(isup,n),1) then buy(holding=0,1,market);