Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
没有这样的函数,要用全局变量去累加
variable:n=0;
if 平仓条件 and holding<>0 then begin
平仓语句;
if numprofit(1)>0 then n:=0;
if numprofit(1)<0 then n:=n+1;
end
n就是连亏的次数了