Senior MQL5 Developer: Multi-Strategy EA with Asynchronous Execution & Advanced Recovery Logic - Trading bot build

İş tamamlandı

Tamamlanma süresi: 2 dakika
Müşteri tarafından geri bildirim
First time ever using the freelancer on the mql5 and I'm very happy with my outcome and have fast and detailed it came. Were already planning our next jobs.. top man
Geliştirici tarafından geri bildirim
Really fast test and payment. Thank you!

Şartname

READ BEFORE MESSAGING PLEASE

Developer Requirements (Strict):

 
- Expert Level Only: This is a professional-grade, robust trading engine. Please do not apply if you are a beginner or intermediate developer.
​
- Asynchronous Proficiency: You must have deep experience with  CTrade  and handling asynchronous order execution (Requotes, Busy Servers, and Order Integrity Sync).
​
- Proven Track Record: I require a developer who can deliver a "clean" build the first time. Experience with complex recovery algorithms (like the "Guardian" logic described below) is mandatory.
​
- Code Quality: The final EA must be highly optimized, modular, and include the "Heartbeat" and "Global Variable Persistency" features to survive terminal crashes.


- The EA must be built using the MQL5 'Trade Class' (CTrade) and must handle asynchronous order execution with full error handling for Requotes and Busy Servers.


- broker - vantage.com

- will be using a raw account

- the starting balance i will be starting with is £1000

- it needs testing as well to make sure it runs correctly before hand over. also i want the correct setting hard coded into the trader for starting with the £1000 balance so its plug and play ready for a VPS.

- MT5

- must be in English and ( £ pound  GBP)

FINAL TECHNICAL SPECIFICATIONS FOR DEVELOPER (MUST READ):
 
To ensure this build is professional-grade and "Plug and Play" ready for my Vantage Raw (£1,000 GBP) account, the following logic must be strictly implemented:
 
1. Multi-Currency Profit Calculation: The EA must automatically detect the account base currency (GBP). All risk calculations (Max Loss per Trade, Daily Profit/Loss, Stealth Stops) must use the current  TICK_VALUE  and exchange rates to ensure monetary targets are accurate to the penny, regardless of the pair being traded (e.g., EURUSD, Gold, or JPY pairs).

2. Suffix & Symbol Compatibility: The EA must be "Suffix Aware." It should automatically handle symbol names that include a dot or a plus (e.g.,  EURUSD.  or  GBPUSD+ ) as commonly found on Vantage Raw accounts, without requiring manual symbol input.

3. Guardian Recovery Execution (Hedged Basket): When the Guardian Engine triggers, it must NOT immediately close the losing trade. Instead, it must manage the original loser and the new recovery trade as a "Hedged Basket." The EA will track the net profit of these two specific tickets. Once the combined profit reaches the  Guard_Profit_Target , both trades must be closed simultaneously via a high-speed  CloseBy  or bulk-close command.

4. Input Parameter Validation: Upon initialization, the EA must run a "Sanity Check." If any user inputs are mathematically impossible (e.g., a  Max Loss  greater than the  Daily Loss Limit , or a  Lot Size  that exceeds available margin), the EA must print a clear Alert to the screen and refuse to trade until the settings are corrected.

5. Execution & Filling: Since I am using a Raw account, the code must default to  ORDER_FILLING_IOC  or automatically detect the filling mode via  SYMBOL_FILLING_MODE . All trade sends must include a 3-attempt retry logic with a randomized delay (500ms–1500ms) to handle "Busy Server" errors without hanging the terminal.

- XAUUSD+ ,  m15 chart

- I WANT EVERY SETTING AVAILBLE TO ME TO EDIT MYSELF IN THE INPUTS TAB, I WANT FULL CONTROLE 

- everything needs to be in pounds (£) and in english


 *100% TRADING BOT REQUIREMENTS*

- everything on inputs i can change myself

- Manage Manual Trades — Allows the EA to manage trades opened by hand (Magic 0).

- Max Loss per Trade (£) — Hard monetary cap on how much a single trade can lose.

- Daily Profit Target — Automatically closes all trades and locks the system once hit.

- Daily Loss Limit — Safety cut-off to prevent further trading if a daily loss is reached.

- Trailing Drawdown — Moves the "floor" up as equity grows to protect daily profits.

- Max Total Trades — Hard limit on the number of simultaneous open positions.

- Spread Limit (Pips) — Prevents the bot from entering trades during high volatility or low liquidity.

- Start Hour and End Hour — Defines the specific daily window when the bot is allowed to trade.

- Friday Protection — Automatically closes all positions and stops trading at 8 PM on Fridays.

