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
(449)
Projects
476
69%
Arbitration
6
67% / 0%
Overdue
2
0%
Working
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
643
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
(519)
Projects
788
63%
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
(238)
Projects
281
77%
Arbitration
12
75% / 0%
Overdue
4
1%
Free
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
European Central Bank (ECB) Interest Rate Decision The European Central Bank left interest rates unchanged at its first policy meeting of 2026, in line with expectations. source: https://www.mql5.com/en/economic-calendar/european-union/ecb-interest-rate-decision '407332776' : added order #481999464 sell 0.01 BTCUSDm at market
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
Core Requirements: Two selectable timeframes - dropdown inputs to choose from M1, M5, M15, H1, H4, D1, W1, MN1 Timeframe 1 = Chart's own timeframe (if chart is M5, TF1 should be M5) Timeframe 2 = Higher timeframe for confluence All Ichimoku components displayed for both timeframes: Tenkan-sen Kijun-sen Senkou Span A Senkou Span B Chikou Span Cloud (bullish and bearish) Technical Settings: All buffers accessible for
Hello everyone, I am looking for a highly experienced MQL5 developer to build a fully automated Expert Advisor (EA) based strictly on Smart Money Concepts (SMC) 🔍 Core Strategy Requirements (SMC Only) The EA must be based on Advanced Smart Money Concepts , including: ✅ Market Structure (BOS & CHOCH) ✅ Liquidity concepts (equal highs/lows, stop hunts)✅ Trap Blocks / Fake Order Blocks detection ✅ Valid Order
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
Hello I want to convert my tradingview indicators into Ninja trader can anyone help me with it it is urgent and I will like to discuss more about it to you if you can help me Kindly do well to bid on it
📌 JOB DESCRIPTION – FULLY AUTOMATED TRADING SYSTEM I am looking for an experienced developer to build a fully automated end-to-end trading system for MetaTrader 5. This is not an indicator-based bot and not a discretionary or black-box AI system. The system must follow a strict, deterministic rule-based trading framework that is already defined. 🎯 PROJECT GOAL Build a system where: A backend continuously evaluates
EA with Zones 30+ USD
Good day! I have an indicator .mq5 this indicator calculates and draw zones on the chart. My request is to add these specific zones drawn and calculated exactly as the indicator in the EA. A replicate behavior of the zones from the indicator to the EA. Thank you
I need a fully automated end-to-end system where a backend continuously runs my deterministic CORE EDGE validator on live market data, generates numeric JSON trade tickets (GO) or alert levels (NO-GO), and automatically pushes those instructions to the MT5 EA for execution. There are no manual signals. ROLE SPLIT (IMPORTANT) Backend (analysis & decision engine): Continuously evaluates live data using my CORE EDGE
Hi, I have a pinescript for an indicator that I want to translate to .mql5 it is Smart Money Concept by luxalgo. Most important are the zones Premium, equilibrium and discount zones

Project information

Budget
30+ USD
Deadline
to 10 day(s)