Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
VARIABLE:num:=0;if 开仓条件 and holding=0 then begin buy(1,1,market); num:=0; end
if 开仓条件 and holding>0 and num<2 then begin buy(1,1,market);num:=num+1; end
可参考下这个思路。
GLOBALVARIABLE 定义。