Adding trailing stop loss to four expert advisors MetaTrader 5

MQL5 Эксперты

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

Hello, My budget is $30, for all job

I have four expert advisors on MetaTrader 5. I want to add a trailing stop loss to all four experts in the same way, based on the stop loss percentage.

For example,

If I set the trailing stop loss percentage in the input menuto 100%, and the stop loss to 500 points, this means that if the price moves 10 points in profit, then the stop loss will also move 10 points, and so on.

If I set the trailing stop loss percentage in the input menuto 200%, and the stop loss to 500 points, this means that if the price moves 10 points in profit, then the stop loss will also move 5 points, and so on.

If I set the trailing stop loss percentage in the input menuto 50%, and the stop loss to 500 points, this means that if the price moves 10 points in profit, then the stop loss will also move 20 points, and so on.

I want the trailing stop loss to move with every price tick.

I want to be able to enable or disable trailing stop loss.

=================================================

Add to input menu:

TSL = True/False

TSL percentage = 100% (Or any percentage I want)


I want the code to be free of errors and warnings.



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

1
Разработчик 1
Оценка
(7)
Проекты
9
0%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(240)
Проекты
301
28%
Арбитраж
32
25% / 63%
Просрочено
9
3%
Загружен
3
Разработчик 3
Оценка
(15)
Проекты
34
24%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
4
Разработчик 4
Оценка
(321)
Проекты
499
19%
Арбитраж
33
42% / 30%
Просрочено
32
6%
Загружен
5
Разработчик 5
Оценка
(1269)
Проекты
1689
49%
Арбитраж
52
71% / 12%
Просрочено
37
2%
Свободен
6
Разработчик 6
Оценка
(623)
Проекты
977
46%
Арбитраж
32
38% / 34%
Просрочено
96
10%
Работает
Опубликовал: 6 примеров
7
Разработчик 7
Оценка
(32)
Проекты
49
73%
Арбитраж
4
50% / 0%
Просрочено
0
Свободен
8
Разработчик 8
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
9
Разработчик 9
Оценка
(269)
Проекты
397
27%
Арбитраж
38
39% / 50%
Просрочено
1
0%
Работает
10
Разработчик 10
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
11
Разработчик 11
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
13
Разработчик 13
Оценка
Проекты
1
0%
Арбитраж
0
Просрочено
1
100%
Свободен
14
Разработчик 14
Оценка
(23)
Проекты
24
67%
Арбитраж
0
Просрочено
1
4%
Работает
Опубликовал: 2 примера
15
Разработчик 15
Оценка
(3)
Проекты
1
100%
Арбитраж
3
0% / 100%
Просрочено
0
Свободен
16
Разработчик 16
Оценка
(499)
Проекты
743
56%
Арбитраж
47
32% / 30%
Просрочено
119
16%
Работает
Опубликовал: 1 пример
17
Разработчик 17
Оценка
(265)
Проекты
595
35%
Арбитраж
64
20% / 58%
Просрочено
147
25%
Свободен
Опубликовал: 1 статью, 22 примера
18
Разработчик 18
Оценка
(1)
Проекты
2
0%
Арбитраж
2
0% / 100%
Просрочено
0
Работает
19
Разработчик 19
Оценка
(51)
Проекты
69
35%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
20
Разработчик 20
Оценка
(329)
Проекты
394
53%
Арбитраж
20
55% / 15%
Просрочено
28
7%
Загружен
21
Разработчик 21
Оценка
(151)
Проекты
189
57%
Арбитраж
10
80% / 0%
Просрочено
0
Свободен
Опубликовал: 1 пример
22
Разработчик 22
Оценка
(516)
Проекты
784
63%
Арбитраж
33
27% / 45%
Просрочено
23
3%
Свободен
Опубликовал: 1 пример
23
Разработчик 23
Оценка
(1)
Проекты
1
100%
Арбитраж
0
Просрочено
0
Свободен
24
Разработчик 24
Оценка
(1)
Проекты
1
0%
Арбитраж
0
Просрочено
0
Работает
25
Разработчик 25
Оценка
(59)
Проекты
81
43%
Арбитраж
27
11% / 70%
Просрочено
8
10%
Свободен
26
Разработчик 26
Оценка
(1)
Проекты
1
0%
Арбитраж
0
Просрочено
0
Свободен
Опубликовал: 2 статьи
27
Разработчик 27
Оценка
(4)
Проекты
3
33%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
28
Разработчик 28
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
29
Разработчик 29
Оценка
(2)
Проекты
2
0%
Арбитраж
2
0% / 50%
Просрочено
1
50%
Загружен
30
Разработчик 30
Оценка
(18)
Проекты
22
18%
Арбитраж
0
Просрочено
1
5%
Свободен
31
Разработчик 31
Оценка
(5)
Проекты
4
0%
Арбитраж
2
50% / 50%
Просрочено
2
50%
Свободен
32
Разработчик 32
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Работает
33
Разработчик 33
Оценка
(52)
Проекты
57
60%
Арбитраж
4
0% / 25%
Просрочено
1
2%
Свободен
34
Разработчик 34
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Похожие заказы
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
Ai 1. Trend identify up or down through lMA 50 at daily time frame ( if market stay above LMA 50 is called up trend & stay down lMA is called Down trend. 2. Entry :for uptrend buy & down trend sell though cross over lMA 50by21 & 21 by 14or7 ( customisable )1m or 5m flexible time 3. Daily target Floating loss (DD) if over no entry as % - close all 4. TP, break even after 2 pips (customisable)& SL option
Scalper in life 100+ USD
//+------------------------------------------------------------------+ //| XAUUSD FULL AUTO SAFE BOT MT5 | //| Converted from Pine Script v5 | //+------------------------------------------------------------------+ #property copyright "Converted by ChatGPT" #property version "1.00" #property strict #include <Trade/Trade.mqh> CTrade trade; // === INPUT === input double LotPercent =
Zoroe 30+ USD
//+------------------------------------------------------------------+ //| XAUUSD H1 Auto Trading Bot | //| Works on MT5 Desktop / VPS | //+------------------------------------------------------------------+ #property strict input double LotSize = 0.1; input int StopLossPoints = 200; input int TakeProfitPoints = 400; input int MagicNumber = 777; int emaHandle;
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
I need a prop firm ready EA that can make around 3% monthly. I am not expecting miracles, If you want to apply please send me backtesting stats from at least few years. 1 year is not enough, I am ready to sign in an agreement today
Develop a Gold scalper based on the arrow indicator in MT5. Buy at up arrow and close with the profit / Trailing Stop profit. If not profit, then close at the opposite sell arrow with profit/loss. Sell at down arrow and close with the TP / Trailing Stop profit. If not profit, then close at the opposite buy arrow with profit/loss. EA Properties: Lot Size: 0.1 Stop Loss: 0 / 50 Take Profit: 100 Trailing Start: Trailing
Hi, looking for an EA for passing prop accounts, profit target is 2,5% weekly with low drawdown, strict risk management, session filters, spread control, automatic stop, daily loss limits, VPS compatibility, reporting, and consistent performance across EURUSD in market conditions
We already have the strategy. Need an MT4 Expert Advisor to set up on MT4 platform from MQL5. Tasks 1.Check why AutoTrading/EA is not executing trades 2. Verify MT4 settings 3. Install/compile an EA file if needed and confirm it runs

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

Бюджет
30+ USD

Заказчик

(14)
Размещено заказов15
Количество арбитражей0