討論區列表
MultiCharts
一般模式
討論串模式
標題:
[發表] 均線語法問題
by 2018-04-18 16:39:59
0
暱稱:
齊天
信箱:不顯示
成就:發文(0) / 回文(0) / 推薦(0)
我在這邊看到的 請問可以在這邊問嗎 http://casey11181024.pixnet.net/blog/category/2684631 v_ema 函式 [LegacyColorValue = TRUE]; Inputs: Price(NumericSeries), Length(NumericSimple),rsiLength(NumericSimple); Variables: Factor(0); If Length + 1 <> 0 Then Begin If CurrentBar <= 1 Then Begin V_EMA = Price; End Else Factor = AbsValue(((RSI(Price, rsiLength) /100)-.5)* 2 *(2 / (Length + 1)) ); V_EMA = Factor * Price + (1 - Factor) * V_EMA[1]; End; 訊號 Inputs: Length1(4),Length2(20),rsiLength(14); variables:a1(0),a2(0); a1=v_ema(close,Length1,rsiLength); a2=v_ema(close,Length2,rsiLength); condition1=a1 Crosses Above a2; condition2=a1 Crosses Under a2; if condition1=true then Buy ("Long_in" ) next bar at market ; if condition2=true then sellshort ("short_in") next bar market ; if _Endday_list then begin<-----編譯到這出現錯誤 setexitonclose; end; 請問如何排除呢 謝謝
第1篇:
[發表] 均線語法問題
by 2018-04-25 15:05:36
0
暱稱:
客服一號
信箱:folkchen.sp2@gmail.com
成就:發文(0) / 回文(0) / 推薦(96)
太亂了,看不懂你的問題在那裡,錯誤碼是什麼
第一頁
上一頁
1
下一頁
最後頁
討論區列表
MultiCharts
MultiCharts
│
討論區
│
會員專區
│
教學講座
│
支援與服務
│
產品購買
│
申請試用
All rights for MultiCharts Trading Software are reserved by MultiCharts, LLC
凱衛資訊股份有限公司 營利事業統一編號(21261212) 著作權所有 本網站最佳瀏覽解析度為 1024 x 768
隱私權政策
│
網站安全政策
│
著作權說明
若不清楚點選圖片更新驗證碼
註冊帳號
忘記密碼
解除鎖定