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

Job finished

Execution time 44 days
Feedback from customer
The developer is very patient and understanding. Always tries to cooperate with me and helps me with navigating how my own EA Works👍👍👍
Feedback from employee
Amazing client — patient, clear, and very understanding throughout. A real pleasure to work with. Would gladly collaborate again!

Specification

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.

Responded

1
Developer 1
Rating
(434)
Projects
635
54%
Arbitration
32
56% / 22%
Overdue
6
1%
Loaded
2
Developer 2
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
3
Developer 3
Rating
(3)
Projects
4
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(470)
Projects
488
75%
Arbitration
6
67% / 17%
Overdue
0
Working
5
Developer 5
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(2)
Projects
3
0%
Arbitration
8
13% / 88%
Overdue
1
33%
Free
Similar orders
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I have a MT5 Hull MTF Indicator that I like. I would like someone to add: 1) Time of day function (with start time and end time) so that it does not send messages during my night time. Default Start=0900 Default End=2300 2) Add to the Message (sound and email): so that it is Symbol+Buy-Or-Sell+Ask-OrBid Price+TimeFrame1 "/" TimeFrame2 I will send the indicator to the developer. Thank you
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
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

Project information

Budget
100+ USD
Deadline
from 7 to 30 day(s)