Variable:BuyCon=1;
Variable:duo=1;
Variable:kong=1;
variable:w=1;
s:=tenterbars;
variable:z=1;
z:=a;
w:=b;
BuyCon: =c);
duo:=d;
kong:=e;
If BuyCon and duo and tholding=0 then begin
tbuy(1,1,mkt);
end
if BuyCon and kong and tholding=1 then begin
tSELL(1,0,MKT);
tBUYSHORT(1, 1,MKT);
end
if s=1 and tholding=1 then
begin
tsell(1,0,mkt);
end
if s=1 and tholding=-1 then
begin
tSELLSHORT(1,0,MKT);
end
if BuyCon and kong and tholding=0 then
begin
tbuyshort(1,1,mkt);
end
if BuyCon and duo and tholding=-1 then
begin
tSELLSHORT(1,0,MKT);
tBUY(1,1,MKT);
end
if s=1 and tholding=1 then
begin
tsell(1,0,mkt);
end
if s=1 and tholding=-1 then
begin
tSELLSHORT(1,0,MKT);
end
if currenttime>145955 then
begin
tsell(1,0,mkt);
end
if currenttime>145955 then
begin
tsellshort(1,0,mkt);
end
以上是我的指令框架 版主帮我分析一下 或者帮我改一下 框架 让我避免两次报单