1.
variable:bj=0;
if openprofit/multiplier>30 and bj=0 and holding>0 then begin
sell(1,0,market);
bj:=1;
end
if bj=1 and c<enterprice-10 and holding>0 then begin
bj:=0;
2.可以