- Dynamic Lot Sizing — Automatically calculates position sizes based on account balance and risk %.

- Risk % per Trade — The percentage of the account used to calculate the dynamic lot.

- Safety Cap (Max Lot) — A hard ceiling to ensure dynamic lots never exceed a certain size.

- Sniper Engine (Trend) — Uses Momentum indicator for trend-following entries.

- Reaper Engine (Volatility) — Uses Bollinger Bands to trade mean reversion/volatility.

- Lion Engine (The Assassin) — Uses Stochastic oscillator to find overbought/oversold turns.

- Ghost Engine (Price Action) — Uses previous candle High/Low breaks for entries.

- Guardian Engine (Recovery) — A specialized logic that calculates exact recovery lots to trade out of losing positions.

- Stealth Stops — Closes trades based on a monetary target (£) hidden from the broker.

- Hard SL Fallback — Physical Stop Loss sent to the broker as a backup safety net.


- Max Trade Duration — Automatically closes any trade that has been open longer than the set minutes.

- Profit Addict Mode — High-efficiency logic that manages the "basket" of trades for maximum recovery.

- Engine Sensitivity — Individual adjustment settings for how aggressive each of the 5 engines triggers.

- Max Equity Risk Pct — Limits the total account equity that can be put at risk for a specific symbol.

- Magic Numbers (Snip_Magic, Reap_Magic, etc.) — Unique identifiers for each of the 5 trading engines so they don't interfere with each other.

- Snip_Max_Trades / Reap_Max_Trades (etc.) — Individual trade caps for each specific engine to prevent over-leveraging a single strategy.

- Snip_Lot / Reap_Lot (etc.) — Manual lot size overrides for each engine if Dynamic Lot Sizing is turned off.

- Guard_ATR_Mult — Multiplier used by the Guardian engine to set a recovery target based on market volatility (Average True Range).

- Guard_Profit_Target — The specific monetary amount (£) the Guardian engine aims to gain to clear a losing position.

- Guard_Sensitivity — The threshold (as a decimal of Max Loss) that triggers the Guardian recovery mode.

- BE_Trigger_Pips — The specific number of pips in profit required before the trade is moved to a Break-Even (risk-free) state.

- Trail_Dist_Pips — The exact distance in pips the stop loss maintains behind the current price once trailing begins.

- Slippage (30 points) — Internal hardcoded limit to prevent orders from filling at bad prices during high volatility.

- Filling Mode (IOC/FOK) — Automatically detects your broker's execution type (Instant vs Market) to ensure orders aren't rejected.

- Pip Adjust / Point Normalization — Internal logic that automatically scales pips for 4-digit vs 5-digit brokers and JPY pairs.

- Daily Reset Logic — Internal clock that resets the "Daily Profit/Loss" counters at midnight to start a fresh trading day.

- Guardian "Loser Pinning" — Safety logic that forces a Stop Loss onto a manual or engine trade if the Guardian is currently trying to recover it.

- Trade Comment Tagging — Automatically labels every trade in your terminal with the specific engine name (e.g., "SNIPER" or "GR_") for easy tracking.

- Broker Stop Level Check — Validates that the Stop Loss is not placed too close to the current price, preventing broker "invalid stops" errors.

- 100% Efficiency Profit Chase (ProfitAddictMode) — A specific toggle that, when enabled, allows the bot to actively manage and swap "losing" trades for "winning" recovery trades to clear the basket faster.

- Guardian Unique ID (GR_TicketID) — An internal tagging system that creates a unique link between a losing trade and its specific recovery trade so the bot never loses track of which trade it is "guarding."

- Stealth Target (£) (StealthTargetGBP) — The specific monetary value used by the Stealth Stop logic to close a trade once a set amount of cash profit is reached, without the broker seeing a TP on the charts.

- ATR Period (14) & Timeframe (M15) — The bot is hardcoded to use a 14-period Average True Range on the 15-minute chart to calculate volatility for the Guardian engine.

- Momentum Period (10) — The Sniper engine specifically uses a 10-period Momentum calculation on the M15 timeframe to determine trend strength.

- Stochastic Settings (5, 3, 3) — The Lion engine is hardcoded with these specific K, D, and Slowing periods for its overbought/oversold logic.

- Emergency SL Buffer (2 Pips) — When the Break-Even logic triggers, the bot doesn't just move to the entry price; it adds a hardcoded 2-point buffer to cover minor costs and ensure a "risk-free plus a tiny bit" exit.

- Bollinger Band Period (20) — The Reaper engine is hardcoded to use a 20-period Bollinger Band on the M15 timeframe to identify price extremes.

