Spécifications

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,


Répondu

1
Développeur 1
Évaluation
(433)
Projets
634
54%
Arbitrage
32
56% / 22%
En retard
6
1%
Travail
2
Développeur 2
Évaluation
(570)
Projets
661
32%
Arbitrage
42
45% / 45%
En retard
12
2%
Chargé
3
Développeur 3
Évaluation
(631)
Projets
997
47%
Arbitrage
33
36% / 36%
En retard
98
10%
Travail
Publié : 6 codes
4
Développeur 4
Évaluation
(168)
Projets
201
48%
Arbitrage
5
20% / 60%
En retard
2
1%
Gratuit
5
Développeur 5
Évaluation
(104)
Projets
125
24%
Arbitrage
23
26% / 52%
En retard
8
6%
Travail
6
Développeur 6
Évaluation
(382)
Projets
491
23%
Arbitrage
59
54% / 25%
En retard
56
11%
Chargé
7
Développeur 7
Évaluation
(7)
Projets
7
0%
Arbitrage
2
50% / 0%
En retard
1
14%
Travail
8
Développeur 8
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(2661)
Projets
3382
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
(3)
Projets
5
20%
Arbitrage
2
50% / 0%
En retard
0
Travail
Publié : 1 article, 27 codes
12
Développeur 12
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
13
Développeur 13
Évaluation
(458)
Projets
796
49%
Arbitrage
73
16% / 52%
En retard
139
17%
Chargé
14
Développeur 14
Évaluation
(193)
Projets
249
20%
Arbitrage
22
50% / 18%
En retard
0
Chargé
15
Développeur 15
Évaluation
(19)
Projets
24
8%
Arbitrage
9
33% / 33%
En retard
1
4%
Chargé
16
Développeur 16
Évaluation
(313)
Projets
559
35%
Arbitrage
80
31% / 44%
En retard
203
36%
Gratuit
17
Développeur 17
Évaluation
(162)
Projets
288
35%
Arbitrage
18
22% / 61%
En retard
42
15%
Travail
18
Développeur 18
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
1
100%
Gratuit
19
Développeur 19
Évaluation
(8)
Projets
9
11%
Arbitrage
0
En retard
0
Gratuit
20
Développeur 20
Évaluation
(9)
Projets
10
0%
Arbitrage
2
0% / 50%
En retard
2
20%
Gratuit
21
Développeur 21
Évaluation
(4)
Projets
4
100%
Arbitrage
0
En retard
0
Gratuit
22
Développeur 22
Évaluation
(21)
Projets
23
30%
Arbitrage
0
En retard
3
13%
Gratuit
23
Développeur 23
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Travail
24
Développeur 24
Évaluation
(111)
Projets
139
43%
Arbitrage
9
33% / 44%
En retard
6
4%
Gratuit
25
Développeur 25
Évaluation
(5)
Projets
9
11%
Arbitrage
2
0% / 50%
En retard
2
22%
Travail
Commandes similaires
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 =
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)
I want the bot to be fully automated trading key levels of (support and resistance ) from the higher-timeframe with atleast a 70% win rate. Experienced developer with atleast 3-4 years THANK YOU
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

Informations sur le projet

Budget
30 - 100 USD
TVA (22%): 6.6 - 22 USD
Total: 37 - 122 USD
Pour le développeur
27 - 90 USD

Client

Commandes passées1
Nombre d'arbitrages0