Expert Advisor – Auto-Adjust Lot Size in Trade Panel

Specification

I need an Expert Advisor (EA) for MetaTrader 5 that automatically adjusts the lot size in the volume field at the top-left of the terminal based on a fixed 1% risk of my equity.

Features:

1. Display a movable horizontal line on the chart that I can drag.

2. Calculate the distance from the line to the live price in pips.

3. Retrieve my account equity in real-time.

4. Get the pip value of the symbol dynamically.

5. Use this formula to calculate the correct lot size:


Lot Size = (Equity × 0.01) / (Stop Loss in Pips × Pip Value)


6. Automatically update the “Volume” field at the top-left trade panel (so I don’t need to manually enter the lot size).

7. If the line is below the price, it means I want to place a Buy trade (stop-loss at the line).

8. If the line is above the price, it means I want to place a Sell trade (stop-loss at the line).

9. Display the calculated lot size as a text on the chart for confirmation.


🚨 Important: This EA must automatically set the lot size in the trade panel at the top-left of MetaTrader 5, not just display it on the screen.


Platform: MetaTrader 5 only (not MT4).


Responded

1
Developer 1
Rating
(51)
Projects
69
35%
Arbitration
4
25% / 75%
Overdue
0
Free
2
Developer 2
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
3
Developer 3
Rating
(270)
Projects
399
27%
Arbitration
39
41% / 49%
Overdue
1
0%
Free
4
Developer 4
Rating
(212)
Projects
362
32%
Arbitration
34
41% / 29%
Overdue
108
30%
Working
Published: 1 code
5
Developer 5
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
6
Developer 6
Rating
(58)
Projects
85
27%
Arbitration
24
13% / 58%
Overdue
7
8%
Loaded
7
Developer 7
Rating
(33)
Projects
35
20%
Arbitration
5
40% / 40%
Overdue
0
Free
Published: 1 code
8
Developer 8
Rating
(249)
Projects
311
28%
Arbitration
33
27% / 64%
Overdue
10
3%
Free
9
Developer 9
Rating
(43)
Projects
49
29%
Arbitration
4
25% / 25%
Overdue
0
Free
10
Developer 10
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
11
Developer 11
Rating
(15)
Projects
23
0%
Arbitration
4
0% / 75%
Overdue
4
17%
Working
12
Developer 12
Rating
(270)
Projects
552
49%
Arbitration
57
40% / 37%
Overdue
228
41%
Working
13
Developer 13
Rating
(4)
Projects
6
33%
Arbitration
7
14% / 57%
Overdue
1
17%
Free
14
Developer 14
Rating
(428)
Projects
624
54%
Arbitration
30
53% / 23%
Overdue
6
1%
Busy
15
Developer 15
Rating
(8)
Projects
9
56%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(4)
Projects
9
11%
Arbitration
11
18% / 64%
Overdue
4
44%
Free
18
Developer 18
Rating
(16)
Projects
18
6%
Arbitration
5
20% / 80%
Overdue
1
6%
Free
19
Developer 19
Rating
(295)
Projects
471
39%
Arbitration
102
40% / 24%
Overdue
78
17%
Busy
Published: 2 codes
20
Developer 20
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
Free
21
Developer 21
Rating
(12)
Projects
13
8%
Arbitration
1
0% / 100%
Overdue
0
Free
22
Developer 22
Rating
(159)
Projects
284
35%
Arbitration
18
22% / 61%
Overdue
42
15%
Loaded
23
Developer 23
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
24
Developer 24
Rating
(12)
Projects
12
17%
Arbitration
2
0% / 50%
Overdue
1
8%
Free
25
Developer 25
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
26
Developer 26
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(4)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
I want to add and remove few things in ea need some modification needed in ea developer should have some trading knowledge also to understand the requirement better and have good experience in coding
i have an exper advisor in ex4 ...want to convert it to mq4 or mq5 file this is ea was created thru a programmer and received only ex4 file....that time i was new so did not know about mq4 file. of if anyone can help me to replicate this ea to mq4 or mq5
hello great developer I need help developing an ICT 2022 model indicator and testing it thoroughly to ensure optimal performance and accuracy. Scope of work - Create an ICT 2022 model indicator with specified features. - Conduct repeated tests and strategy tests to refine the indicator. - Implement midnight to 9:30 box high and low range settings. - Include signal settings for major liquidity and structure break with
Floating bot 30+ USD
I need someone to build an easy bot for me. Whenever the candle closes outside a particular horizonal line I will put on my mt5 chart then immediately after the candle close there will be an instant execution trade after the close of the candle and the sl will be at the current last low or high below or above for buy or sell. I will have a place where I will input the amount to be risked by one pair. For instance in
I need experience developer on mt5, simple strategy and basic inputs on take profit, stoploss closing candle, and average profit, average loss and lot increment and some inputs come to private I will be explain all
I have EA available for boom 900 able to make 30$ daily from 100$ . I need investors to partner together and create a substantial capital for greater gains and equitable pooling and distribution
Algo Trading Rebot/ EA 30 - 100 USD
I would like someone Who can design an EA for me. I will give him the Required Details and Trading Plan How it should Work. its going to be a Simple EA System Around Moving Averages Crossover. I will Provide Him the Moving Averages Settings and How It should execute trades and Exit them
No jokers copy pasters allowed. If you're proficient in MQL5, have a proven track record with EAs apply. Commissioning the development of a high-performance Expert Advisor (EA) engineered for the MetaTrader 5 (MT5) environment. The objective is to deploy an institutional-grade automated trading system capable of systematic market analysis, precision execution, and strict risk governance within the global forex
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Sniper 30+ USD
Hello, I would like you to develop a trading robot (EA) with the following specifications: The robot should be able to target large moves, ideally 60–100 pips or more per trade. It should use high-precision “sniper” entries, focusing on high-probability setups rather than frequent trades. Once the initial trade reaches breakeven, the robot should be able to add additional positions (scale in) while maintaining strict

Project information

Budget
30 - 150 USD
Deadline
to 30 day(s)