我在盤中設定了 Limit/Stop 作停利停損,但是想在非交易時間停止這兩個 order 請教在 MC 當中 如何做?
例如:
....
if Time> 0840 and Time <1350 then begin
Buytocover ("S1") ncons contracts next bar at value1 Limit;
Buytocover ("S2") ncons contracts next bar at valuyw2 stop;
end;
if Time > 1350 and MarketPosition<>0 then
begin
// MultiCharts has no this function.這裡該怎麼寫?
// CancelAllOrders; or SendCancelOrder;...
end;