Modify Darvas breakout EA

MQL5 Indikatoren Experten

Auftrag beendet

Ausführungszeit 52 Tage
Bewertung des Kunden
It tured out as a bigger project then anticipated so it took more time, but the developer delivered as promised.
Bewertung des Entwicklers
Wonderful customer

Spezifikation

I need help to make my EA work as well live as it does demo.

The EA is synced to 4m charts and that works well. 

Code and setfiles will be supplied.

Thanks. 


This is what Claude AI say is the issue? IDK


Looking at this codebase from a developer perspective, I can see several architectural and implementation issues that would cause demo vs live performance divergence:

Core Architecture Problems

1. Race Condition in State Management The EA maintains multiple global state variables ( consecutiveLosses , breakoutCount , usingAdaptiveSettings ) that are modified across different event handlers ( OnTick , OnTradeTransaction , CheckClosedTradesInHistory ). In live environments with higher tick frequency, these create race conditions where state changes can be lost or duplicated.

2. Inconsistent Event Processing You have duplicate trade monitoring logic in both OnTradeTransaction and CheckClosedTradesInHistory . This creates a scenario where the same trade result might be processed twice, causing incorrect state transitions. Demo environments are more predictable, masking this issue.

3. Handle Management Anti-Pattern The indicator handles are being recreated dynamically in ApplySettings() , but there's no proper synchronization to ensure the new handles have valid data before they're used. The sleep-and-retry pattern is a code smell that suggests timing dependencies.

Data Reliability Issues

4. Unsafe Buffer Operations Your buffer copying operations assume data availability without proper validation:

cpp
        // Pattern seen throughout - assumes success
CopyBuffer(handle, 0, 0, 2, values) == 2

Live feeds have more data gaps and timing inconsistencies than demo feeds.

5. Historical Data Dependencies The core logic relies heavily on historical price lookups ( iHighest , iLowest , iTime ) without checking data completeness. Live brokers often have different historical data depth and quality.

6. Timeframe Synchronization Assumptions The isNewBar() logic assumes consistent bar timing across timeframes, but live servers can have bar boundary variations that don't exist in demo environments.

Execution Model Flaws

7. Synchronous Execution Assumptions The trade execution model assumes immediate order processing and position updates. The retry logic in executeTrade() is primitive and doesn't handle partial fills or order state transitions properly.

8. Event Ordering Dependencies The adaptive switching logic depends on trade events being processed in a specific order. Live environments have more complex event sequences that can break these assumptions.

9. Price Data Staleness Multiple price lookups throughout the execution path ( SymbolInfoDouble calls) can return stale data in fast-moving live markets, leading to inconsistent calculations within the same tick.


Bewerbungen

