Simple Manual Trade Manager: 1 SL and 3 TP with Optional BE/TS in USD Value Only

Tarea técnica

I need a clean and simple MetaTrader 5 (MT5) Expert Advisor / Utility to manage my manually opened trades (opened via PC or Mobile) based strictly on USD profit/loss values. 

Core Requirements:
1. Strictly USD Inputs: All targets, stops, break-even, and trailing parameters must be calculated and inputted using USD currency values, not pips or points.
2. Partial Closure (3 Take Profits): 
   * When floating profit hits TP1 (USD), close 33% of the position volume.
   * When floating profit hits TP2 (USD), close 50% of the remaining volume.
   * When floating profit hits TP3 (USD), close the entire remaining volume.
3. Hard Stop Loss: When floating loss hits Stop Loss (USD), close the entire position immediately.
4. Optional Break-Even (With On/Off Switch):
   * Must include a true/false switch to enable/disable.
   * When profit hits the trigger USD, move the Stop Loss to a secure USD profit level.
5. Optional Trailing Stop (With On/Off Switch):
   * Must include a true/false switch to enable/disable.
   * Trailing must lock in profits by moving the Stop Loss behind the price based on a strict USD distance.

Expected Input Settings Interface:
input double InpSL_USD = 50.00; // Stop Loss in USD
input double InpTP1_USD = 20.00; // Take Profit 1 in USD
input double InpTP2_USD = 40.00; // Take Profit 2 in USD
input double InpTP3_USD = 60.00; // Take Profit 3 in USD
input bool Use_BE = false; // Turn Break-Even ON/OFF
input double BE_Trigger_USD = 30.00; // Profit USD to trigger BE
input double BE_Plus_USD = 2.00; // Profit USD to secure at BE
input bool Use_Trailing = false; // Turn Trailing Stop ON/OFF
input double TS_Trigger_USD = 40.00; // Profit USD to start trailing
input double TS_Distance_USD = 15.00; // Trailing distance in USD

No advanced graphics or on-screen panels are required. Just a clean, standard input panel that works silently in the background when attached to a chart.
Use code with caution.

Han respondido

1
Desarrollador 1
Evaluación
(285)
Proyectos
357
29%
Arbitraje
37
27% / 65%
Caducado
10
3%
Trabaja
2
Desarrollador 2
Evaluación
(22)
Proyectos
28
7%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabaja
3
Desarrollador 3
Evaluación
(111)
Proyectos
183
25%
Arbitraje
25
16% / 76%
Caducado
16
9%
Libre
4
Desarrollador 4
Evaluación
(17)
Proyectos
21
19%
Arbitraje
5
40% / 40%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(398)
Proyectos
516
23%
Arbitraje
61
57% / 25%
Caducado
60
12%
Trabaja
6
Desarrollador 6
Evaluación
(98)
Proyectos
137
52%
Arbitraje
5
40% / 60%
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(20)
Proyectos
28
39%
Arbitraje
8
25% / 38%
Caducado
2
7%
Trabajando
Ha publicado: 8 artículos, 35 ejemplos
8
Desarrollador 8
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(2676)
Proyectos
3414
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Trabaja
Ha publicado: 1 ejemplo
11
Desarrollador 11
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(181)
Proyectos
195
46%
Arbitraje
4
50% / 25%
Caducado
1
1%
Trabajando
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(33)
Proyectos
36
0%
Arbitraje
2
50% / 0%
Caducado
0
Libre
16
Desarrollador 16
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(34)
Proyectos
35
40%
Arbitraje
0
Caducado
3
9%
Libre
18
Desarrollador 18
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre
19
Desarrollador 19
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 2 ejemplos
20
Desarrollador 20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(621)
Proyectos
725
34%
Arbitraje
47
49% / 40%
Caducado
14
2%
Trabajando
22
Desarrollador 22
Evaluación
(555)
Proyectos
847
61%
Arbitraje
33
27% / 45%
Caducado
24
3%
Libre
Ha publicado: 1 ejemplo
23
Desarrollador 23
Evaluación
(636)
Proyectos
1008
47%
Arbitraje
33
36% / 36%
Caducado
99
10%
Trabaja
Ha publicado: 6 ejemplos
24
Desarrollador 24
Evaluación
(3)
Proyectos
9
67%
Arbitraje
0
Caducado
0
Trabaja
25
Desarrollador 25
Evaluación
(7)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
2
33%
Libre
26
Desarrollador 26
Evaluación
(618)
Proyectos
1429
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
27
Desarrollador 27
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 3 ejemplos
28
Desarrollador 28
Evaluación
(261)
Proyectos
307
76%
Arbitraje
13
77% / 0%
Caducado
5
2%
Trabajando
29
Desarrollador 29
Evaluación
(4)
Proyectos
8
0%
Arbitraje
3
33% / 67%
Caducado
4
50%
Libre
30
Desarrollador 30
Evaluación
(211)
Proyectos
274
21%
Arbitraje
24
54% / 17%
Caducado
0
Trabaja
31
Desarrollador 31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
32
Desarrollador 32
Evaluación
(319)
Proyectos
571
35%
Arbitraje
83
31% / 45%
Caducado
206
36%
Libre
33
Desarrollador 33
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
34
Desarrollador 34
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
35
Desarrollador 35
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
Ha publicado: 3 ejemplos
36
Desarrollador 36
Evaluación
(59)
Proyectos
92
42%
Arbitraje
4
0% / 100%
Caducado
3
3%
Trabaja
37
Desarrollador 37
Evaluación
(6)
Proyectos
8
38%
Arbitraje
1
100% / 0%
Caducado
2
25%
Trabaja
Solicitudes similares
I’m looking for someone with experience developing Expert Advisors for MetaTrader 5, particularly someone who has a strong understanding of arbitrage, mean reversion, multi-pair trading, and simultaneous order execution. I’m looking to develop an MT5 EA based on a triangular arbitrage strategy that identifies price discrepancies between three related currency pairs and automatically executes trades when the
I am looking for an experienced MQL5 developer to build a fully automated MT5 Expert Advisor for XAUUSD. The trading rules are already defined. I need the developer to implement them accurately in MQL5, not redesign the strategy. Main requirements: XAUUSD Multi-timeframe logic: H1 direction, M15 setup, M5 entry Entry only after candle-close confirmation No repainting / closed-bar logic Configurable Stop Loss and Take
I have an existing order-flow engine for NinjaTrader 8, approximately 25,000 lines of C# code, currently using Rithmic Level 2 data. It detects absorption, iceberg orders, and other order-flow signals. We have also developed an initial bridge prototype ourselves and tested parts of the R|Trader Pro to NinjaTrader connection workflow, but we have not yet established a working MBO data connection. I am specifically
Hi, I have developed an MT5 Expert Advisor called SRX which latest version is R24b47 , and I am looking for an experienced MQL5/MT5 EA developer to perform a thorough technical investigation, fixing and optimization of the EA. 1. The main problem SRX is not stable across different market periods . It can perform extremely well during one period, but the same EA/configuration can perform very poorly or approach Margin
LynxMT5algo 30 - 100 USD
An mt5 add on indicator like gainalgo style to show entrance and exit areas for gold silver and Btc scalping. It will be used to make trading more easy for beginners
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially

Información sobre el proyecto

Presupuesto
40+ USD
Plazo límite de ejecución
a 2 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0