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
70
36%
Arbitraje
4
25% / 75%
Caducado
1
1%
Libre
Ha publicado: 1 ejemplo
2
Desarrollador 2
Evaluación
(50)
Proyectos
64
20%
Arbitraje
11
27% / 55%
Caducado
5
8%
Libre
3
Desarrollador 3
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
4
Desarrollador 4
Evaluación
(217)
Proyectos
369
33%
Arbitraje
34
41% / 29%
Caducado
108
29%
Libre
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
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
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
(260)
Proyectos
325
30%
Arbitraje
35
26% / 63%
Caducado
10
3%
Ocupado
9
Desarrollador 9
Evaluación
(43)
Proyectos
49
29%
Arbitraje
4
25% / 25%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(512)
Proyectos
551
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
11
Desarrollador 11
Evaluación
(19)
Proyectos
27
0%
Arbitraje
4
0% / 100%
Caducado
5
19%
Trabaja
12
Desarrollador 12
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
13
Desarrollador 13
Evaluación
(4)
Proyectos
6
33%
Arbitraje
7
14% / 57%
Caducado
1
17%
Libre
14
Desarrollador 14
Evaluación
(434)
Proyectos
637
54%
Arbitraje
32
59% / 22%
Caducado
6
1%
Trabaja
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
(22)
Proyectos
24
21%
Arbitraje
5
20% / 80%
Caducado
1
4%
Libre
Ha publicado: 6 ejemplos
19
Desarrollador 19
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
20
Desarrollador 20
Evaluación
(6)
Proyectos
5
0%
Arbitraje
4
25% / 75%
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
(162)
Proyectos
289
35%
Arbitraje
18
22% / 61%
Caducado
43
15%
Libre
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
Hello everyone, I have developed a Bollinger Bands strategy. It opens around 40–50 trades per day. The strategy is already profitable, but the entries need better filtering because a few bad trades can remove most of the profit. This code was not generated by AI. I wrote it myself. The code is clean, well organized, easy to read, and relatively short, so I believe you can understand it quickly. Please read all rules
Hello, I have an existing MT5 Expert Advisor for XAUUSD. I need one specific protection feature added only. Task: Add a modular ON/OFF “Cumulative Drawdown From Peak” protection to my current EA. Important: Do not change the trading strategy. Do not change entry logic. Do not change exit logic. Do not change EMA, ADX, session filter, Sell Hour Filter, lot sizing, SL/TP, BreakEven, or Trailing settings. This job is
Two trading view indicator merge and specific area show entry and SL/TP....DASHBOARD SHOW 1YEAR. UMBER OF ORDER AND WIN/LOSS PROFIT% etc.The trading view indicator name will be under me............and I will tell you condition for A+ setup...and normal....based on that condition signal will create
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'
Use the H4 timeframe to determine the main trend direction. Identify valid order blocks on the H1 timeframe. Identify liquidity zones and liquidity sweeps. Wait for M15 confirmation before opening a trade. Only take buy trades in bullish market conditions and sell trades in bearish market conditions. Risk a fixed percentage of account balance per trade (user adjustable). Automatically calculate lot size based on
I need an MT5 Indicator that DOES NOT open trades automatically. Its purpose is to analyze the market and send me a notification whenever all the conditions of my strategy are met. INDICATORS USED - RSI (14) - SMA (100) - Volume - H4 Support Detection CONDITIONS 1. RSI on M15 - RSI (14) must be equal to or below 30. 2. RSI on H1 - RSI (14) must be equal to or below 35. 3. SMA 100 - Use a Simple Moving Average (SMA)
MC Trader's 30+ USD
If Buy: it must Buy when a conformation is done Bye the candle that would be a bullish engolfing candle or after liqudity swip or when sellers has stepped down the market and the market regains energy and trand upwards, it's stop loss must be below the Buy position and it's take profit must be at the top of all candles
i am looking to upgrade my trading telegram bot and add live data to it and also make it linked to a dashboard where i can trace the users who register in my bot and pay and make them go in my private channel and manages the expiry date of each user
Title: MT4 One Click Trader EA (Custom Development) I am looking for an experienced MQL4 developer to build a custom One Click Trader Expert Advisor for MetaTrader 4. The objective is a fast, reliable, execution-focused trading panel with minimal visual clutter and robust operation on both standard and offline charts. Requirements Trade Panel The EA must provide a simple trading panel containing: Buy button Sell
Read signal and enter trade and close trade at good profits and open trade again. Either bullish or bearish signals at 0.1 on XAUUSD. Maximum trade a day should be 4-5 times with good opens and close signals. Looking foward to a long cooperation and also a honest and genuine person

Información sobre el proyecto

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