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 codes
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 codes
15
開発者 15
評価
(3)
プロジェクト
1
100%
仲裁
3
0% / 100%
期限切れ
0
16
開発者 16
評価
(499)
プロジェクト
743
56%
仲裁
47
32% / 30%
期限切れ
119
16%
仕事中
パブリッシュした人: 1 code
17
開発者 17
評価
(265)
プロジェクト
595
35%
仲裁
64
20% / 58%
期限切れ
147
25%
パブリッシュした人: 1 article, 22 codes
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 code
22
開発者 22
評価
(516)
プロジェクト
784
63%
仲裁
33
27% / 45%
期限切れ
23
3%
パブリッシュした人: 1 code
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 articles
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