if currentcontracts=1 and time=133900 then exitlong next bar at market

若是當沖程式 盤中建立多單 尾盤 加這程式 沖掉

程式不保證正確 請務必另請高手 校正 謝謝

jeff641125 wrote:


不好意思~~小弟...(恕刪)



那是因為有人絕不留倉呀...今日事今日畢

隔天跳空上或下並不是其考慮結果

當然....做波段的就留倉呀.....


LOUIS2133 wrote:
if current...(恕刪)


提供小弟的寫法.....參考參考

在HTS...

---------------------------------------------
if time>=終止時間 then

if marketposition <> 0 then

exitlong next bar at market
exitshort next bar at market

end if
end if

----------------------------------------------
~~雙魚不適合操盤~~
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 7)

今日熱門文章 網友點擊推薦!