問題二
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; IOG模式下 一天只進場一次并在進場時已設停損點另外加一停損點於收盤前一分鐘 請問134400只後 sell 的訊號無法產生 是因為 setstoploss(50*bigpointvalue) 已有設停損點的原因嗎 ? 停損點的設置 可以OCO 二擇一嗎?? 謝謝
[intrabarordergeneration=true] if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; IOG模式下 一天只進場一次并有停損點 請問會限制到 出場的訊號嗎 而無法停損嗎?? 謝謝
<==不會喔!
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; IOG模式下 一天只進場一次并在進場時已設停損點另外加一停損點於收盤前一分鐘 請問134400只後 sell 的訊號無法產生 是因為 setstoploss(50*bigpointvalue) 已有設停損點的原因嗎 ? <==不是,應該是條件未符合,可能麼煩你確認一下你出場的條件..
停損點的設置 可以OCO 二擇一嗎?? 謝謝 <==可以!其中一筆符合條件丟單時另一筆會刪掉..
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
<==哈!對!都忘了這件事!果然挑戰還是經驗老道..XD
那就是說 如果以60分鐘周期 time_s>134400 無法再最後一分鐘內 因交叉而產生不留倉的訊號是嗎?
60分K 符合該條件的時間為 134500 收盤時,那時的單無法執行,它會變成次日開盤時去平倉
請問如果以60分鐘為周期 有其他方法可以 在最後一分鐘內 做出訊號決定留倉與否呢?? 謝謝
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; <== 讓 sell 可以產生訊號 謝謝! 編輯文章 by 888 2011-11-04 12:12:23
[intrabarordergeneration=true] if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; IOG模式下 一天只進場一次并有停損點 請問會限制到 出場的訊號嗎 而無法停損嗎?? 謝謝
<==不會喔!
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; IOG模式下 一天只進場一次并在進場時已設停損點另外加一停損點於收盤前一分鐘 請問134400只後 sell 的訊號無法產生 是因為 setstoploss(50*bigpointvalue) 已有設停損點的原因嗎 ? <==不是,應該是條件未符合,可能麼煩你確認一下你出場的條件..
停損點的設置 可以OCO 二擇一嗎?? 謝謝 <==可以!其中一筆符合條件丟單時另一筆會刪掉..
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
<==哈!對!都忘了這件事!果然挑戰還是經驗老道..XD
那就是說 如果以60分鐘周期 time_s>134400 無法再最後一分鐘內 因交叉而產生不留倉的訊號是嗎?
60分K 符合該條件的時間為 134500 收盤時,那時的單無法執行,它會變成次日開盤時去平倉
請問如果以60分鐘為周期 有其他方法可以 在最後一分鐘內 做出訊號決定留倉與否呢?? 謝謝
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; <== 讓 sell 可以產生訊號 謝謝! 編輯文章 by 888 2011-11-04 12:12:23
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; IOG模式下 一天只進場一次并在進場時已設停損點另外加一停損點於收盤前一分鐘 請問134400只後 sell 的訊號無法產生 是因為 setstoploss(50*bigpointvalue) 已有設停損點的原因嗎 ? <==不是,應該是條件未符合,可能麼煩你確認一下你出場的條件..
停損點的設置 可以OCO 二擇一嗎?? 謝謝 <==可以!其中一筆符合條件丟單時另一筆會刪掉..
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
<==哈!對!都忘了這件事!果然挑戰還是經驗老道..XD
那就是說 如果以60分鐘周期 time_s>134400 無法再最後一分鐘內 因交叉而產生不留倉的訊號是嗎?
60分K 符合該條件的時間為 134500 收盤時,那時的單無法執行,它會變成次日開盤時去平倉
請問如果以60分鐘為周期 有其他方法可以 在最後一分鐘內 做出訊號決定留倉與否呢?? 謝謝
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; <== 讓 sell 可以產生訊號 謝謝! 編輯文章 by 888 2011-11-04 12:12:23
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
除非你的K棒周期小於1分K,不然以下指令不可能生效,所以 SELL 根本不會被觸發
if time_s>134400
<==哈!對!都忘了這件事!果然挑戰還是經驗老道..XD
那就是說 如果以60分鐘周期 time_s>134400 無法再最後一分鐘內 因交叉而產生不留倉的訊號是嗎?
60分K 符合該條件的時間為 134500 收盤時,那時的單無法執行,它會變成次日開盤時去平倉
請問如果以60分鐘為周期 有其他方法可以 在最後一分鐘內 做出訊號決定留倉與否呢?? 謝謝
intrabarordergeneration=true]
if EntriesToday(date) < 1 and K corss over D then buy("buy 1") 1 shares next bar at market; setstoploss(50*bigpointvalue) ; if time_s>134400 and K under D then sell ("sell 1") 1 shares next bar at market; <== 讓 sell 可以產生訊號 謝謝! 編輯文章 by 888 2011-11-04 12:12:23