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
(273)
Projects
401
27%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
4
Developer 4
Rating
(216)
Projects
368
33%
Arbitration
34
41% / 29%
Overdue
108
29%
Free
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
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
7
Developer 7
Rating
(33)
Projects
35
20%
Arbitration
5
40% / 40%
Overdue
0
Free
Published: 1 code
8
Developer 8
Rating
(253)
Projects
316
29%
Arbitration
34
26% / 65%
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
(18)
Projects
26
0%
Arbitration
4
0% / 100%
Overdue
5
19%
Free
12
Developer 12
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
13
Developer 13
Rating
(4)
Projects
6
33%
Arbitration
7
14% / 57%
Overdue
1
17%
Free
14
Developer 14
Rating
(432)
Projects
632
53%
Arbitration
32
53% / 22%
Overdue
6
1%
Loaded
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
(296)
Projects
475
40%
Arbitration
105
40% / 24%
Overdue
80
17%
Busy
Published: 2 codes
20
Developer 20
Rating
(6)
Projects
5
0%
Arbitration
3
33% / 33%
Overdue
2
40%
Working
21
Developer 21
Rating
(12)
Projects
13
8%
Arbitration
1
0% / 100%
Overdue
0
Free
22
Developer 22
Rating
(162)
Projects
287
34%
Arbitration
18
22% / 61%
Overdue
42
15%
Working
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
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I am seeking an expert MQL5 developer for a paid architectural consultation. I am currently in the process of building a trading platform and need a deep dive with a specialist who understands the "under the hood" mechanics of high-frequency execution and systematic bot design. Topics for Discussion: Engine Logic: Best practices for building a robust, low-latency execution engine on MT5. Risk Frameworks: Implementing
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
I need a clean, bug-free MT5 Expert Advisor (MQL5) based on this exact mechanical scalping strategy on M5 timeframe for EURUSD. Indicators (built-in): - EMA 9 and EMA 21 on M5 - RSI 14 - ADX 14 (>25 for strong trend) - H1 EMA 21 above/below H1 EMA 9 for trend alignment Entry Rules (ALL must be true): BUY: EMA9 crosses above EMA21 (on closed bar) + RSI > 50 + ADX > 25 + H1 EMA21 > H1 EMA9 SELL: Mirror (cross below
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
I need a visual web page or program to monitor and analyze multiple MT5 or MT4 trading accounts. A real-time dashboard (real-time visual interface) is required, including account ID, affiliated broker, trading account balance, real-time order quantity, opening price, ongoing order position, spread, profit, etc. If you have mature development experience or source code, let's have a chat, bro
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
need a dots marking of a simple rules pullback indicator. in the .tpl file look at 28 Jan 2026, TF M5 basically it is just overlaping lows or highs of the previous candle price. there are 2 scenario to accomodate: 1. simple pullbacks 2. pullbacks with inside bar and outside bar involved
READ BEFORE MESSAGING PLEASE Developer Requirements (Strict): - Expert Level Only: This is a professional-grade, robust trading engine. Please do not apply if you are a beginner or intermediate developer. ​ - Asynchronous Proficiency: You must have deep experience with CTrade and handling asynchronous order execution (Requotes, Busy Servers, and Order Integrity Sync). ​ - Proven Track Record: I require a developer

Project information

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