Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
加上这部分代码:
buycond:cross(HH1,LL1);sellcond:cross(LL1,HH1);
if buycond then beginsellshort(holding<0,holding,market);buy(holding=0,1,market); end
if sellcond then beginsell(holding>0,holding,market);buyshort(holding=0,1,market); end