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

Tâche terminée

Temps d'exécution 44 jours
Commentaires du client
The developer is very patient and understanding. Always tries to cooperate with me and helps me with navigating how my own EA Works👍👍👍
Commentaires de l'employé
Amazing client — patient, clear, and very understanding throughout. A real pleasure to work with. Would gladly collaborate again!

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(434)
Projets
635
54%
Arbitrage
32
56% / 22%
En retard
6
1%
Chargé
2
Développeur 2
Évaluation
(16)
Projets
35
23%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
3
Développeur 3
Évaluation
(3)
Projets
4
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(470)
Projets
488
75%
Arbitrage
6
67% / 17%
En retard
0
Travail
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(2)
Projets
3
0%
Arbitrage
8
13% / 88%
En retard
1
33%
Gratuit
Commandes similaires
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
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
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
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
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
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 am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
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

Informations sur le projet

Budget
100+ USD
Délais
de 7 à 30 jour(s)