variable:n=0;
if month<>ref(monthe,1) then n:=0;
if weekday=5 then n:=n+1;
if n=2 and weekday=5 and time=145000 then begin
sell........;
sellshort........;
end
if month<>ref(monthe,1) then n:=1;
if weekday=5 then n:=n+1;
if n=2 and weekday=5 and time=145000 then
begin
sell(time>145000 and holding>0, 0, market);
end
2.这样对不对?
3.n是否对