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%
무료
비슷한 주문
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
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
I’m looking for a profitable MT5 grid EA with strict risk controls and a clear focus on preventing account wipeouts. It can operate on any symbol, as long as capital preservation is the main priority. I’m interested in buying both the EA and its full source code if it meets my criteria. Let me know if you offer something like this

프로젝트 정보

예산
30+ USD

고객

(14)
넣은 주문15
중재 수0