Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
用全局变量来记录
variable:n=0;
if 止损条件 then begin
止损语句;
n:=N+1;
end
if 止盈条件 then begin
止盈语句;
n:=0;
if n<2 and 开仓条件 then 开仓语句;