討論串[問題] 時間停損
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 2→)留言4則,0人參與, 最新作者lyndonxxx (lyndon)時間15年前 (2009/07/08 22:04), 編輯資訊
2
0
0
內容預覽:
HTS如何寫出時間停損. 例如當沖系統中 在收盤前平倉的邏輯. 小弟是程式菜鳥 Orz. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 114.47.53.211.

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者shoufu (Prop Trader)時間15年前 (2009/07/09 08:32), 編輯資訊
0
0
0
內容預覽:
TS的寫法. if time > 1335(也可能1340,看自己怎麼訂) then. begin. if marketposition > 0 then. exitlong market;. if marketposition < 0 then. exitshort market;. end;.

推噓1(1推 0噓 4→)留言5則,0人參與, 最新作者lyndonxxx (lyndon)時間15年前 (2009/07/09 22:29), 編輯資訊
0
0
0
內容預覽:
IF TIME > 1340 THEN. EXITLONG THIS BAR AT CLOSE. END IF. 我是這樣打 但是回測還是一直買進或賣出然後又平倉= =. 是不是還要設定日期呢? 我是用5分K做回測. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 118.17

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者dontblame (占卜師)時間15年前 (2009/07/10 23:08), 編輯資訊
0
0
0
內容預覽:
if time=134500 and currentcontracts<>0 then. exitlong this bar at market. exitshort this bar at market. end if. if q_time>=134300 and q_time<=134400 a
首頁
上一頁
1
下一頁
尾頁