討論區列表
元大MultiCharts
一般模式
討論串模式
標題:
[發表] IOG日盤夜盤出場
by 2018-06-07 10:26:14
0
暱稱:
clevo
信箱:不顯示
成就:發文(0) / 回文(0) / 推薦(0)
請問
1.現在有夜盤,日盤改成這樣可以嗎?
[IntrabarOrderGeneration = True];
If currenttime_s>134400 and currenttime_S<134405 and marketposition=1 then begin
once begin
PlaceMarketOrder(false, false,1);
end;
end;
If currenttime_s>134400 and currenttime_S<134405 and marketposition=-1 then begin
once begin
PlaceMarketOrder(true, false,1);
end;
end;
2.夜盤改成這樣對嗎?
[IntrabarOrderGeneration = True];
If currenttime_s>04400 and currenttime_s<044405 and marketposition=1 then begin
once begin PlaceMarketOrder(false, false,1);
end;
end;
If currenttime_s>044400 and currenttime_s<044405 and marketposition=-1 then begin
once begin
PlaceMarketOrder(true, false,1);
end;
end;
3.訊號設定屬性也有改(應該沒改錯)
回測還是只看到setexitclose
沒有看到平倉訊號
可以麻煩幫一下嗎?
第1篇:
[發表] IOG日盤夜盤出場
by 2018-06-07 14:00:42
0
暱稱:
客服一號
信箱:folkchen.sp2@gmail.com
成就:發文(0) / 回文(0) / 推薦(96)
currenttime_s 是
電腦“現在”(執行)的時間
不是 K棒當時的時間
第一頁
上一頁
1
下一頁
最後頁
討論區列表
元大MultiCharts
MultiCharts
│
討論區
│
會員專區
│
教學講座
│
支援與服務
│
產品購買
│
申請試用
All rights for MultiCharts Trading Software are reserved by MultiCharts, LLC
凱衛資訊股份有限公司 營利事業統一編號(21261212) 著作權所有 本網站最佳瀏覽解析度為 1024 x 768
隱私權政策
│
網站安全政策
│
著作權說明
若不清楚點選圖片更新驗證碼
註冊帳號
忘記密碼
解除鎖定