Oil hedging EA coding needed

Specification

The Oil hedging semi-automatic strategy logic is as follows:

The broker used will be  www.benchmark.bg, offering oils like: USOIL, UKOIL and Brent, WTI

When the difference between two oil types (symbols must be able to be manually entered) prices differ with 20 cents lets say Oil1 is $59.00 and Oil2 is $59.20. The EA must open a sell order for Oil1 and buy order for Oil2 when the difference is 10 cents (value for difference must be editable) and to close this orders when the difference becomes 30 cents (value for this must be editable as well). The EA must be able to open the trades in the opposite way as well - buy order for Oil1 and sell order for Oil2 when the difference is 30 cents and to close them when the difference is 10 cents. The trades will be closed only if the price difference condition is satisfied or manually.

The EA must be able to open additional positions if the price difference increases, the logic is the same as above, but the price difference values must be additionally defined lets say where it says 30 above, here will be 60 and where it says 10 above it will be 30 here. The additional positions to be switchable (via true/false selection in the EA).

Both entry and close difference as well as trade volume/lotsize should be changeable via EA Inputs panel.

Manual trade pair button/panel - Sell_Oil1/Buy_Oil2 order button where price difference for entry and price difference for close can be entered and  the volume/lotsize of the trade

Manual trade pair button/panel - Buy_Oil1/Sell_Oil2 order button where price difference for entry and price difference for close can be entered and  the volume/lotsize of the trade

Names of the predefined trade pair button/panel to be changeable in the EA Inputs if possible.

All pairs Sell_Oil1/Buy_Oil2 and Buy_Oil1/Sell_Oil2 that are triggered by the EA or put in place via the predefined trade pair button/panel should be marked in pairs with a printable comment on the chart so they can be easily identified. Example - "Sell Oil1 - order 321" and "Buy Oil2 - order 321" where 321 will be variable and unique identification for both positions in the trade pair.

If you have any additional questions please let me know.
I will need pricing and what time you will need to work on.

Responded

1
Developer 1
Rating
(29)
Projects
49
22%
Arbitration
14
29% / 21%
Overdue
13
27%
Free
2
Developer 2
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
3
Developer 3
Rating
(73)
Projects
85
44%
Arbitration
10
40% / 50%
Overdue
9
11%
Free
4
Developer 4
Rating
(48)
Projects
91
31%
Arbitration
28
29% / 43%
Overdue
42
46%
Free
Published: 1 code
5
Developer 5
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
6
Developer 6
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
7
Developer 7
Rating
(23)
Projects
45
20%
Arbitration
25
28% / 48%
Overdue
12
27%
Free
8
Developer 8
Rating
(349)
Projects
463
51%
Arbitration
41
24% / 49%
Overdue
149
32%
Free
9
Developer 9
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
10
Developer 10
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
11
Developer 11
Rating
(564)
Projects
845
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Free
12
Developer 12
Rating
(589)
Projects
1070
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
13
Developer 13
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
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

Project information

Budget
30 - 200 USD
Deadline
from 1 to 10 day(s)