Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
//多头
variable:n=0;
if c-enterprice>=50*mindiff and n=0 then begin
sell(1,一部分仓位,market);
n:=1;
end
if c-enterprice>=100*mindiff and n=1 then begin
sell(1,再一部分仓位,market);
n:=2;
开仓时,开仓语句中再加一个n:=0; 的语句