Custom Trade Panel Request

MQL5 Experts Other

Job finished

Execution time 21 minutes
Feedback from customer
Efficient and fast. Delivered everything I asked for and even added an extra feature after the job was done. Very professional and easy to work with.
Feedback from employee
Thank you so much!!!!!

Specification

I’m looking for a developer to create a custom trade panel/tool that allows me to execute and manage multiple trades simultaneously with dynamic, risk-based position sizing.

Core Concept (Must Be Followed Exactly)

• I define a total risk percentage (example: 1% of account balance)

• That total risk is split across all trades

• Each trade has a different stop loss (in pips)

• The system must automatically calculate lot size per trade so that:

If all stop losses are hit, the TOTAL loss equals exactly the defined risk (e.g., 1%)

Core Features

1. Multi-Trade Execution

• Ability to place up to 10 trades simultaneously

• Each trade is independent (not grouped into one position)

2. Individual Stop Loss Per Trade

• Each trade must allow a custom stop loss (in pips)

Example:

• Trade 1 → 1 pip SL

• Trade 2 → 5 pip SL

• Trade 3 → 10 pip SL

3. Total Risk Input (Global)

• Single input field for total risk % (example: 1%)

• This risk is shared across all trades, NOT per trade

4. Automatic Risk Distribution (CRITICAL FEATURE)

• The system must:

• Divide total risk across all trades

• Calculate lot size per trade based on stop loss distance

Meaning:

• Smaller stop loss → larger lot size

• Larger stop loss → smaller lot size

Mathematical Logic (Must Be Implemented Exactly)

Let:

• Balance = Account balance

• Risk% = Total risk (example: 1%)

• Total Risk ($) = Balance × Risk%

• N = Number of trades

• SLᵢ = Stop loss (in pips) for trade i

• PipValue = Value per pip per lot

Step 1: Split Risk Across Trades

Each trade gets:

• Risk per trade ($) = Total Risk ÷ N

Step 2: Calculate Lot Size Per Trade

For each trade:

• Lot Sizeᵢ = (Risk per trade) ÷ (SLᵢ × PipValue)

Result:

• All trades combined = exactly the defined total risk

• Lot sizes automatically adjust based on stop loss distance

Important Requirement

The system must guarantee:

If all stop losses are triggered, total loss = exact risk % entered (no deviation).

Panel / UI Requirements

• Input fields:

• Number of trades (up to 10)

• Stop loss per trade

• Total risk %

• Display:

• Auto-calculated lot size per trade (before execution)

• Controls:

• One-click execution button

Order Types

• Must support:

• Market orders

• Pending orders (limit / stop)


Optional Features (Nice to Have)

• Take profit per trade

• Break-even function

• Trailing stop

• Save/load presets

Simple Explanation

I want to place multiple trades at once, each with different stop losses, while risking a fixed total percentage of my account. The system should automatically adjust each trade’s lot size so the combined risk stays constant.

Responded

1
Developer 1
Rating
(21)
Projects
27
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
2
Developer 2
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
3
Developer 3
Rating
(264)
Projects
331
29%
Arbitration
36
28% / 64%
Overdue
10
3%
Working
4
Developer 4
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
5
Developer 5
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(610)
Projects
710
33%
Arbitration
45
49% / 42%
Overdue
14
2%
Working
8
Developer 8
Rating
(106)
Projects
129
25%
Arbitration
23
30% / 52%
Overdue
8
6%
Free
9
Developer 9
Rating
(2672)
Projects
3407
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
10
Developer 10
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
11
Developer 11
Rating
(12)
Projects
18
17%
Arbitration
3
33% / 67%
Overdue
3
17%
Working
12
Developer 12
Rating
(28)
Projects
34
35%
Arbitration
0
Overdue
2
6%
Free
13
Developer 13
Rating
(20)
Projects
26
38%
Arbitration
6
33% / 50%
Overdue
0
Free
14
Developer 14
Rating
(22)
Projects
29
34%
Arbitration
4
50% / 25%
Overdue
5
17%
Working
15
Developer 15
Rating
(22)
Projects
24
21%
Arbitration
5
20% / 80%
Overdue
1
4%
Free
Published: 6 codes
16
Developer 16
Rating
(4)
Projects
6
67%
Arbitration
1
0% / 0%
Overdue
0
Working
17
Developer 17
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
1
8%
Free
18
Developer 18
Rating
(81)
Projects
92
32%
Arbitration
9
22% / 56%
Overdue
5
5%
Working
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Loaded
21
Developer 21
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
22
Developer 22
Rating
(549)
Projects
834
62%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
23
Developer 23
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
25
Developer 25
Rating
(31)
Projects
33
42%
Arbitration
0
Overdue
3
9%
Free
26
Developer 26
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(365)
Projects
441
55%
Arbitration
22
50% / 14%
Overdue
30
7%
Loaded
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
32
Developer 32
Rating
(14)
Projects
15
40%
Arbitration
2
50% / 50%
Overdue
1
7%
Free
33
Developer 33
Rating
(24)
Projects
29
38%
Arbitration
2
0% / 0%
Overdue
2
7%
Free
34
Developer 34
Rating
(4)
Projects
4
0%
Arbitration
0
Overdue
0
Working
35
Developer 35
Rating
(3)
Projects
1
0%
Arbitration
5
0% / 100%
Overdue
0
Free
36
Developer 36
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Working
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(1)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Published: 1 article
40
Developer 40
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
41
Developer 41
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
42
Developer 42
Rating
(1)
Projects
2
0%
Arbitration
0
Overdue
2
100%
Free
43
Developer 43
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
44
Developer 44
Rating
(1)
Projects
2
0%
Arbitration
2
0% / 100%
Overdue
0
Working

Project information

Budget
80+ USD
Deadline
from 1 to 4 day(s)