Termos de Referência

Subject: Expert Advisor Refactoring & Optimization Request – ZigZagSignalTrader_SmallAcc

Dear Developer,
I am seeking a senior MQL5 developer to refactor and optimize an existing Expert Advisor titled "ZigZagSignalTrader_SmallAcc." The current version is a prototype designed for small accounts (0.01 lot) using a ZigZag and EMA trend-following strategy. While functional, the code requires professional hardening to improve execution reliability and account safety.

Current Logic Overview
Signal: Uses ZigZag peaks and valleys filtered by a 200-period EMA.

 

  1. Risk Management: Employs an ATR-based Stop Loss and a 1:3 Risk/Reward ratio.
  2. Trade Management: Includes a trailing stop mechanism activated after a 300-point profit threshold.

Required Improvements & Fixes
I would like you to address the following technical and strategic issues found in the source code:
1. Resource Management & Data Integrity

  1. Handle Cleanup: Implement proper OnDeinit logic to release indicator handles (ZigZag, EMA, ATR), which are currently unmanaged.
  2. Data Validation: Improve the CopyBuffer logic to ensure the EA does not execute trades on empty or stale indicator data.

2. Execution Efficiency

  1. Position Selection: Replace the current PositionSelectByMagic loop with a more efficient, class-based approach (using CPositionInfo) to reduce overhead during high-volatility price ticks.
  2. Slippage & Error Handling: Integrate robust error handling for trade execution and modification, particularly for "small account" environments where spreads may fluctuate.

3. Strategy Refinement

  1. ZigZag Repainting Fix: The EA currently trades on the current (forming) ZigZag point (zz[0]). I request that the entry logic be shifted to "confirmed" points (index 1 or 2) to prevent entries based on disappearing signals.
  2. Trailing Stop Logic: Standardize point-to-pip conversions to ensure the trailing stop operates correctly across both 4-digit and 5-digit brokers.

Deliverables

  1. A fully refactored .mq5 file that is modular and ready for backtesting.
  2. Clean, commented code following MQL5 best practices.
  3. Confirmation that the EA allows only one open position at a time per symbol.

Please review the attached source code and provide an estimate regarding the timeline and cost for these enhancements. I am looking for a robust, production-ready version that can safely handle live market conditions.
Best regards,


Respondido

