variable:n=0;
if n=0 and 开仓条件 then begin
下单语句;
N:=n+1;
end
N:=n+1;
end 是干什么的
variable:n=0;
if n=0 and 开仓条件 and time<145800 then begin
下单语句;
N:=n+1;
end
if time>=145800 then n:=0;
做了下修改,可以实现了,上半部分加在开仓语句那里
variable:n=0;这个全局变量相当于模型一个开关?