if hold>0 and abx<ma1 then begin
tsell(1,px11,lmt,cc2,0,ac1,pz1);
tsellshort(1,px12,lmt,cc1,0,ac1,pz2);
tsellshort(1,px13,lmt,cc3,0,ac1,pz3);
tsellshort(1,px14,lmt,cc3,0,ac1,pz4);
tsell(1,px21,lmt,cc2,0,ac2,pz1);
tsellshort(1,px22,lmt,cc1,0,ac2,pz2);
tsellshort(1,px23,lmt,cc3,0,ac2,pz3);
tsellshort(1,px24,lmt,cc3,0,ac2,pz4);
tsell(1,px31,lmt,cc2,0,ac3,pz1);
tsellshort(1,px32,lmt,cc1,0,ac3,pz2);
tsellshort(1,px33,lmt,cc3,0,ac3,pz3);
tsellshort(1,px34,lmt,cc3,0,ac3,pz4);
tsell(1,px41,lmt,cc2,0,ac4,pz1);
tsellshort(1,px42,lmt,cc1,0,ac4,pz2);
tsellshort(1,px43,lmt,cc3,0,ac4,pz3);
tsellshort(1,px44,lmt,cc3,0,ac4,pz4);
SETREGVAL('abx','abx1_hold',0);
end
类似于上面的操作~
SETREGVAL('abx','abx1_hold',0);
这句都执行了但是单子下不进去...
模拟盘测试的时候下不了单
不知道实盘怎么样..