Expert Advisor – Auto-Adjust Lot Size in Trade Panel

Tarea técnica

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).


Han respondido

1
Desarrollador 1
Evaluación
(51)
Proyectos
69
35%
Arbitraje
4
25% / 75%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(50)
Proyectos
64
20%
Arbitraje
11
27% / 55%
Caducado
5
8%
Libre
3
Desarrollador 3
Evaluación
(270)
Proyectos
399
27%
Arbitraje
39
41% / 49%
Caducado
1
0%
Libre
4
Desarrollador 4
Evaluación
(212)
Proyectos
362
32%
Arbitraje
34
41% / 29%
Caducado
108
30%
Trabaja
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(64)
Proyectos
83
28%
Arbitraje
9
33% / 56%
Caducado
9
11%
Libre
Ha publicado: 1 ejemplo
6
Desarrollador 6
Evaluación
(58)
Proyectos
85
27%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabajando
7
Desarrollador 7
Evaluación
(33)
Proyectos
35
20%
Arbitraje
5
40% / 40%
Caducado
0
Libre
Ha publicado: 1 ejemplo
8
Desarrollador 8
Evaluación
(249)
Proyectos
311
28%
Arbitraje
33
27% / 64%
Caducado
10
3%
Libre
9
Desarrollador 9
Evaluación
(43)
Proyectos
49
29%
Arbitraje
4
25% / 25%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(511)
Proyectos
549
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
11
Desarrollador 11
Evaluación
(15)
Proyectos
23
0%
Arbitraje
4
0% / 75%
Caducado
4
17%
Trabaja
12
Desarrollador 12
Evaluación
(270)
Proyectos
552
49%
Arbitraje
57
40% / 37%
Caducado
228
41%
Trabaja
13
Desarrollador 13
Evaluación
(4)
Proyectos
6
33%
Arbitraje
7
14% / 57%
Caducado
1
17%
Libre
14
Desarrollador 14
Evaluación
(428)
Proyectos
624
54%
Arbitraje
30
53% / 23%
Caducado
6
1%
Ocupado
15
Desarrollador 15
Evaluación
(8)
Proyectos
9
56%
Arbitraje
0
Caducado
0
Libre
16
Desarrollador 16
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(4)
Proyectos
9
11%
Arbitraje
11
18% / 64%
Caducado
4
44%
Libre
18
Desarrollador 18
Evaluación
(16)
Proyectos
18
6%
Arbitraje
5
20% / 80%
Caducado
1
6%
Libre
19
Desarrollador 19
Evaluación
(295)
Proyectos
471
39%
Arbitraje
102
40% / 24%
Caducado
78
17%
Ocupado
Ha publicado: 2 ejemplos
20
Desarrollador 20
Evaluación
(6)
Proyectos
5
0%
Arbitraje
2
50% / 50%
Caducado
2
40%
Libre
21
Desarrollador 21
Evaluación
(12)
Proyectos
13
8%
Arbitraje
1
0% / 100%
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(159)
Proyectos
284
35%
Arbitraje
18
22% / 61%
Caducado
42
15%
Trabajando
23
Desarrollador 23
Evaluación
(45)
Proyectos
91
13%
Arbitraje
34
26% / 59%
Caducado
37
41%
Libre
24
Desarrollador 24
Evaluación
(12)
Proyectos
12
17%
Arbitraje
2
0% / 50%
Caducado
1
8%
Libre
25
Desarrollador 25
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
26
Desarrollador 26
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
27
Desarrollador 27
Evaluación
(4)
Proyectos
4
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert
The mathephysics 250+ USD
7 Slots Remaining: The Blueprint to the Invisible Skeleton (And the Robot) My new friend, To every trader who has ever watched a chart and felt it was playing games with you, this is for you. Some look at me and underestimated me as just a disabled person. They lost a huge opportunity to be successful together with me. I am not just a trader, I am an Architect, a mathematician, a physics engineer, my brain is
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
hi every one i need to get the source code from this ea for modification in meta trader 4 or meta trader 5. because i need to put in settings the number of open trades , as this is now opening unlimited trades
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
Core Requirements: Two selectable timeframes - dropdown inputs to choose from M1, M5, M15, H1, H4, D1, W1, MN1 Timeframe 1 = Chart's own timeframe (if chart is M5, TF1 should be M5) Timeframe 2 = Higher timeframe for confluence All Ichimoku components displayed for both timeframes: Tenkan-sen Kijun-sen Senkou Span A Senkou Span B Chikou Span Cloud (bullish and bearish) Technical Settings: All buffers accessible for
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

Información sobre el proyecto

Presupuesto
30 - 150 USD
Plazo límite de ejecución
a 30 día(s)