交易是開倉一次還是平倉一次
是圖表還是后臺交易
variable:bj=0;
if 開倉條件 and holding=0 and bj=0 then begin
buy(1,1,market);
bj:=1;
end
這里寫平倉語句
if time=closetime(0) then bj:=0;