MT5 EA compiles but does not open trades – SMC logic debug required

MQL5 Experts

Spécifications

Hello,


I have an MT5 Expert Advisor that compiles successfully with no errors, but it does not open any trades in live market or Strategy Tester.


The EA logic is already implemented and quite detailed. I need an experienced MQL5 developer to debug, validate conditions, and fix execution issues, not to redesign the strategy.



🔹 Strategy Summary



  • Timeframe: M30
  • Instruments: NAS100 / XAUUSD
  • Core Logic:
    • Market structure using Swing High / Swing Low
    • BOS / CHOCH detection
    • Displacement leg
    • 30–50% retracement entry
    • Fair Value Gap (2 & 3 candle)
    • Liquidity logic (equal highs/lows, buy-side & sell-side liquidity taken)
    • Untested BOS/CHOCH retest zones
  • Risk management:
    • 4% risk per trade
    • SL beyond BOS candle
    • TP at nearest swing high/low
    • Spread filter & max trades per direction




🔹 Current Problem



  • EA loads successfully
  • No trades are triggered
  • Very likely causes:
    • Filters too strict (liquidity + untested zones + FVG overlap)
    • Logic order / state issues (g_CurrentLeg.active, trend reset)
    • Conditions not aligning on the same candle
    • Execution / symbol / tick value handling on indices




🔹 What I Need From You

  1. Add debug Print() logs for each major condition:
    • BOS / CHOCH detection
    • Liquidity taken
    • Untested structure zone found
    • FVG overlap
    • Entry blocked reason
  2. Identify which condition prevents entries
  3. Fix logic so the EA:
    • Takes valid trades
    • Does not overtrade
    • Respects the existing SMC rules
  4. (Optional but preferred)
    • Add a debug mode ON/OFF input
    • Mark BOS, FVG, Liquidity, and entry on chart

🔹 Deliverables

  • Working .mq5 source code
  • Explanation of what was blocking trades
  • Clean, commented fixes (no over-engineering)

I will provide the full .mq5 file and can run Strategy Tester screenshots if needed.

Please let me know:

  • Your experience with SMC / market structure EAs
  • Estimated time to debug
  • Fixed price for this task

Kind regards,

Clearance Nkosana Mabaso


Répondu

1
Développeur 1
Évaluation
(490)
Projets
952
74%
Arbitrage
26
19% / 65%
En retard
100
11%
Chargé
Publié : 1 article, 6 codes
2
Développeur 2
Évaluation
(8)
Projets
11
0%
Arbitrage
6
33% / 67%
En retard
2
18%
Gratuit
3
Développeur 3
Évaluation
(74)
Projets
79
6%
Arbitrage
46
11% / 54%
En retard
7
9%
Travail
4
Développeur 4
Évaluation
(48)
Projets
61
21%
Arbitrage
11
27% / 55%
En retard
5
8%
Gratuit
5
Développeur 5
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(361)
Projets
643
26%
Arbitrage
92
72% / 14%
En retard
12
2%
Travail
Publié : 1 code
7
Développeur 7
Évaluation
(14)
Projets
17
6%
Arbitrage
8
38% / 38%
En retard
2
12%
Chargé
8
Développeur 8
Évaluation
(15)
Projets
34
24%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
9
Développeur 9
Évaluation
(3)
Projets
3
0%
Arbitrage
0
En retard
0
Travail
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Développeur 13
Évaluation
(2)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Hi, I’m searching for a developer who already has a high‑performance Gold EA that can beat the results shown in my screenshot. If you have such an EA, please reply with: - A brief description of how it works (grid, scalping, SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next
Requirements Specification for the development of the Expert Advisor, in the latest version of MetaTrader 5 including the source code. 1. The idea of the trading system is as follows: market entries are performed when a new renko box is created in the current trend direction using an indicator from Trading view. Indicator Name: Renko Candles Overlay Published By: LonesomeTheBlue Code Available In: Pine Script which
Hello I would like to modify the exit method of the trade for current expert advisor which include martingale trading. basically adjusting the position size and closing the trade. additional details will be provided in the next step
I have 3 pine script of trading view and want to convert it into mql5 code. basically it has 2 script and in that one script I use 2 different ways. so here is 3 stratagy that can work in one code mql5 and I can use in mt5
I need a MetaTrader 5 Expert Advisor with full MQ5 source code. Platform: - MT5 only - Full MQ5 source code mandatory - Must work with Exness broker (symbol suffix like XAUUSDm) Strategy: - Trend-based trading only - NO grid - NO martingale - NO averaging - Fixed Stop Loss & Take Profit - Max 1–2 trades at a time Risk Management: - Daily profit target (stop trading after hit) - Daily loss limit - Maximum drawdown
Multi-Asset AI Trading Bot Details Proposals I want a single, cohesive AI bot that can log in to MetaTrader, Coinbase, Robinhood, and TradingView, scan live market data, and execute trades automatically in stocks, forex, and crypto. The core logic must support day-trading, swing-trading, and scalping modes that I can toggle on a schedule or by simple configuration. The workflow I picture is: • Real-time data
I need someone that is able to develop for me a MT5 EA that perform VERY WELL on XAUUSD. Every strategy is accepted. By applying, please send me screenshot of results since 2018
Hello developers, I'm looking for existing, proven EAs (MQL5) that work flawlessly on MT5. Requirements: Demo version available for testing Backtest results + screenshots Verified trade history from 2018-2025 Budget is negotiable If you've got an EA that fits, hit me up
cần người tạo EA y thay đổi hình ảnh gửi đầy đủ tính năng như hình giá cả có thể tăng thêm khối lượng mong muốn viết giống hình không khác ROBOT HƠI NHIỀU TÍNH NĂNG MỌI NGƯỜI CÓ THỂ ĐƯA GIÁ THAM KHẢO
I need an experienced MQL4 developer to build a robust, conservative MT4 EA designed to trade Forex major pairs on IG . This is for long-term use with controlled drawdown — no martingale/grid/hedging . Platform / Broker Platform: MT4 Broker: IG Must work with: 5-digit pricing, variable spreads, slippage, and IG’s execution constraints Symbols (Majors only) EURUSD, GBPUSD, USDJPY, AUDUSD, USDCHF, USDCAD (configurable

Informations sur le projet

Budget
35+ USD
Délais
à 3 jour(s)

Client

Commandes passées2
Nombre d'arbitrages0