Make a HFT trading bot

MQL5 Experts Forex

Specification


                                                                                                 

I want you to build an HFT-style algo trading bot focusing on ultra-low latency logic, fast execution, and order-book microstructure.
Follow these requirements:

———————

1. GENERAL BOT SPECIFICATIONS

  • Platform: MT5 (MQL5)

  • Execution type: High-frequency trading style

  • Strategy basis:

    • Order book imbalance

    • Tick-by-tick microtrend detection

    • Latency-optimized scalping

    • Micro-arbitrage between bid/ask pressure

    • Queue position logic (when possible)

  • One toolchain: provide fully functional MQL5 code that compiles.

———————

2. DATA SOURCES & SIGNALS

Include:

  • Real-time tick stream (OnTick)

  • Order Book (Level 2) using MarketBookAdd()

  • Spread tracking and spread-based signals

  • Imbalance detection:

    • Buy volume vs sell volume

    • Best bid/ask changes

  • Microstructure patterns:

    • Bid exhaustion

    • Ask exhaustion

    • Sudden depth disappearance

    • Quote stuffing detection (if possible)

———————

3. ENTRY LOGIC RULES

Create multiple entry conditions:

  • Imbalance ratio threshold (example: ask > bid by X%)

  • Price acceleration over last N ticks

  • Spread drops below threshold

  • Best bid lifts 2+ ticks in < 50 ms

  • Best ask drops 2+ ticks in < 50 ms

Make the rules tunable in input parameters.

———————

4. EXIT LOGIC

Include auto exit based on:

  • Micro take-profit (0.05%–0.10%)

  • Micro stop-loss (0.03%–0.05%)

  • Sudden spread widening

  • Reverse imbalance

  • Order book shift against the position

  • Time-based exit (milliseconds)

———————

5. RISK MANAGEMENT

Implement:

  • Max trades per second

  • Daily loss limit

  • Daily profit cap

  • Auto-disable after limit hit

  • Auto reduction of lot size when volatility spikes

———————

6. EXECUTION SPEED OPTIMIZATION

Tell the bot to:

  • Pre-allocate memory

  • Use lightweight arrays

  • Avoid heavy loops

  • Avoid indicators

  • Keep logic pure tick-based

  • Conditional checks optimized for speed

———————

7. OUTPUT REQUIREMENTS

Your response must include:

  1. Clear explanation of the strategy

  2. Full MQL5 code

  3. Separate helper functions for:

    • Order book processing

    • Latency timing

    • Imbalance calculations

    • Fast trade execution

  4. Comments throughout the code

  5. Instructions on compiling and running it

Write everything cleanly, optimized, and ready to run.

                                                                                                                                                  

Responded

1
Developer 1
Rating
(268)
Projects
601
34%
Arbitration
64
20% / 58%
Overdue
147
24%
Working
Published: 1 article, 22 codes
2
Developer 2
Rating
(169)
Projects
202
48%
Arbitration
5
20% / 60%
Overdue
2
1%
Free
3
Developer 3
Rating
(17)
Projects
24
21%
Arbitration
4
50% / 25%
Overdue
4
17%
Working
4
Developer 4
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
5
Developer 5
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
6
Developer 6
Rating
(314)
Projects
560
35%
Arbitration
80
31% / 44%
Overdue
203
36%
Working
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(1)
Projects
3
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(298)
Projects
477
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Loaded
Published: 2 codes
10
Developer 10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(199)
Projects
255
21%
Arbitration
23
48% / 17%
Overdue
0
Working
12
Developer 12
Rating
(3)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
(1)
Projects
0
0%
Arbitration
5
0% / 80%
Overdue
0
Free
15
Developer 15
Rating
(7)
Projects
9
0%
Arbitration
1
0% / 100%
Overdue
2
22%
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
17
Developer 17
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Similar orders
MT5 Expert Advisor (EA) Acquisition Request – Proven XAUUSD Martingale / Grid EA I am looking to purchase a fully developed, actively traded, and proven MT5 Expert Advisor for XAUUSD (Gold) that uses Martingale, Grid, Averaging, Recovery, or Hybrid Recovery techniques. Mandatory Verification Requirement To be considered, please provide: - MT5 Investor Password (Read-Only Access) for verification - Account Number /
Looking to buy profitable MT4/MT5 Expert Advisors (EAs). Requirements: • Fully automated • 6+ months backtest • 100+ trades • No martingale or grid systems Send: • Backtest report • Max drawdown • Markets traded • Brief strategy summary Only original EAs developed by you. Long-term collaboration available
MT4/MT5 TRADES MANAGERS s PART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage of Lot size =--% f
I am looking for an experienced MQL5 developer to create a custom indicator for MetaTrader 5. The project requirements and indicator logic will be shared privately with the selected candidate to protect the concept and implementation details. Requirements: Strong experience with MQL5 indicator development. Ability to create clean, efficient, and well-structured code. Experience with custom buffers, chart objects
Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only
SNIPER X AI 30 - 120 USD
I need help in building a Robot SNIPER X AI — FINAL BUILD Trading System Type AI Scalping + Sniper Entry Expert Advisor Platforms MetaTrader 4 MetaTrader 5 Supported Brokers � exness.com � justmarkets.com � deriv.com Universal MT4/MT5 broker support FINAL CORE FEATURES ✅ AI Scalping Engine ✅ Sniper Entries ✅ Auto Buy/Sell ✅ EMA Trend Detection ✅ RSI Momentum Filter ✅ Smart Stop Loss ✅ Dynamic Take Profit ✅ Trailing
//+------------------------------------------------------------------+ //| $10 Smart Scalping Bot for MT5 | //| EURGBP + AUDUSD + XAGUSD Optimized | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //========================= INPUTS ================================== input double LotSize = 0.01; input int FastEMA = 20; input int SlowEMA =
Am looking for Professional programmer who can build below analysis bot as specified below. The indicators will be provided. 🔷 1. CORE ARCHITECTURE OF YOUR EA Your EA has 3 modes: ✅ Mode 1: Indicator 1 Strategy (9-Signal Engine) ✅ Mode 2: Indicator 2 Strategy (Multi-indicator confluence) ✅ Mode 3: Hybrid Mode (Indicator 1 filters Indicator 2) 🔷 2. PAIR SELECTION LOGIC EA will NOT auto-scan market (based on your
Matriks programında güzel bir stratejim var, meta da kayıtlı olmayan iki indikatörümü de metaya yükledim, stratejim belli, ama robot oluşturmak konusunda bilgim eksik. Yardım istiyorum. Acil dönüş bekliyorum. 12-276 üssel ortalamayı hangi yöne keserse, alphatrend indikaörüde bunu desteklesin, kendi gömdüpüm diğer bir indikatörde seviyelere göre alsın satsın

Project information

Budget
30 - 100 USD
Deadline
from 1 to 10 day(s)