这个需要后台程序了
1,用全局变量记录开仓时间
2.在使用这个记录的时间进行50秒的判断
if 开多条件 then begin
tbuy(1,1,mkt);
extgbdataset('tt',timetot0(dynainfo(207)));
end
if timetot0(dynainfo(207))>=extgbdata('tt')+50 then tsell(1,0,mkt);
可以,那么平仓语句就是
if enterbars=n then sell......;