我要在 14:50-15:00不开新仓,14:55平所有仓位,
晚上 02:20-02:30不开新仓,02:25平所有仓位,该怎么写,我用图表交易!
cond1:not(time>185000 or (time>=62000 and time<=63000));//将这个条件加到所有开仓条件里面去
if time>=185500 or (time>=62500 and time<=63000) then //指定时间之后全平
begin
sell(holding>0,holding,market);
sellshort(holding<0,holding,market);
end
[此贴子已经被作者于2018/10/12 14:32:23编辑过]