仕事が完了した

実行時間41 分
依頼者からのフィードバック
Very good programmer, take a time to teach you on what modification he make :) Good teacher :) Thank you !
開発者からのフィードバック
Good customer! thank you for the job!

指定

Hello, look at the entire code, check that it is programmed correctly, that there are no functions that are useless! Add a function so that there is only 1 order per currency pair. Currently it can happen that there are 2 or 3 orders per currency pair, I want to limit the number of orders to 1 per currency pair.


Add a code like this example :

int TotalOrders(string symbol="", ulong magic = -1) {

   int cnt = 0;

   int pos_total = PositionsTotal();

   for(int pos =pos_total-1;pos>=0;pos--)  {

      ulong pos_ticket = PositionGetTicket(pos);

      if(PositionSelectByTicket(pos_ticket) && (symbol=="" || PositionGetSymbol(POSITION_SYMBOL)==symbol) && ( magic==-1 || PositionGetInteger(POSITION_MAGIC)==magic) ) {

      cnt++;   

      }

   }

   return(cnt);

}


it's just an example of what I want, it can be programmed differently.


ファイル:

MQ5
deep1.mq5
11.3 Kb

応答済み

1
開発者 1
評価
(211)
プロジェクト
284
46%
仲裁
27
59% / 37%
期限切れ
36
13%
仕事中
2
開発者 2
評価
(22)
プロジェクト
23
39%
仲裁
0
期限切れ
1
4%
3
開発者 3
評価
(9)
プロジェクト
13
0%
仲裁
23
0% / 78%
期限切れ
4
31%
4
開発者 4
評価
(57)
プロジェクト
72
22%
仲裁
13
46% / 15%
期限切れ
5
7%
5
開発者 5
評価
(43)
プロジェクト
66
12%
仲裁
12
58% / 42%
期限切れ
1
2%
6
開発者 6
評価
(279)
プロジェクト
377
72%
仲裁
19
32% / 47%
期限切れ
15
4%
パブリッシュした人: 15 codes
類似した注文
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation

プロジェクト情報

予算
30+ USD
締め切り
最高 1 日