MT4的EA怎麼寫每月超過虧損停止交易? - 財經
By Victoria
at 2012-05-30T23:16
at 2012-05-30T23:16
Table of Contents
這個禮拜開始寫MT4的EA
可能是因為資管系的有學過C 雖然上課很不認真-.-
但畢竟耳濡目染 加上有開發過ANDROID APP
所以程式邏輯方面還好沒有太大問題
但我想寫 例如限制每月虧損本金10% 當月就停止交易到次月 這個功能
但MT4的FUNCTION裡面 似乎找不到查詢帳戶"損益"的FUNCTION
只有AccountProfit() 但這個似乎是只純利潤的部分
假設你獲利0 虧損500 AccountProfit()會顯示 0
而且找不到 AccountLoss()這種功能的FUNCTION
不知道板上有沒有人有碰到類似的狀況之道解決辦法?
謝謝!!
--
可能是因為資管系的有學過C 雖然上課很不認真-.-
但畢竟耳濡目染 加上有開發過ANDROID APP
所以程式邏輯方面還好沒有太大問題
但我想寫 例如限制每月虧損本金10% 當月就停止交易到次月 這個功能
但MT4的FUNCTION裡面 似乎找不到查詢帳戶"損益"的FUNCTION
只有AccountProfit() 但這個似乎是只純利潤的部分
假設你獲利0 虧損500 AccountProfit()會顯示 0
而且找不到 AccountLoss()這種功能的FUNCTION
不知道板上有沒有人有碰到類似的狀況之道解決辦法?
謝謝!!
--
Tags:
財經
All Comments
By Skylar Davis
at 2012-06-04T16:31
at 2012-06-04T16:31
By Kumar
at 2012-06-05T07:21
at 2012-06-05T07:21
By Andy
at 2012-06-08T05:54
at 2012-06-08T05:54
By Oliver
at 2012-06-09T21:54
at 2012-06-09T21:54
By Rachel
at 2012-06-13T19:27
at 2012-06-13T19:27
By Anthony
at 2012-06-18T18:49
at 2012-06-18T18:49
By Heather
at 2012-06-19T23:14
at 2012-06-19T23:14
By Mia
at 2012-06-21T15:44
at 2012-06-21T15:44
By Regina
at 2012-06-23T01:28
at 2012-06-23T01:28
By Michael
at 2012-06-27T19:03
at 2012-06-27T19:03
By Dinah
at 2012-06-28T13:49
at 2012-06-28T13:49
By Yuri
at 2012-06-28T15:40
at 2012-06-28T15:40
By Liam
at 2012-07-01T07:35
at 2012-07-01T07:35
By Quanna
at 2012-07-03T06:36
at 2012-07-03T06:36
By Elma
at 2012-07-04T14:41
at 2012-07-04T14:41
By Charlotte
at 2012-07-08T23:24
at 2012-07-08T23:24
By Tracy
at 2012-07-12T23:57
at 2012-07-12T23:57
By Ula
at 2012-07-14T19:59
at 2012-07-14T19:59
By Hamiltion
at 2012-07-16T12:29
at 2012-07-16T12:29
By Lauren
at 2012-07-19T09:00
at 2012-07-19T09:00
By Faithe
at 2012-07-21T12:56
at 2012-07-21T12:56
By Edward Lewis
at 2012-07-26T00:22
at 2012-07-26T00:22
Related Posts
請問一下 當日跌停價抓法?
By Frederica
at 2012-05-30T18:45
at 2012-05-30T18:45
X-程式交易全紀錄5/28
By Anonymous
at 2012-05-28T16:24
at 2012-05-28T16:24
國外選擇權技術分析
By Quanna
at 2012-05-25T20:08
at 2012-05-25T20:08
X-程式交易全紀錄5/23
By Harry
at 2012-05-23T20:00
at 2012-05-23T20:00
X-程式交易全紀錄5/22
By Robert
at 2012-05-22T21:06
at 2012-05-22T21:06