IF kaikong1 THEN BEGIN
if time>091000 then
k1k1:Sell(holding>0,lots,limitr,o-mindiff);
k1k2:BUYSHORT(holding=0,lots,limitr,o-mindiff);
if time <091000 then
k1k3:Sell(holding>0,lots,MARKET);
k1k4:BUYSHORT(holding=0,lots,MARKET);
END
這樣能行嗎?實盤中不執行。
開空嗎?
if time<=091000 and 開空條件 then buyshort(1,1,limitr,close);
if time>091000 and 開空條件 then buyshort(1,1,limitr,open-mindiff);