Expert Advisor – Auto-Adjust Lot Size in Trade Panel

Техническое задание

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


Откликнулись

1
Разработчик 1
Оценка
(51)
Проекты
69
35%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(50)
Проекты
64
20%
Арбитраж
11
27% / 55%
Просрочено
5
8%
Свободен
3
Разработчик 3
Оценка
(273)
Проекты
401
27%
Арбитраж
40
40% / 50%
Просрочено
1
0%
Свободен
4
Разработчик 4
Оценка
(216)
Проекты
368
33%
Арбитраж
34
41% / 29%
Просрочено
108
29%
Свободен
Опубликовал: 1 пример
5
Разработчик 5
Оценка
(64)
Проекты
83
28%
Арбитраж
9
33% / 56%
Просрочено
9
11%
Свободен
Опубликовал: 1 пример
6
Разработчик 6
Оценка
(60)
Проекты
87
29%
Арбитраж
24
13% / 58%
Просрочено
7
8%
Работает
7
Разработчик 7
Оценка
(33)
Проекты
35
20%
Арбитраж
5
40% / 40%
Просрочено
0
Свободен
Опубликовал: 1 пример
8
Разработчик 8
Оценка
(253)
Проекты
316
29%
Арбитраж
34
26% / 65%
Просрочено
10
3%
Свободен
9
Разработчик 9
Оценка
(43)
Проекты
49
29%
Арбитраж
4
25% / 25%
Просрочено
0
Свободен
10
Разработчик 10
Оценка
(511)
Проекты
549
53%
Арбитраж
13
69% / 15%
Просрочено
3
1%
Свободен
11
Разработчик 11
Оценка
(18)
Проекты
26
0%
Арбитраж
4
0% / 100%
Просрочено
5
19%
Свободен
12
Разработчик 12
Оценка
(271)
Проекты
553
50%
Арбитраж
57
40% / 37%
Просрочено
227
41%
Работает
13
Разработчик 13
Оценка
(4)
Проекты
6
33%
Арбитраж
7
14% / 57%
Просрочено
1
17%
Свободен
14
Разработчик 14
Оценка
(432)
Проекты
632
53%
Арбитраж
32
53% / 22%
Просрочено
6
1%
Загружен
15
Разработчик 15
Оценка
(8)
Проекты
9
56%
Арбитраж
0
Просрочено
0
Свободен
16
Разработчик 16
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
17
Разработчик 17
Оценка
(4)
Проекты
9
11%
Арбитраж
11
18% / 64%
Просрочено
4
44%
Свободен
18
Разработчик 18
Оценка
(16)
Проекты
18
6%
Арбитраж
5
20% / 80%
Просрочено
1
6%
Свободен
19
Разработчик 19
Оценка
(296)
Проекты
475
40%
Арбитраж
105
40% / 24%
Просрочено
80
17%
Занят
Опубликовал: 2 примера
20
Разработчик 20
Оценка
(6)
Проекты
5
0%
Арбитраж
3
33% / 33%
Просрочено
2
40%
Работает
21
Разработчик 21
Оценка
(12)
Проекты
13
8%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
22
Разработчик 22
Оценка
(162)
Проекты
287
34%
Арбитраж
18
22% / 61%
Просрочено
42
15%
Работает
23
Разработчик 23
Оценка
(45)
Проекты
91
13%
Арбитраж
34
26% / 59%
Просрочено
37
41%
Свободен
24
Разработчик 24
Оценка
(12)
Проекты
12
17%
Арбитраж
2
0% / 50%
Просрочено
1
8%
Свободен
25
Разработчик 25
Оценка
(574)
Проекты
945
47%
Арбитраж
309
58% / 27%
Просрочено
125
13%
Свободен
26
Разработчик 26
Оценка
(1)
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
27
Разработчик 27
Оценка
(4)
Проекты
4
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
Похожие заказы
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
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
MODIFY AN EA TO OPEN MULTIPLE TRADES AT SAME TIME WITH DIFFERENT PRE-SET-TP LEVELS AND DIFFERENT ENTRY TECHNIQUES. (personal job) 30+ USD1 application Hie, either way is ok, i will open job in a moment, with only a few requirements ,which i have observed now 1--To completely remove martingale 2-its confusing how SL FROM and SL TYPE differ, also the fact 2 types of SL s can be selected at the same time , so its
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles
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
Im after a person to copy, exactly MACD in TRADINGVIEW to use on MT5. Ive tryed alot of the apps available...Tradingview works for me. Im also after a person to make a real time chart, overlayed on the delayed chart Thanks
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

Информация о проекте

Бюджет
30 - 150 USD
Сроки выполнения
до 30 дн.