討論區列表
MultiCharts
一般模式
討論串模式
標題:
[發表] 請大大幫我看一下,為何只有2007/01/04入場一筆接下來都是open也沒平倉?
by 2019-11-16 12:07:43
0
暱稱:
阿賢賢
信箱:不顯示
成就:發文(0) / 回文(0) / 推薦(0)
//time period 20070101-20170101 //TXFday 10min input:Length(10) ,len1(10) ; input:n(100) ; input:loss(50) ; input:t1(0845),t2(1315) ; var:mp(0) ; var:UPchannel(0),DOWNchannel(0) ; UPchannel = highest(high[1],Length) ; if dayofweek(date)=3 and dayofmonth(date)>14 and dayofmonth(date)<22 and time>=1300 then begin if mp>0 then sell("eventsell") next bar at market; end else begin If t> t1 and t< t2 and UPchannel<>0 and EntriesToday(date)<2 then begin if mp=0 and close >= UPchannel then buy("buy") next bar at market ; end ; if mp>0 and maxpositionprofit>=(n*bigpointvalue) and high>highest(high,len1)[1] then sell("sell") next bar at market; if mp>0 and c<=entryprice-loss then sell("stoplossLE") next bar at market; end ;
第1篇:
[發表] 請大大幫我看一下,為何只有2007/01/04入場一筆接下來都是open也沒平倉?
by 2019-11-16 12:26:52
0
暱稱:
阿賢賢
信箱:不顯示
成就:發文(0) / 回文(0) / 推薦(0)
漏寫了mp=marketposition ;
please delete all my articles , thank U !!!
第一頁
上一頁
1
下一頁
最後頁
討論區列表
MultiCharts
MultiCharts
│
討論區
│
會員專區
│
教學講座
│
支援與服務
│
產品購買
│
申請試用
All rights for MultiCharts Trading Software are reserved by MultiCharts, LLC
凱衛資訊股份有限公司 營利事業統一編號(21261212) 著作權所有 本網站最佳瀏覽解析度為 1024 x 768
隱私權政策
│
網站安全政策
│
著作權說明
若不清楚點選圖片更新驗證碼
註冊帳號
忘記密碼
解除鎖定