老师 图标记录里面有3个平仓记录和开仓记录 但是软件交易委托里面只有一个平仓记录3个开仓记录 成交记录里面也是仅平仓了一手开仓了3手,请问软件为什么出现这个问题?
if K2<=0 then begin
sellshort(1,holding,thisclose);
buy(holding=0,ss,thisclose);
end
if K2>0 then begin
sell(1,holding,thisclose);
buyshort(holding=0,ss,thisclose);
end
------------------------------------------------------
SS:=1;
if cross(C,REF(O,NN1-1)+BF*1.0), then begin
sellshort(1,holding,thisclose);
buy(holding=0,ss,thisclose);
end
if cross(REF(O,NN1-1)-BF*1.0,c), then begin
sell(1,holding,thisclose);
buyshort(holding=0,ss,thisclose);
end
--------------------------------------------
SS:=1;
if cross(w=1,0), then begin
sellshort(1,holding,thisclose);
buy(holding=0,ss,thisclose);
end
if cross(i=1,0) then begin
sell(1,holding,thisclose);
buyshort(holding=0,ss,thisclose);
end
在多框架多窗口下 同一个时间出现了3个信号【平仓反手】但是实际只交易了一个平仓 三个开仓,应该三个平仓三个开仓,图表记录里面确实也记录了三个平仓三个开仓,但是交易记录和交易委托里面只有一个平仓三个开仓记录。现在是否表达明白了?