Coding of order closing condition based on profit counter

仕事が完了した

実行時間6 分
開発者からのフィードバック
He is good and kind customer I want to work him again. Thank you!
依頼者からのフィードバック
Very fast delivery!

指定

The attached mq4-file already opens trades and closes them when TP is reached.

To complete my trading strategy I need the following:

1) I need a counter that sums the realized profits generated by TP.

2) When the realized profits are twice as much as the loss of the worst open trade AND the worst trade is at least 500 pips in loss, then close the worst trade AND reset the profit counter to 0.

ファイル:

応答済み

1
開発者 1
評価
(169)
プロジェクト
204
30%
仲裁
25
40% / 44%
期限切れ
12
6%
2
開発者 2
評価
(24)
プロジェクト
28
32%
仲裁
1
0% / 0%
期限切れ
0
3
開発者 3
評価
(74)
プロジェクト
121
43%
仲裁
12
33% / 50%
期限切れ
17
14%
4
開発者 4
評価
(132)
プロジェクト
176
39%
仲裁
4
25% / 50%
期限切れ
14
8%
5
開発者 5
評価
(54)
プロジェクト
53
17%
仲裁
7
0% / 100%
期限切れ
5
9%
6
開発者 6
評価
(194)
プロジェクト
197
76%
仲裁
2
100% / 0%
期限切れ
0
類似した注文
I'm looking for a fast-paced HFT EA dedicated for EURUSD that could execute between 200-1000 trades per month. Predetermined SL\TP and # of lots per trade. It should execute one trade at a time
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
Preciso de um EA, que faça o fecho automático de operações abertas no final da sessão e nas notícias de alto impacto. Um EA simples com apenas 1 função. Fecho das operações abertas
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month

プロジェクト情報

予算
50+ USD
VAT(付加価値税) (19%): 9.5 USD
合計: 59.5 USD
開発者用
45 USD
締め切り
最低 1 最高 7 日