Modification of existing code for Virtual Trailing Stop

Trabalho concluído

Tempo de execução 2 dias
Comentário do cliente
Excellent work. Completed to specification
Comentário do desenvolvedor
Friendly customer.

Termos de Referência


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


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(450)
Projetos
477
69%
Arbitragem
6
67% / 0%
Expirado
2
0%
Livre
2
Desenvolvedor 2
Classificação
(9)
Projetos
11
27%
Arbitragem
2
0% / 100%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(51)
Projetos
66
30%
Arbitragem
2
0% / 0%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 72%
Expirado
52
13%
Trabalhando
5
Desenvolvedor 5
Classificação
(126)
Projetos
151
48%
Arbitragem
6
83% / 17%
Expirado
2
1%
Livre
6
Desenvolvedor 6
Classificação
(361)
Projetos
644
26%
Arbitragem
92
72% / 14%
Expirado
12
2%
Trabalhando
Publicou: 1 código
7
Desenvolvedor 7
Classificação
(70)
Projetos
91
25%
Arbitragem
26
19% / 54%
Expirado
25
27%
Livre
8
Desenvolvedor 8
Classificação
(130)
Projetos
184
32%
Arbitragem
18
28% / 67%
Expirado
27
15%
Livre
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(538)
Projetos
814
62%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
Publicou: 1 código
11
Desenvolvedor 11
Classificação
(57)
Projetos
72
22%
Arbitragem
13
46% / 15%
Expirado
5
7%
Livre
12
Desenvolvedor 12
Classificação
(7)
Projetos
15
33%
Arbitragem
4
0% / 25%
Expirado
3
20%
Livre
13
Desenvolvedor 13
Classificação
(238)
Projetos
281
77%
Arbitragem
12
75% / 0%
Expirado
4
1%
Trabalhando
14
Desenvolvedor 14
Classificação
(24)
Projetos
29
38%
Arbitragem
2
0% / 0%
Expirado
2
7%
Livre
15
Desenvolvedor 15
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
16
Desenvolvedor 16
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
17
Desenvolvedor 17
Classificação
(2)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
​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

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 10 dias