Automatically close all open trades when a cumulative open profit/loss threshold gets breached

MQL5 脚本 积分 外汇

工作已完成

执行时间18 小时
员工反馈
Had a wonderful time working together, hopefully we can do it again in future! thanks a lot!
客户反馈
Excellent work, very receptive to feedback and responsive when I had questions (of which I had a lot, being completely new to the world of trading automation). Would definitely recommend.

指定

Ok so I'm completely new to the MT world, and know absolutely nothing about coding.  I've always just been a chart it out on tradingview kinda guy.  But I have this different technique for Taking profit/loss I really want to try, and it would require some automation to do it.  What i'm looking for is, if  9 trades open, and I have a take profit value in mind that i want to reach, say $1500.  If my portfolio of open trades reaches my desired target of $1500 combined across all my open trades, to have that event automatically trigger liquidation of all my open trades?  Basically, instead of having a target in mind for each individual trade, I want to try setting a general profit target/loss limit, that once its reached, i quit while i'm ahead/cut my losses, so to speak.   Has to be MT5 not MT4, as my system requires the use of Buy/sell stop limit orders

反馈

1
开发者 1
等级
(174)
项目
200
12%
仲裁
39
38% / 33%
逾期
5
3%
空闲
发布者: 2 代码
2
开发者 2
等级
(67)
项目
79
33%
仲裁
6
50% / 33%
逾期
7
9%
空闲
3
开发者 3
等级
(2)
项目
3
33%
仲裁
1
0% / 100%
逾期
0
空闲
4
开发者 4
等级
(19)
项目
24
17%
仲裁
7
0% / 71%
逾期
3
13%
空闲
发布者: 2 文章, 4 代码
5
开发者 5
等级
(79)
项目
111
37%
仲裁
0
逾期
4
4%
空闲
6
开发者 6
等级
(217)
项目
369
33%
仲裁
34
41% / 29%
逾期
108
29%
空闲
发布者: 1 代码
7
开发者 7
等级
(17)
项目
24
33%
仲裁
5
20% / 40%
逾期
8
33%
空闲
8
开发者 8
等级
(188)
项目
212
58%
仲裁
9
11% / 89%
逾期
8
4%
空闲
9
开发者 9
等级
(258)
项目
396
28%
仲裁
70
19% / 49%
逾期
121
31%
工作中
10
开发者 10
等级
(29)
项目
49
22%
仲裁
14
29% / 21%
逾期
13
27%
空闲
11
开发者 11
等级
(3)
项目
1
100%
仲裁
1
0% / 0%
逾期
0
空闲
12
开发者 12
等级
(647)
项目
1295
67%
仲裁
84
26% / 49%
逾期
338
26%
空闲
13
开发者 13
等级
(12)
项目
14
29%
仲裁
0
逾期
0
空闲
14
开发者 14
等级
(2)
项目
2
50%
仲裁
0
逾期
0
空闲
15
开发者 15
等级
(100)
项目
125
23%
仲裁
12
0% / 75%
逾期
22
18%
空闲
16
开发者 16
等级
(144)
项目
199
42%
仲裁
20
25% / 55%
逾期
10
5%
空闲
17
开发者 17
等级
(619)
项目
722
33%
仲裁
46
48% / 41%
逾期
14
2%
已载入
18
开发者 18
等级
(165)
项目
260
62%
仲裁
4
50% / 25%
逾期
10
4%
空闲
19
开发者 19
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
20
开发者 20
等级
(26)
项目
23
39%
仲裁
26
8% / 38%
逾期
0
空闲
21
开发者 21
等级
(3)
项目
4
50%
仲裁
1
100% / 0%
逾期
2
50%
空闲
22
开发者 22
等级
(64)
项目
144
46%
仲裁
20
40% / 20%
逾期
32
22%
工作中
23
开发者 23
等级
(96)
项目
143
76%
仲裁
0
逾期
2
1%
空闲
24
开发者 24
等级
(82)
项目
86
57%
仲裁
25
0% / 84%
逾期
19
22%
空闲
25
开发者 25
等级
项目
0
0%
仲裁
0
逾期
0
空闲
26
开发者 26
等级
(12)
项目
12
0%
仲裁
0
逾期
1
8%
空闲
27
开发者 27
等级
(65)
项目
71
30%
仲裁
8
0% / 88%
逾期
5
7%
空闲
相似订单
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account

项目信息

预算
100 - 500 USD