Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
buycond:cross(c,ma(c,5));sellcond:cross(ma(c,5),c);
if buycond then beginsellshort(holding<0,holding,MARKET);buy(holding=0,1,MARKET);end
if sellcond thenbeginsell(holding>0,holding,MARKET);buyshort(holding=0,1,MARKET);end