也就是平掉當日倉單以后,出現反向信號,不再開倉。如果日內再出現開同向信號,可以繼續再開
模型是日內交易
variable:n=0;
variable:m=0;
if n=0 and 開多條件 then buy..........;
if m=0 and 開空條件 then buyshort.........;
if 平多條件 and holding>0 then begin
sell.........;
n:=0;
m:=1;
end
if 平空條件 and holding<0 then begin
sellshort.........;
n:=1;
m:=0;
end
怎么加上以后沒有信號了?