Function to read closed orders from history and calculate loss until first positive order

MQL4 エキスパート 相談

仕事が完了した

実行時間15 時間
依頼者からのフィードバック
Recommended!
開発者からのフィードバック
Excellent customer! Very thanks!

指定

Function to read closed orders from history and calculate loss until first positive order.

For example (negative values in brackets),

1 order = 100, 2 = (100), 3 = (100). Total loss (200).

1 order = 50, 2 = (25), 3 = 25, 4 = (100), 5 = (50), 6 = (30). Total loss (180).

But.

I don't need to calculate loss for day etc. Just calculate backwards until first positive order and return result.

応答済み

1
開発者 1
評価
(229)
プロジェクト
339
49%
仲裁
21
5% / 33%
期限切れ
24
7%
2
開発者 2
評価
(98)
プロジェクト
129
40%
仲裁
19
16% / 53%
期限切れ
19
15%
多忙
3
開発者 3
評価
(1123)
プロジェクト
1425
62%
仲裁
21
57% / 10%
期限切れ
43
3%
4
開発者 4
評価
(620)
プロジェクト
680
57%
仲裁
25
16% / 60%
期限切れ
228
34%

プロジェクト情報

予算
30+ USD
VAT(付加価値税) (21%): 6.3 USD
合計: 36.3 USD
開発者用
27 USD