Modification of existing code for Virtual Trailing Stop

Job finished

Execution time 2 days
Feedback from customer
Excellent work. Completed to specification
Feedback from employee
Friendly customer.

Specification


Hi,


Looking for a experienced friendly coder who can fix the attached virtual trailing stop.


The requirements are as follows:


1. Require minimal  modification of the existing code (trailing stop.mq4 attached)

2. Should be able to trail multiple orders of opposite directions at the same time

3. Must be able to filter based on Order ID

4. Ideally the whole code should sit inside void VirtualTrailingStop() in the attached without needing to declare a global variable on init (if possible)

5. The code needs to retain the functionality of the TrailingStartGap parameter

6. The code needs to retain the functionlity of the TrailingStop parameter


Also will require someone willing to annotate what they have done and help me understand the code. I have some understanding of code, but do not want to incorporate anything I do not fully understand, so please only apply if you are willing to answer questions on the output. But will keep questions as minimal as possible.


Thanks


Files:

Responded

1
Developer 1
Rating
(452)
Projects
478
69%
Arbitration
6
67% / 0%
Overdue
2
0%
Free
2
Developer 2
Rating
(9)
Projects
11
27%
Arbitration
2
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(51)
Projects
66
30%
Arbitration
2
0% / 0%
Overdue
0
Free
4
Developer 4
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
5
Developer 5
Rating
(126)
Projects
151
48%
Arbitration
6
83% / 17%
Overdue
2
1%
Free
6
Developer 6
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
7
Developer 7
Rating
(70)
Projects
91
25%
Arbitration
26
19% / 54%
Overdue
25
27%
Free
8
Developer 8
Rating
(130)
Projects
184
32%
Arbitration
18
28% / 67%
Overdue
27
15%
Free
Published: 1 code
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(543)
Projects
824
62%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
11
Developer 11
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
12
Developer 12
Rating
(7)
Projects
15
33%
Arbitration
4
0% / 25%
Overdue
3
20%
Free
13
Developer 13
Rating
(242)
Projects
285
77%
Arbitration
12
75% / 0%
Overdue
4
1%
Working
14
Developer 14
Rating
(24)
Projects
29
38%
Arbitration
2
0% / 0%
Overdue
2
7%
Free
15
Developer 15
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
16
Developer 16
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
17
Developer 17
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
1. Simple & Clear (for MQL5 profile bio) I build custom MT4 and MT5 trading robots exactly according to your idea. You tell me your strategy — entry rules, exit rules, indicators, risk management — and I will code it into a fully automated EA. No templates, no copied code. Your idea, turned into a working robot with backtest and set files. 2. Professional (for Fiverr / Upwork / Jobs section) I am a professional MQL5
I want a martingale + moving average cross ea. The second trade must be taken when the step is met and the moving averages are crossing The ea must have a manual step input. A manual multiply input and manual moving average input
Project Overview We have a highly optimized, production-ready custom cTrader cBot built for a fast-paced Renko breakout strategy (specifically trading XAUUSD/Gold). The core system architecture, structural mapping, and breakout logic are flawless. We are seeking an expert C# algorithmic developer for a targeted engagement to refine the execution mechanics and add an advanced trade management module. This is not a
I am looking for an experienced MQL4 developer to recreate an Expert Advisor from an existing .EX4 file and provide a fully editable .MQ4 source code version. Requirements: Strong knowledge of MQL4 and Expert Advisor development Ability to analyze and reproduce EA functionality accurately Deliver clean, organized, and well-documented source code Please apply with your relevant experience, pricing, and estimated
SNIPER X AI 30 - 200 USD
I really need a developer Who can help me to create my SNIPER X AI - Elite AI Trading System Overview SNIPER X AI BOT is an AI-assisted trading system for Forex, Crypto, Stocks, Indices, and Gold. Currency: USD,RAND,KWD, POUND,EURO Core Features AI Scalping, Sniper Entries, Auto Buy/Sell, Smart Risk Management, Telegram Alerts, Mobile Monitoring, VPS Deployment. Supported Platforms MetaTrader 4, MetaTrader 5, Exness
Emmanuel bot 30 USD
No thank you just choose for me I need to be automatically buy and sell and take a profit only that is enough for me thank you so much my name is Emmanuel kabale
Limzy 30+ USD
//+------------------------------------------------------------------+ //| HighPerformanceEA.mq5 | //| Copyright 2026, AI Developer | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict //
I need an experienced MQL5 developer to build a professional XAUUSD scalping Expert Advisor. The trading logic is already fully defined and will be shared privately with selected developers. Requirements Fast execution suitable for scalping Dynamic lot sizing Strict risk management Clean and optimized MQL5 code Compatible with MetaTrader 5 Additional Rules No repainting logic No delayed execution Avoid duplicate
Prepare expert for xauusd live chart [ expert is not executing xauusd trades , just printing the logic on the chart ] . Deletion and cleaning code ( subject to if required ) . Integration of candles with present logic, Since expert is coming out from an arbitration subject : Before project start , review the code if it is clean and ready for the developer to continue with previous developer's technical debt -thereby
Hello, I am looking for an experienced developer who can build a professional EA suitable for long-term prop firm account passing and account management. I am NOT interested in risky strategies such as martingale, grid, or aggressive recovery systems. My main priorities are: very low and stable drawdown, strong and consistent risk management, strict news filter, long-term sustainability, realistic and stable monthly

Project information

Budget
30+ USD
Deadline
to 10 day(s)