Expert Advisor for Hedging + Scalping Between 2 Accounts Terminal Connection (Complex HFT EA)

Trabalho concluído

Tempo de execução 44 dias
Comentário do cliente
The developer is very patient and understanding. Always tries to cooperate with me and helps me with navigating how my own EA Works👍👍👍
Comentário do desenvolvedor
Amazing client — patient, clear, and very understanding throughout. A real pleasure to work with. Would gladly collaborate again!

Termos de Referência

Overview:

The goal is to develop an Expert Advisor (EA) capable of executing automated hedging and scalping strategies between two separate account terminals on the Meta Trader 5 platform. This EA will ensure high-speed execution (ideally between 1-20 milliseconds), maximizing profitability while adhering to user-defined parameters. It will support a single trading instrument at a time across various asset classes (crypto, forex, commodities, indices).

Functional Requirements:


HEDGING PART

The EA must:

Open complementary BUY and SELL orders across two separate accounts.

Example:

Account A: 2 BUY positions, 1 SELL position.

Account B: 2 SELL positions, 1 BUY position.

The number of order positions opened is non-adjustable, but the value of each position is adjustable.

Support hedging for a single trading instrument per session to optimize performance.

Automatically terminate operation under the following conditions:

Accounts or instruments are modified during active trading.

Lay the foundation for the scalping process by ensuring that the hedging process is successfully executed prior to initiating scalping.


SCALPING EXECUTION

The EA must:

Initiate scalping only after profitable conditions are confirmed for current open positions. (More info will be given in comment)

Profit calculation must account for:

Spreads of Instruments traded. (Depends on Type of Account and Brokers)

Execute trade closures within 1-20 milliseconds to secure profits.

Never close any position in loss, except when:

Stop Loss Mode is manually enabled (default: OFF) with a customizable stop-loss value (default: 10 pips) using pips to measure distance of SL.

Stop Loss cannot be used onto Accounts with LIGHT-Sell or LIGHT-Buy. Meaning that if the Accounts is BUY-Heavy, then SL is available same thing as SELL-Heavy account.

Stop Loss executions NEED to be lightning fast. Both Setup and Executions of SL onto Both Accounts need to be AT THE SAME TIME.

Operate independently across both accounts:

Account A: Secure profits for positions where confirmed, while awaiting other positions to turn profitable.

Account B: Mirror the same scalping logic. But inverted.


Each time the EA is attached, it creates a "Generation" (Gen) of trading activities.

Generations are displayed sequentially on the chart (e.g., Gen 1, Gen 2, etc.).

Generation timing is customizable in EA settings (default: 600 seconds).

Automatic alternation of trading roles across accounts for each new Generation:

Gen 1: Account A (BUY-heavy), Account B (SELL-heavy).

Gen 2: Reverse roles (Account A becomes SELL-heavy, Account B becomes BUY-heavy).

Continues in this manner for subsequent Generations.


The EA establishes direct socket communication between the two terminals to synchronize trading activities.

Server ports must be configurable through EA settings (e.g., Server Port = 30303,30302 ).

Symbol on Brokers must be inserted in the settings for further calibrations (e.g., Symbol = BTCUSD, XBRUSD)

Works for both Accounts in settings.


Offers Sandbox Mode for continuous trading without predefined strategies.

Ensures that all scalping actions adhere strictly to indicator-confirmed profit conditions.


Supports user-defined lot size configurations:

BUY and SELL lot sizes must remain identical across both accounts.

Compatible with any leverage level.

Includes an optional compounding feature (Default settings: False)

When enabled, profits are reinvested into subsequent trades.


Execution Speed

Opening and closing of trades must be processed within 1-20 milliseconds.

Customizable Parameters

Generation Duration: Adjustable (default: 600 seconds).

Stop Loss Mode: Disabled by default, customizable to preferred pip distances.

Server Ports: Configurable through settings.

Error Handling

The EA must automatically shut down if:

Account terminals or trading instruments are modified mid-operation.

Communication disruptions occur between terminals.

Platform Compatibility

Fully compatible with Meta Trader 5.

Operates across multiple asset classes:

Cryptocurrencies

Commodities

Indices

ALL ASSET CLASS AND INSTRUMENT


✔ Hedging Across Accounts: Simultaneously opens complementary positions on two terminals.

✔ High-Speed Scalping: Executes trades within 1-20 milliseconds.

✔ Generational Logic: Organizes trading cycles with role alternations.

✔ No Pre-Defined Strategies: Sandbox Mode.

✔ Direct Communication: Seamless synchronization using socket connections. Server Port

✔ Dynamic Configurations: Flexible lot sizing, leverage options, and profit-compounding.


Notes for Developers: The EA should be built with high performance and minimal latency in mind, ensuring smooth execution even during volatile market conditions. Please assess the complexity and cost of development based on the provided specifications and communicate any potential limitations or additional requirements.

Respondido

1
Desenvolvedor 1
Classificação
(429)
Projetos
628
54%
Arbitragem
30
53% / 23%
Expirado
6
1%
Carregado
2
Desenvolvedor 2
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
3
Desenvolvedor 3
Classificação
(3)
Projetos
4
0%
Arbitragem
0
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(467)
Projetos
486
75%
Arbitragem
6
67% / 17%
Expirado
0
Trabalhando
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(2)
Projetos
3
0%
Arbitragem
8
13% / 88%
Expirado
1
33%
Livre
Pedidos semelhantes
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Automated trading system 150 - 250 USD
Anyone I need my own bot with my own licenses keys I will pay up please the bot must make good profit and I will pay up good money just hope it helps me
Phahla fx boto 30+ USD
99.99% signal accuracy 10-15 trades distribution all currency trade and meta AI assistance on loss[advice] stop and start robot cyber security firewall protection activation code: 20060605TLP20 Please create a trading bot with any logo with the name elevation
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides
I need help in modifying an amibroker AFL indicator the indicator already works but I need per symbol static variable isolation, parameters persistence per symbol after restart, non declining trailing stop logic, parameter auto restore when switching symbols and a global reset function for static variables. For better understanding As discussed, this is the official offer for restructuring my RAD Chandelier stop loss

Informações sobre o projeto

Orçamento
100+ USD
Prazo
de 7 para 30 dias