- Guardian Shield (2x ATR) — An internal safety feature where the Guardian engine automatically places a "Hard Stop Loss" at twice the current ATR distance to protect the recovery trade from spikes.

- Target Reached Lock — A "System Safe" logic that completely stops all trading activity once the Daily Profit or Daily Loss limit is hit, requiring a new day to start before it  unlock.

- Trade Execution Delay

- News Filter: A hardcoded or URL-fed news filter to prevent the Sniper or Reaper engines from opening trades 30 minutes before/after High Impact (Red Folder) news.

- Max Open Lots (Global): A safety limit on the total volume across all engines (e.g., "Never exceed 2.0 total lots open at once") to prevent margin calls if multiple engines trigger simultaneously.

- Virtual/Hidden Take Profit: Similar to your Stealth Stops, having a hidden pip-based TP that isn't sent to the broker protects against "stop hunting."

- Max Open Lots (Global): A safety limit on the total volume across all engines (e.g., "Never exceed 2.0 total lots open at once") to prevent margin calls if multiple engines trigger simultaneously.

- Virtual/Hidden Take Profit: Similar to your Stealth Stops, having a hidden pip-based TP that isn't sent to the broker protects against "stop hunting."

- Retry Logic on Close

- Trade Frequency Limiter (Cool-down): A setting to prevent an engine from opening a new trade immediately after one closes (e.g., "Wait 5 minutes before the next Sniper entry").

- The "Guardian" Recovery Cap: A limit on how many recovery trades the Guardian can attempt. If it fails 3 times, it should accept the loss and stop to prevent blowing the account.

- Sunday Opening Protection: Prevents the bot from trading in the first 2–3 hours of the market opening on Sunday when spreads are massive and gaps occur.

- Global Equity Kill-Switch (%) — A "Nuclear Option" that closes every single trade on the account and disables the EA if the total account equity drops by a specific percentage (e.g., 20%), acting as a final shield against a black swan event.

- On-Chart Status Dashboard — Real-time visual feedback on the chart showing current Daily Profit/Loss, which Engines are currently "Searching," and the status of the Guardian (e.g., "GUARDIAN: ACTIVE - RECOVERING TICKET #12345").

- Magic Number Conflict Check — Internal logic on startup that scans the account for any other running EAs to ensure your 5 Engine Magic Numbers aren't being used by another bot, preventing "cross-talk" or accidental trade closures.

- Margin Level Safety Buffer — Prevents any new trades from opening if the "Margin Level %" falls below a certain threshold (e.g., 300%), ensuring the Guardian always has enough "buying power" to fire a recovery trade without getting a "Margin Call" error.

- Trade Retry Delay (ms) — If an order is rejected due to "Busy Server," the bot waits a randomized 500ms–1500ms before retrying, which helps bypass broker anti-spam filters that can get a bot banned for hammering the server too fast.

- Heartbeat Logging — A small internal file or log entry every 60 minutes that confirms the EA is still "alive" and connected to the server, so you can verify it didn't crash silently while you were away.

- Global Variable Persistency (Crash Recovery) 

- Order Integrity Sync (Async Check) — A high-speed internal check that verifies if an order sent to the broker was actually filled before the bot tries to send another. This prevents "Double-Firing" (opening two trades instead of one) during periods of high network latency or when the broker's server is slow to respond.


I WANT EVERYTHING ABOVE ADDED TO THIS TRADING BOT PLEASE AND SO IT ALL RUNS CORRECTLY - 


FINAL TECHNICAL SPECIFICATIONS FOR DEVELOPER (MUST READ):
 
To ensure this build is professional-grade and "Plug and Play" ready for my Vantage Raw (£1,000 GBP) account, the following logic must be strictly implemented:
 
1. Multi-Currency Profit Calculation: The EA must automatically detect the account base currency (GBP). All risk calculations (Max Loss per Trade, Daily Profit/Loss, Stealth Stops) must use the current  TICK_VALUE  and exchange rates to ensure monetary targets are accurate to the penny, regardless of the pair being traded (e.g., EURUSD, Gold, or JPY pairs).

2. Suffix & Symbol Compatibility: The EA must be "Suffix Aware." It should automatically handle symbol names that include a dot or a plus (e.g.,  EURUSD.  or  GBPUSD+ ) as commonly found on Vantage Raw accounts, without requiring manual symbol input.

3. Guardian Recovery Execution (Hedged Basket): When the Guardian Engine triggers, it must NOT immediately close the losing trade. Instead, it must manage the original loser and the new recovery trade as a "Hedged Basket." The EA will track the net profit of these two specific tickets. Once the combined profit reaches the  Guard_Profit_Target , both trades must be closed simultaneously via a high-speed  CloseBy  or bulk-close command.

