是止盈后當天不再開倉?
VARIABLE:n=0;if 開多條件 and n=0 then buy(holding=0,1,market);if 止盈條件 and holding>0 then BEGIN sell(holding>0,holding,market); n:=1; end if time=CLOSETIME(0) then n:=0;