Semi-Automated Hedge Trading Strategy EA with Trading Panel for MQL4

Job finished

Execution time 17 days
Feedback from customer
Mahmoud is very fast and also patient. He will ask questions to further understand your system design.
Feedback from employee
The best. Clear job description. Good Strategy Designer. ...

Specification

CONCEPT:

Semi-automated hedging strategy with trading panel. The hedge strategy is based on when the user places their first order, which is called the initial trade. Once the first trade is placed, a pending order is also placed simultaneously on the opposite side of the initial trade, which is called the hedged trade. There will be no stop loss. Instead, a multiplier will be implemented on the initial trade and the hedge trade. The multiplier will automatically increase the position size/volume every time the market alternates between the initial trade price level and the hedge trade price level. An Image (example.jpg) will be attached to further translate the trading strategy. I also have a mock image (trading-panel.jpg) of how I envision the trading panel to be. See all attached resources for best implementation and translation of the trading strategy .



ENTRY:

Entry on the trading panel will have buy limit, buy stop, sell limit, sell stop button input options. 


BUY LIMIT - on the trading panel, the user should be able to enter at the latest limit order, and or input the buy limit price on the trading panel if no price is inputted by the user. If the user chooses to buy at limit, the user will also have the option to set the hedge trade by price, or by pips, e.g. If the user is trading EURUSD, and places a buy limit at 1.09806, and set the hedge trade at 10 pips, then it means when the user enters into the market at 1.09806, the hedge trade will place a sell stop order at 1.09706 , 10 pips away from the buy limit price. 


SELL LIMIT - Vice versa for Buy limit, but for selling.


BUY STOP - same for Buy limit, instead, the trade will begin with a buy stop order and not buy limit order.


SELL STOP - Vice versa for Buy Stop.



POSITION MANAGEMENT

There will be no stop loss, since trades are hedged. The user will quantity, multiplier, and margin input options.


QUANTITY - User is able to input the starting lot size/volume for the initial trade


TAKE PROFIT - User should be able to set take profits in pips. 


MULTIPLIER - If the user wants to multiply the initial trade(first trade) and the hedge trade by 2, 3 ,4 etc.. e.g. If the user inputs the multiplier to be 2, then the initial trade will be 0.1 and the hedge will 0.2, and then initial trade will be 0.4 etc..


MARGIN EXIT (Margin E) -  The user should be able to input margin as a percentage of how much margin should be at risk, e.g. 10%, 50%, 90%.. If trader inputs 90%, and the margin on the account accrue at 90%, then the multiplier will stop, and both trades (initial and hedged) will exit. 


MARGIN WARNING (Margin W)  - Similar to Margin Exit. However, instead of exiting the positions on the specified margin input, the EA will give an alert when a specified input has been reached. 



EXIT STRATEGY

There should be buttons on panel to close buy, close sell, and close all trades (initial and hedged trade)


See attached trading panel image. 


Accrued specified margin will also exit both initial trade and hedged trade. 

MARGIN EXIT (Margin E) -  The user should be able to input margin as a percentage of how much margin should be at risk, e.g. 10%, 50%, 90%.. If trader inputs 90%, and the margin on the account accrue at 90%, then the multiplier will stop, and both trades (initial and hedged) will exit. 



ALL INPUTS - BUTTONS, AND DISPLAYS FOR TRADING PANEL 

BUY STOP: Initial (by price) - Hedged (by price) - Hedged ( in pips) - Initial TP (in pips) - Hedged TP ( in pips) 

SELL LIMIT: Initial (by price) - Hedged (by price) - Hedged ( in pips) - Initial TP (in pips) - Hedged TP ( in pips) 

BUY LIMIT: Initial (by price) - Hedged (by price) - Hedged ( in pips) - Initial TP (in pips) - Hedged TP ( in pips) 

SELL STOP: Initial (by price) - Hedged (by price) - Hedged ( in pips) - Initial TP (in pips) - Hedged TP ( in pips) 


CLEAR PENDING ALL

CLEAR TP


QT(Quantity/Volume)

MARGIN W (Margin Warning)

MARGIN E (Margin Exit)

Multiplier


CLOSE ALL

CLOSE ALL BUY

CLOSE ALL SELL



SUM ALL (Display sum of buy and sell profit)

SUM BUY (Display only buy profit)

SUM SELL (Display only sell profit)


MARGIN (Display current margin usage)

SPREAD ( Display current spread)














Files:

JPG
example.jpg
69.9 Kb

Responded

1
Developer 1
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
2
Developer 2
Rating
(170)
Projects
203
47%
Arbitration
5
20% / 60%
Overdue
3
1%
Free
3
Developer 3
Rating
(589)
Projects
1070
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
4
Developer 4
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
5
Developer 5
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
8
Developer 8
Rating
(17)
Projects
22
5%
Arbitration
7
14% / 29%
Overdue
3
14%
Free
Published: 1 code
9
Developer 9
Rating
(3)
Projects
2
0%
Arbitration
7
0% / 86%
Overdue
0
Free
10
Developer 10
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or
Build a fully mechanical EA for XAUUSD on D1 timeframe. Trader spends 5-10 mins per day to run it. No discretion. EA calculates, places orders, and walks away. Timeframe Use the Daily (D1) timeframe . At the close of each completed daily candle, identify: Previous day's High (wick) Previous day's Low (wick) Previous day's Open

Project information

Budget
100 - 250 USD
Deadline
to 8 day(s)