Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
if holding>0 and enterprice-l>=3 then sell(1,0,thisclose);//多头止损
if holding<0 and h-enterprice>=3 then sellshort(1,0,thisclose);//空头止损
对手价:thisclose
限价:limitr
1表示无条件,也就是不需要再做进一步判断了,如果你要再写条件,那么做对应修改
0表示全平,如果要平固定手数,那么就写固定的手数