if time>=0900 and time<=1343 then begin
if Z1>Y2 and x1 then SellShort 1 contracts next bar at Y2 limit;-------A
if Z1>Y2 and x1 then buy 1 contracts next bar at Y2 limit;-------------B
if Z1>Y2 and x1 and (X5-X2)>=0 and (X3-X5)>=0
then SellShort 1 contracts next bar at Y2 limit;-----------------------C
if Z1<Y2 then SellShort 1 contracts next bar at Y2+15 limit;-----------D
end;
if time >1343 then begin
if marketposition >0 then
sell all contract next bar at market
else if marketposition <0 then
buytocover all contract next bar at market;
我是用分K,上述A,B,C,D四個進場訊號,如何才能符合條件下過一次單之後,該訊號今日就停止
例如A訊號符合後下單,然後A段訊號就忽略不跑,B,C,D繼續跑,直到各別訊號符合後該段忽略
請各位大神指教,謝謝
更正一下
加碼設定下面的圓點,選用 排除相同訊號的委託