Make a HFT trading bot

MQL5 Uzmanlar Forex

Şartname


                                                                                                 

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.

                                                                                                                                                  

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(268)
Projeler
601
34%
Arabuluculuk
64
20% / 58%
Süresi dolmuş
147
24%
Çalışıyor
Yayınlandı: 1 makale, 22 kod
2
Geliştirici 2
Derecelendirme
(169)
Projeler
202
48%
Arabuluculuk
5
20% / 60%
Süresi dolmuş
2
1%
Serbest
3
Geliştirici 3
Derecelendirme
(17)
Projeler
24
21%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
4
17%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(7)
Projeler
9
0%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 makale
5
Geliştirici 5
Derecelendirme
(144)
Projeler
186
41%
Arabuluculuk
24
58% / 21%
Süresi dolmuş
13
7%
Serbest
6
Geliştirici 6
Derecelendirme
(314)
Projeler
560
35%
Arabuluculuk
80
31% / 44%
Süresi dolmuş
203
36%
Çalışıyor
7
Geliştirici 7
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(1)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(298)
Projeler
477
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
81
17%
Yüklendi
Yayınlandı: 2 kod
10
Geliştirici 10
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(199)
Projeler
255
21%
Arabuluculuk
23
48% / 17%
Süresi dolmuş
0
Çalışıyor
12
Geliştirici 12
Derecelendirme
(3)
Projeler
2
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
Projeler
0
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
14
Geliştirici 14
Derecelendirme
(1)
Projeler
0
0%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(7)
Projeler
9
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
2
22%
Serbest
16
Geliştirici 16
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
17
Geliştirici 17
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
ART 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 oe of Lot size =--% f Stoploss =--% 2b
“} Final Trading Logic Requirements 1. Confirmation Timeframe The main confirmation timeframe must be M15. The indicator may show a Pending Setup during the active 15-minute candle, but the setup is not valid for entry yet. A valid trading signal must be confirmed only after the M15 candle closes. If the setup appears during the candle but disappears in the final seconds before candle close, no confirmed signal
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
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

Proje bilgisi

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