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
(432)
Projects
632
53%
Arbitration
32
53% / 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
(469)
Projects
487
75%
Arbitration
6
67% / 17%
Overdue
0
Free
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
I offer expert services to refine and optimize your MetaTrader 5 Expert Advisors for peak performance. My approach focuses on achieving a maximum Sharpe Ratio while strictly limiting Maximum Drawdown (Max DD) , making the strategy suitable for high-standard environments like prop firm trading . I specialize in indicator-based logic and logical filter enhancements rather than external Telegram signals. With a
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I am a Professional Forex Trader, actively working in the financial markets with a strong focus on how price truly moves. I specialize in logic, market structure, and institutional behavior rather than indicators or guesswork. I have mastered: • Market Structure • Trend Identification • Elliott Wave Theory • Wyckoff Logic My core expertise lies in: • Deep understanding of market structure • Identifying
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
I am a professional trader specializing in technical analysis using a powerful combination of Fibonacci strategies and Dow Theory. With strong experience in reading market structure, I am able to identify major trends, precise entry points, and key support & resistance levels with high accuracy. My approach goes beyond using a single indicator. I combine Fibonacci retracement & extension to pinpoint potential
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
I want a prop-firm compatible MT5 trading robot, not a fast or aggressive one, for passing Prop firm challenges of any account sizes and also capable of earning profit on funded account after passing the challenge. Objectives: – Pass a prop firm challenge safely within 2–4 weeks, not 1 week. – Focus on capital protection first, profit second. Risk & Money Management: – Risk per trade: 0.25%–0.5% max – No martingale

Project information

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