Trailing stop, trailing step and start EA

MQL5 Experts

Job finished

Execution time 1 hour
Feedback from customer
The developer was fast, efficient, and delivered everything promised. I enjoyed the experience working with this developer. I look forward to working with you again!
Feedback from employee
Thanks a lot

Specification

Hello,


I am looking for a trailing stop that will activate after a custom threshold and then trail by a custom level of pips.

This trailing stop moves the stop loss up or down with the order price after it first reaches profit threshold, thereby “locking in” profit and providing loss protection.

For instance,  if you set the profit threshold to 50 and the trailing stop to 50, the trade will have to move 50 pips in profit before the trailing stop is activated, at which point the stop will be moved to break even. 

If you further indicated that your trailing step is 5, then the market would have to move up 5 pips more in profit before your stop would rise 5 pips above breakeven.  It would then adjust increasingly upwards on that basis, locking in 5 more pips of profit for each additional 5 pip gain.

I envision three external variables for this new trailing stop, one indicating the profit threshold, the other indicating the trailing stop, and the last indicating the stepping distance:
extern double TrailingStart = 50;
extern double TrailingStop = 25;
extern double TrailingStep = 5;

The variables that the user manipulates are thus the TrailingStart, which is the profit threshold that needs to be achieved before the trailing stop can be activated;

the TrailingStop, which is the amount of pips we will trail from new profit highs;

and the TrailingStep, the amount of new pips that need to be gained before the stop can be increased by the amount of the gain.   


Thanks and regards,

Responded

1
Developer 1
Rating
(885)
Projects
1409
67%
Arbitration
121
32% / 40%
Overdue
217
15%
Free
Published: 1 code
2
Developer 2
Rating
(192)
Projects
232
30%
Arbitration
1
100% / 0%
Overdue
9
4%
Free
Published: 2 codes
3
Developer 3
Rating
(618)
Projects
968
46%
Arbitration
32
38% / 34%
Overdue
96
10%
Free
Published: 6 codes
4
Developer 4
Rating
(436)
Projects
560
38%
Arbitration
96
42% / 28%
Overdue
15
3%
Loaded
5
Developer 5
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
6
Developer 6
Rating
(496)
Projects
737
56%
Arbitration
47
32% / 30%
Overdue
116
16%
Working
Published: 1 code
7
Developer 7
Rating
(67)
Projects
79
33%
Arbitration
6
50% / 33%
Overdue
7
9%
Free
8
Developer 8
Rating
(20)
Projects
29
55%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(284)
Projects
459
39%
Arbitration
94
44% / 18%
Overdue
73
16%
Loaded
Published: 2 codes
10
Developer 10
Rating
(208)
Projects
297
54%
Arbitration
0
Overdue
1
0%
Free
Published: 6 codes
11
Developer 11
Rating
(5)
Projects
7
14%
Arbitration
1
0% / 100%
Overdue
0
Free
12
Developer 12
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
13
Developer 13
Rating
(3)
Projects
1
100%
Arbitration
1
0% / 0%
Overdue
0
Free
14
Developer 14
Rating
(22)
Projects
18
6%
Arbitration
31
3% / 65%
Overdue
5
28%
Free
15
Developer 15
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
16
Developer 16
Rating
(14)
Projects
21
24%
Arbitration
9
33% / 44%
Overdue
8
38%
Free
Similar orders
I already have an Expert Advisor coded in MQL4, but it refuses to trade anything other than its hard-coded symbol. I want that filter gone so the same strategy can fire on any instrument—forex, indices, metals such as XAUUSD—across any timeframe. The trading logic, money management and inputs must stay exactly as they are; I simply need universal symbol support. After the MT4 file is fixed and compiles cleanly, I
Description: Gildepak is a purchasing cooperative for packaging materials. We need a program to calculate and fairly distribute the annual bonus (received from preferred suppliers) among our member companies (partners and members). The program should work with a set of predefined tables and data flows, and it must be able to import and export Excel files. Main Tables: Member Companies Company ID Company Name Partner
Hi I am looking for a coder who can write me a code which picks up a pdf from my desktop and has it run through Claude with a pre-defined prompt. After that the result should be posted in a chat. This process needs to happen twice a day with different pdfs each day. In a stage 2 the bot should be fetching that pdf automatically from my inbox and run through the mentioend process. Work output needs to be a script that
Forex Signal Indicator 50 - 100 USD
I’m looking for an experienced Forex signal copier/trader who can copy trades from multiple signal groups into my live account during the London and New York trading sessions. I currently have access to 4 different Forex signal groups. The first step will be to analyze and test which group provides the best results and aligns with our trading goals. Once we identify the most effective group, you will copy the signals
S-ONE ROBOT – MT5 EA Developer Brief 1. Trading Pairs & Timeframes Pair Timeframe Strategy Type Gold (XAU/USD) M15–H1 Scalping + Trend-following + Attacking EUR/USD H1–H4 Swing trading + Attacking Separate configurable parameters per pair (risk %, max trades, SL/TP, indicators). Timeframe Logic: Lower timeframe → precise entries (M15 for Gold, H1 for EUR/USD) Higher timeframe → trend confirmation (M30/H1 for Gold, H4
Fractal Multi-Timeframe Strategy (H4→M15→M2) — Developer Spec Abstract This document specifies a fractal trading workflow leveraging H4 for regime identification, M15 for Area of Value (AoV) location, and M2 for execution using CHoCH-based triggers. The goal is a robust, developer-friendly specification that minimizes ambiguity and matches the operational style already discussed (Liquidity → Order Block →
عنوان المشروع: مطلوب مبرمج MQL4 لإنشاء أداة إدارة لأوامر إيقاف الشراء وأوامر إيقاف البيع وصف المشروع: أبحث عن مبرمج MQL4 خبير لتطوير مستشار خبير (EA) متخصص يدير أوامر إيقاف الشراء وأوامر إيقاف البيع فقط. المواصفات الفنية: 1. الوظائف الأساسية: · يجب على المستشار الخبير مراقبة أوامر إيقاف الشراء وأوامر إيقاف البيع المعلقة الموجودة على الرسم البياني. · بمجرد تشغيل أمر معلق وتحوله إلى أمر سوق مفتوح، يجب على المستشار
Hello, good day, I want to get a MT5 Trade Copier to use on different prop firms. I am not sure of all the settings that would be required for this, I would like someone who knows how this work to help me figure it out. I need for it to have the LOT SIZE where I can multiply, divide, add, subtract and to be the same as the signal account. This is to help with brokers that are using more than 1 digit at the end. I am
Tk capital bot 50+ USD
Trading bot for trading and forex trading and other markets trade with low accounts risk management and accuracy trade in a multiple account and enter a trade when it's necessary
Ethereum EA 30 - 35 USD
I am looking for an Expert Advisor (EA) that performs well on Ethereum. Ideally it should be an HFT-style EA; a swing trading EA is acceptable. I require the full MQL5 source code — the EA must be written entirely in MQL5 (no external languages such as Python). Performance target: minimum 70% win rate with a 1:1 risk:reward. Input variables required: - Stop Levels: Stop Loss (SL) and Take Profit (TP) - Trailing stop

Project information

Budget
30 - 40 USD
For the developer
27 - 36 USD
Deadline
from 1 to 2 day(s)