Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
//多头为例
VARIABLE:a=0,n=0;if date<>ref(date,1) then BEGIN a:=asset; n:=0; endif 开仓条件 and n=0 then buy(holding=0,1,market);
if a-asset>=10000 then begin sell(holding>0,holding,market);n:=1;end