CloseAllTrades() OR CloseAllLongTrades() and CloseAllShortTrades() functions

MQL5 ライブラリ

仕事が完了した

実行時間21 分
開発者からのフィードバック
Great Customer.

指定

I am in the middle of building an EA and need some help.

My EA opens 1 to n trades in a single direction either all long, or all short.

there comes a time where my EA has to close all 1 to n trades and start over in the opposite direction.

This function should look for all open positions in "this currency pair" described by Symbol() and close them.

I need this in the next 24 hours.

Please help.

CipherPips


応答済み

1
開発者 1
評価
(103)
プロジェクト
205
41%
仲裁
17
29% / 71%
期限切れ
45
22%
2
開発者 2
評価
(320)
プロジェクト
525
66%
仲裁
52
21% / 38%
期限切れ
169
32%

プロジェクト情報

予算
10 USD
開発者用
9 - 9 USD
締め切り
1 日