1
Entwickler 1
Bewertung
(14)
Projekte
14
14%
Schlichtung
8
0% / 88%
Frist nicht eingehalten
2
14%
Beschäftigt
2
Entwickler 2
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(2)
Projekte
2
0%
Schlichtung
3
0% / 100%
Frist nicht eingehalten
1
50%
Frei
4
Entwickler 4
Bewertung
(17)
Projekte
21
14%
Schlichtung
8
38% / 38%
Frist nicht eingehalten
3
14%
Beschäftigt
5
Entwickler 5
Bewertung
(2)
Projekte
3
0%
Schlichtung
8
13% / 88%
Frist nicht eingehalten
1
33%
Frei
6
Entwickler 6
Bewertung
(75)
Projekte
80
6%
Schlichtung
46
11% / 54%
Frist nicht eingehalten
7
9%
Arbeitet
7
Entwickler 7
Bewertung
(29)
Projekte
33
27%
Schlichtung
20
10% / 50%
Frist nicht eingehalten
11
33%
Frei
8
Entwickler 8
Bewertung
(298)
Projekte
478
40%
Schlichtung
105
40% / 24%
Frist nicht eingehalten
82
17%
Beschäftigt
Veröffentlicht: 2 Beispiele
9
Entwickler 9
Bewertung
(44)
Projekte
51
59%
Schlichtung
2
100% / 0%
Frist nicht eingehalten
1
2%
Frei
Veröffentlicht: 5 Beispiele
10
Entwickler 10
Bewertung
(3)
Projekte
2
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously
Custom MT5 EA for buy stop and sell stop breakout strategy.’ ‘Requirements, develop a custom Expert Advisor for MetaTrader 5 that places buy-stop and sell-stop pending orders based on defined breakout rules.’ ‘All important values adjustable via inputs.’ ‘Includes stop loss, take profit, trailing stop, and configurable risk management.’ ‘One trade at a time, works on demo before live.’ Provide source code and
I have an automated trading strategy in NinjaTrader 8 (C# / NinjaScript) that is currently under development. Before diving into technical details, I’d like to ask a quick question from someone who's interested. Do you work on existing / in-progress codebases to debug, refactor, or add new features, or do you strictly build projects from scratch? NOTE : Only professional Developer should apply for this project
السلام عليكم ورحمة الله وبركاته، ​أبحث عن مبرمج MQL5 خبير ومتمكن جداً لتطوير روبوت تداول (Expert Advisor) محترف لمنصة MetaTrader 5 يعمل باستراتيجية هيدج محددة بصفقة واحدة فقط في كل اتجاه (1 Buy & 1 Sell Max) مع إدارة مخاطر صارمة. ​المواصفات والاستراتيجية المطلوبة: ​1. آلية الهيدج المحدود (Single Position Hedging Limit): ​الحد الأقصى للصفقات: يُسمح للروبوت بفتح صفقة شراء واحدة (1 Buy) وصفقة بيع واحدة (1 Sell) فقط كحد
Looking for A verifiable, disciplined XAUUSD analyst with controlled drawdown, consistent stop-loss use, clear communication and the capacity to service a live community. To send daily London and New York signals exclusively in my channel on Telegram
SENIOR MQL5 / QUANTITATIVE DEVELOPER REQUIRED — PROFESSIONAL AI-ASSISTED MT5 TRADING SYSTEM Project Overview I am seeking a highly experienced MQL5 developer, quantitative trading-system engineer or small specialist team to design and build a professional, fully auditable MetaTrader 5 trading system. This is not a request for a basic indicator conversion, copied Expert Advisor, martingale robot, grid-recovery system
Hello, I'm working since few months on a project which is running. But there are entry Chase Problem between Paper and Live order Can you help investigate that. I know that entry execution differences between Paper and Live trading are fairly common and can be caused by factors such as order type, execution timing, slippage, market data differences, or broker/API behavior. I‘m stuggling bc paper made full profit and
Platform MetaTrader 5 (MT5) MQL5 Source Code Required Compatible with Exness MT5 both standard and cent accounts/ICMarket accounts Works on EUR/USD only (initial version) ⸻ Objective Develop a fully automated AI Expert Advisor based on ICT Smart Money Concepts (SMC). The EA must only execute high-probability trades that satisfy all required conditions before opening a position. The EA must avoid overtrading and
السلاموني | ​أبحث عن مبرمج MQL5 قوي تداول تداول (EA) لمنصة MetaTrader 5 يعمل بإستراتيجية Hedging with Trailing Stop. المواصفات المطلوبة: ​العمل: يعمل الروبوت على مدار اليوم ويقوم بتشغيله بشكل مستمر. ​التحويط (التحوط): عند فتح الصفقة، يقوم جهات مختصة بمحور رئيسي مختلف ويبعد النظر عن نطاق محدد. ​ملاحقة التليفون المباشر (Trailing Stop): ترك التداولات الرابحة مع، ولا يتم إغلاقها إلا عند انعكاس السعر المحدد (Trailing
Need to create an Scalping EA for Silver-XAGUSD Generating multiple trades with small profits and with a good result with no grid or martingale. if not multiple trades then limited trades also work but it should be precise

Projektdetails

Budget
40+ USD
Ausführungsfristen
bis 5 Tag(e)