2013-01-23 13:03:46.977 dk:= 0
2013-01-23 13:03:46.978 kk:= 0
2013-01-23 13:03:46.978 openprice:= 2590
2013-01-23 13:03:46.978 mark:= 1
2013-01-23 13:03:46.978 DZSX:= 2588.3999
2013-01-23 13:03:46.979 KZSX:= 2592.3999
2013-01-23 13:03:46.983 c:= 3992.0000
上面监控的是if品种?
为什么后台运行的dynainfo(7)显示成这个样子,不是最新价,而是其它策略应用在rb的最新价?
想再多问一下,这段代码为什么不能止损平仓?
if DYNAINFO(7)>=(TENTERPRICE+zyd) and tbuyholding(1)>0 then
begin
tsell(tholding>0,tbuyholding(1),lmt,tenterprice+zyd);
rumark:=0;
end;
if DYNAINFO(7)<=(tenterprice-zsd) and tbuyholding(1)>0 then
begin
tsell(tholding>0,tbuyholding(1),stp,tenterprice-zsd);
rumark:=0;
end;