Make a HFT trading bot

MQL5 Experts Forex

Spécifications


                                                                                                 

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.

                                                                                                                                                  

Répondu

1
Développeur 1
Évaluation
(266)
Projets
598
35%
Arbitrage
64
20% / 58%
En retard
147
25%
Gratuit
Publié : 1 article, 22 codes
2
Développeur 2
Évaluation
(168)
Projets
200
48%
Arbitrage
3
33% / 33%
En retard
2
1%
Gratuit
3
Développeur 3
Évaluation
(12)
Projets
16
13%
Arbitrage
4
50% / 25%
En retard
4
25%
Chargé
4
Développeur 4
Évaluation
(7)
Projets
9
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
Publié : 1 article
5
Développeur 5
Évaluation
(144)
Projets
186
41%
Arbitrage
24
58% / 21%
En retard
13
7%
Gratuit
6
Développeur 6
Évaluation
(311)
Projets
557
35%
Arbitrage
79
32% / 43%
En retard
202
36%
Travail
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(1)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(296)
Projets
475
40%
Arbitrage
105
40% / 24%
En retard
80
17%
Occupé
Publié : 2 codes
10
Développeur 10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
(187)
Projets
243
20%
Arbitrage
22
50% / 18%
En retard
0
Travail
12
Développeur 12
Évaluation
(3)
Projets
2
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(1)
Projets
0
0%
Arbitrage
5
0% / 80%
En retard
0
Gratuit
15
Développeur 15
Évaluation
(7)
Projets
9
0%
Arbitrage
1
0% / 100%
En retard
2
22%
Gratuit
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 2 codes
17
Développeur 17
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
Project Title: Custom XAUUSD Support & Resistance Indicator Platform Required: MT5 preferred. If possible, also provide TradingView Pine Script version later. Main Goal: I want a custom indicator made specifically for XAUUSD (Gold) only. The indicator should automatically detect and draw strong support and resistance zones where price has a high probability of reacting, rejecting, or reversing. It must update
I need a boom-and-crash MT5 robot that is very accurate for opening trades just before the spike happens. It should use M1 timeframe It should have options for changing lot size, number of trades to open, stop loss and take profit in points If the spike happens and it makes some profit, it should automatically close all trades. If the spike happens and the spike is not in profits, the trades can remain open waiting
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone

Informations sur le projet

Budget
30 - 100 USD
Délais
de 1 à 10 jour(s)