Oil hedging EA coding needed

Spezifikation

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.

Bewerbungen

1
Entwickler 1
Bewertung
(29)
Projekte
49
22%
Schlichtung
14
29% / 21%
Frist nicht eingehalten
13
27%
Frei
2
Entwickler 2
Bewertung
(137)
Projekte
167
35%
Schlichtung
11
91% / 0%
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(73)
Projekte
85
44%
Schlichtung
10
40% / 50%
Frist nicht eingehalten
9
11%
Frei
4
Entwickler 4
Bewertung
(48)
Projekte
91
31%
Schlichtung
28
29% / 43%
Frist nicht eingehalten
42
46%
Frei
Veröffentlicht: 1 Beispiel
5
Entwickler 5
Bewertung
(26)
Projekte
34
26%
Schlichtung
7
14% / 43%
Frist nicht eingehalten
7
21%
Frei
6
Entwickler 6
Bewertung
(277)
Projekte
334
55%
Schlichtung
14
36% / 29%
Frist nicht eingehalten
1
0%
Frei
7
Entwickler 7
Bewertung
(23)
Projekte
45
20%
Schlichtung
25
28% / 48%
Frist nicht eingehalten
12
27%
Frei
8
Entwickler 8
Bewertung
(349)
Projekte
463
51%
Schlichtung
41
24% / 49%
Frist nicht eingehalten
149
32%
Frei
9
Entwickler 9
Bewertung
(96)
Projekte
143
76%
Schlichtung
0
Frist nicht eingehalten
2
1%
Frei
10
Entwickler 10
Bewertung
(271)
Projekte
553
50%
Schlichtung
57
40% / 37%
Frist nicht eingehalten
227
41%
Arbeitet
11
Entwickler 11
Bewertung
(564)
Projekte
845
73%
Schlichtung
15
53% / 13%
Frist nicht eingehalten
193
23%
Frei
12
Entwickler 12
Bewertung
(589)
Projekte
1070
50%
Schlichtung
39
28% / 41%
Frist nicht eingehalten
49
5%
Frei
Veröffentlicht: 1 Artikel, 8 Beispiele
13
Entwickler 13
Bewertung
(69)
Projekte
146
34%
Schlichtung
13
8% / 62%
Frist nicht eingehalten
26
18%
Frei
Veröffentlicht: 6 Beispiele
Ähnliche Aufträge
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
//———————————————————————————————————————————————————————————————————— 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 () {
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained

Projektdetails

Budget
30 - 200 USD
Ausführungsfristen
von 1 bis 10 Tag(e)