Modification of existing code for Virtual Trailing Stop

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Cliente
Excellent work. Completed to specification
Comentario del Ejecutor
Friendly customer.

Tarea técnica


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


Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(450)
Proyectos
477
69%
Arbitraje
6
67% / 0%
Caducado
2
0%
Libre
2
Desarrollador 2
Evaluación
(9)
Proyectos
11
27%
Arbitraje
2
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(51)
Proyectos
66
30%
Arbitraje
2
0% / 0%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
5
Desarrollador 5
Evaluación
(126)
Proyectos
151
48%
Arbitraje
6
83% / 17%
Caducado
2
1%
Libre
6
Desarrollador 6
Evaluación
(361)
Proyectos
644
26%
Arbitraje
92
72% / 14%
Caducado
12
2%
Trabaja
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(70)
Proyectos
91
25%
Arbitraje
26
19% / 54%
Caducado
25
27%
Libre
8
Desarrollador 8
Evaluación
(130)
Proyectos
184
32%
Arbitraje
18
28% / 67%
Caducado
27
15%
Libre
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(538)
Proyectos
814
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
11
Desarrollador 11
Evaluación
(57)
Proyectos
72
22%
Arbitraje
13
46% / 15%
Caducado
5
7%
Libre
12
Desarrollador 12
Evaluación
(7)
Proyectos
15
33%
Arbitraje
4
0% / 25%
Caducado
3
20%
Libre
13
Desarrollador 13
Evaluación
(238)
Proyectos
281
77%
Arbitraje
12
75% / 0%
Caducado
4
1%
Trabaja
14
Desarrollador 14
Evaluación
(24)
Proyectos
29
38%
Arbitraje
2
0% / 0%
Caducado
2
7%
Libre
15
Desarrollador 15
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
16
Desarrollador 16
Evaluación
(574)
Proyectos
945
47%
Arbitraje
309
58% / 27%
Caducado
125
13%
Libre
17
Desarrollador 17
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
​1. Project Overview ​ Asset: XAUUSD (Gold) ​ Timeframe: M1 (1-Minute) for execution; M5/M15 for trend filtering. ​ Objective: Execute high-frequency scalps during peak liquidity (London/NY overlap) to capture 10–30 pip movements with high precision. ​ Core Logic: The "Poverty Bot" strategy relies on Mean Reversion combined with Momentum Burst (Price Action + RSI/EMA filters). ​2. Strategy Logic (The "Poverty"
Simple MA indicator with buy and sell arrow with a push notification. Conditions for buy or sell should be when price breaks above or below the MA and then retraced back to the MA creating a HH/HL or LH/LL then the buy/sell signal arrow should be at the reversal candle that forms the HL/HH. And on indicator window1 RSI cross over MA and the RSI line
I need any highly profitable robot which can trade small account like 50-100USD and any currency pair(s) The robot should avoid trading around news time and have good risk management. It should use any strategy which is profitable and not those unacceptable by brokers. Demo versions will be required before selection
I need a high-speed Expert Advisor (EA) for MT5 designed specifically for XAUUSD (Gold) scalping. The bot should focus on fast entries and quick profits with high efficiency. Main requirements: 1. Symbol: XAUUSD (Gold only). 2. Platform: MetaTrader 5. 3. Strategy type: Scalping (fast trades, quick profit). 4. The bot should open trades frequently based on fast market movements. 5. Small Take Profit (quick profit
Gold_m1_ob_bot. 30+ USD
import MetaTrader5 as mt5 import pandas as pd import time from datetime import datetime # ================== CONFIG ================== SYMBOL = "XAUUSD" TIMEFRAME = mt5.TIMEFRAME_M1 LOT = 0.01 MAX_OBS = 12 # keeps signals frequent ATR_PERIOD = 14 IMPULSE_FACTOR = 1.5 # strong candle = impulse SESSION_START = 8 # GMT (London open) SESSION_END = 20 # GMT (NY close) MAX_SPREAD = 30 #
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
Project Title: Custom XAUUSD Support & Resistance Indicator Platform Required: MT5 preferred. If possible, also provide TradingView Pine Script version later. Main Goal: I want a custom indicator made specifically for XAUUSD (Gold) only. The indicator should automatically detect and draw strong support and resistance zones where price has a high probability of reacting, rejecting, or reversing. It must update
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
a 10 día(s)