4. Input Parameter Validation: Upon initialization, the EA must run a "Sanity Check." If any user inputs are mathematically impossible (e.g., a  Max Loss  greater than the  Daily Loss Limit , or a  Lot Size  that exceeds available margin), the EA must print a clear Alert to the screen and refuse to trade until the settings are corrected.

5. Execution & Filling: Since I am using a Raw account, the code must default to  ORDER_FILLING_IOC  or automatically detect the filling mode via  SYMBOL_FILLING_MODE . All trade sends must include a 3-attempt retry logic with a randomized delay (500ms–1500ms) to handle "Busy Server" errors without hanging the terminal.


i will be testing the finished product to see if it does have all the  *100% TRADING BOT REQUIREMENTS* functions within 100% 

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(21)
Projeler
27
41%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
3
11%
Serbest
2
Geliştirici 2
Derecelendirme
(23)
Projeler
32
41%
Arabuluculuk
9
22% / 33%
Süresi dolmuş
4
13%
Yüklendi
Yayınlandı: 8 makale, 35 kod
3
Geliştirici 3
Derecelendirme
(24)
Projeler
32
38%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
5
16%
Çalışıyor
4
Geliştirici 4
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(10)
Projeler
12
0%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(634)
Projeler
741
34%
Arabuluculuk
49
53% / 39%
Süresi dolmuş
14
2%
Çalışıyor
10
Geliştirici 10
Derecelendirme
(34)
Projeler
35
40%
Arabuluculuk
0
Süresi dolmuş
3
9%
Serbest
11
Geliştirici 11
Derecelendirme
(45)
Projeler
53
57%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 5 kod
12
Geliştirici 12
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(268)
Projeler
603
34%
Arabuluculuk
65
22% / 57%
Süresi dolmuş
146
24%
Çalışıyor
Yayınlandı: 1 makale, 22 kod
14
Geliştirici 14
Derecelendirme
(2)
Projeler
7
0%
Arabuluculuk
3
0% / 33%
Süresi dolmuş
1
14%
Çalışıyor
15
Geliştirici 15
Derecelendirme
(16)
Projeler
35
23%
Arabuluculuk
4
0% / 50%
Süresi dolmuş
2
6%
Çalışıyor
16
Geliştirici 16
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
17
Geliştirici 17
Derecelendirme
(7)
Projeler
6
0%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
2
33%
Serbest
18
Geliştirici 18
Derecelendirme
(258)
Projeler
269
29%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
3
1%
Çalışıyor
Yayınlandı: 2 kod
19
Geliştirici 19
Derecelendirme
(7)
Projeler
13
15%
Arabuluculuk
13
23% / 46%
Süresi dolmuş
3
23%
Serbest
Yayınlandı: 42 makale
20
Geliştirici 20
Derecelendirme
(170)
Projeler
203
47%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
3
1%
Serbest
21
Geliştirici 21
Derecelendirme
(4)
Projeler
7
57%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
22
Geliştirici 22
Derecelendirme
(4)
Projeler
4
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
23
Geliştirici 23
Derecelendirme
(4)
Projeler
3
33%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
Projeler
1
0%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
25
Geliştirici 25
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
26
Geliştirici 26
Derecelendirme
(13)
Projeler
20
40%
Arabuluculuk
3
0% / 67%
Süresi dolmuş
3
15%
Serbest
27
Geliştirici 27
Derecelendirme
(53)
Projeler
91
52%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
1
1%
Serbest
28
Geliştirici 28
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
29
Geliştirici 29
Derecelendirme
(3)
Projeler
3
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
30
Geliştirici 30
Derecelendirme
Projeler
0
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
Benzer siparişler
Project Description: I need an MQL5 Expert Advisor built based on a precise Smart Money Concepts (SMC) multi-timeframe strategy. The bot must analyze the 1-Hour chart for institutional bias and execute trades on the 3-Minute chart following strict structural rules. 1. Inputs & Parameters (Customizable) - Risk Model: Fixed dollar risk of $20.00 for every $100.00 of account balance (20% per trade for personal capital
I am looking for an experienced MQL5 developer and trader to create a non-repainting BUY/SELL indicator for MT5, designed for scalping on the M5 and M15 timeframes, with a focus on high-quality trading signals. Requirements: Clear and reliable BUY/SELL signals. Non-repainting signals confirmed on closed candles. High-quality entries with minimal false signals. Suitable for scalping, especially Gold (XAUUSD). Popup
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell

Proje bilgisi

Bütçe
200 - 500 USD
Son teslim tarihi
from 1 to 10 gün