1
Desenvolvedor 1
Classificação
(433)
Projetos
634
54%
Arbitragem
32
56% / 22%
Expirado
6
1%
Trabalhando
2
Desenvolvedor 2
Classificação
(570)
Projetos
661
32%
Arbitragem
42
45% / 45%
Expirado
12
2%
Carregado
3
Desenvolvedor 3
Classificação
(631)
Projetos
997
47%
Arbitragem
33
36% / 36%
Expirado
98
10%
Trabalhando
Publicou: 6 códigos
4
Desenvolvedor 4
Classificação
(168)
Projetos
201
48%
Arbitragem
5
20% / 60%
Expirado
2
1%
Livre
5
Desenvolvedor 5
Classificação
(104)
Projetos
125
24%
Arbitragem
23
26% / 52%
Expirado
8
6%
Trabalhando
6
Desenvolvedor 6
Classificação
(382)
Projetos
491
23%
Arbitragem
59
54% / 25%
Expirado
56
11%
Carregado
7
Desenvolvedor 7
Classificação
(7)
Projetos
7
0%
Arbitragem
2
50% / 0%
Expirado
1
14%
Trabalhando
8
Desenvolvedor 8
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(2661)
Projetos
3382
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
10
Desenvolvedor 10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(3)
Projetos
5
20%
Arbitragem
2
50% / 0%
Expirado
0
Trabalhando
Publicou: 1 artigo, 27 códigos
12
Desenvolvedor 12
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(458)
Projetos
796
49%
Arbitragem
73
16% / 52%
Expirado
139
17%
Carregado
14
Desenvolvedor 14
Classificação
(193)
Projetos
249
20%
Arbitragem
22
50% / 18%
Expirado
0
Carregado
15
Desenvolvedor 15
Classificação
(19)
Projetos
24
8%
Arbitragem
9
33% / 33%
Expirado
1
4%
Carregado
16
Desenvolvedor 16
Classificação
(313)
Projetos
559
35%
Arbitragem
80
31% / 44%
Expirado
203
36%
Livre
17
Desenvolvedor 17
Classificação
(162)
Projetos
288
35%
Arbitragem
18
22% / 61%
Expirado
42
15%
Trabalhando
18
Desenvolvedor 18
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
1
100%
Livre
19
Desenvolvedor 19
Classificação
(8)
Projetos
9
11%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(9)
Projetos
10
0%
Arbitragem
2
0% / 50%
Expirado
2
20%
Livre
21
Desenvolvedor 21
Classificação
(4)
Projetos
4
100%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(21)
Projetos
23
30%
Arbitragem
0
Expirado
3
13%
Livre
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
24
Desenvolvedor 24
Classificação
(111)
Projetos
139
43%
Arbitragem
9
33% / 44%
Expirado
6
4%
Livre
25
Desenvolvedor 25
Classificação
(5)
Projetos
9
11%
Arbitragem
2
0% / 50%
Expirado
2
22%
Trabalhando
Pedidos semelhantes
Samuel 100+ USD
//+------------------------------------------------------------------+ //| LEVEL 100 SNIPER BOT (SMC + ATR + RSI + Trend Filter) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //--- Inputs input double RiskPercent = 1.0; input int FastMA = 20; input int SlowMA = 50; input int RSI_Period = 14; input int ATR_Period = 14; input
Panda101 500+ USD
//+------------------------------------------------------------------+ //| Simple Moving Average Crossover EA | //+------------------------------------------------------------------+ #property strict input int ShortMA = 10; input int LongMA = 50; input double LotSize = 0.01; int shortMAHandle; int longMAHandle; //+------------------------------------------------------------------+ int OnInit() { shortMAHandle =
Job Description I'm seeking an expert Python developer to build a fully automated, institution‑grade options trading bot for my Charles Schwab brokerage account. The core strategy is a Monday‑morning 5‑DTE Iron Condor on SPX weekly options with ultra‑narrow 1‑point wings, a fixed 17‑strike OTM entry, and a layered defense system that actively re‑centers the position when the market moves—then escalates to hard stops
Panda402 30 - 100000 USD
The file must be fast to move with the market. It must be transparent it must move accordingly with the market and increase the money and also with less risk
Description: I am looking for an experienced MT4/MT5 (MQL4/MQL5) developer for consultation and possible future development of an advanced Expert Advisor architecture. This is NOT a simple RSI, MACD, martingale, or indicator-only EA project. I already have an existing EA framework using: RSI timing logic EMA direction filters trend and volatility filters DCA / basket management protection and recovery logic Now I
I need an experienced MQL5 developer to build a custom MT5 Expert Advisor for XAUUSD. Strategy Overview: Trend-following using EMA 50/200 on H4 and H1 Pullback entries on M5 using RSI + candle confirmation No martingale, no averaging down Controlled scaling only when trades are already in profit Maximum 2–3 positions per direction Risk Management: Daily loss limit (%) Equity hard stop (%) Consecutive loss pause
I am looking for an experienced MT4 developer or strategy tester to run a comprehensive optimization of my existing Expert Advisor (EA). The EA is already developed and working as intended — your task will be to configure and execute the optimization process using the "Every tick based on real ticks" model. Scope of Work: Run EA optimization in MT4 Strategy Tester. Use "Every tick based on real ticks" as the
Gold Edge Pro 30 - 150 USD
Create a fully working Expert Advisor (EA) for MetaTrader 5, designed exclusively for GOLD (XAUUSD only). This is a high‑probability trend‑following breakout strategy built specifically for passing 2‑step prop firm challenges — it delivers a ~60–65% win rate, uses a strict 1:3 risk/reward ratio, and is optimised to pass both phases in roughly 1–2 weeks total. --- ⚙️ USER INPUTS — FULLY FLEXIBLE RISK --- All main
This EA is for trading XAUUSD. There are 2 trade logics. One based on trend reversal (with 5 trade opening conditions). The second is based on trend continuation (with 1-2 conditions)
Patricia Ukawilu 6:43 PM I need help creating an EA to optimize my trade. I already have a preliminary pine script which I will want optimized and create an EA from it to optimize my trade on MT4. I also subscribed to a signal app. I’m looking to automate the execution of the signal from the app so as not to miss out on good trades

Informações sobre o projeto

Orçamento
30 - 100 USD
IVA (22%): 6.6 - 22 USD
Total: 37 - 122 USD
Desenvolvedor
27 - 90 USD

Cliente

Pedidos postados1
Número de arbitragens0