Requesting the development of a Correlation Pairs Trading Hedge EA for MT5

MQL5 Эксперты

Работа завершена

Время выполнения 17 дней

Техническое задание

### EA Description:

**Overview:**
The EA opens orders when there is a divergence between symbols with very high or low correlation.
For example, if a divergence occurs and EURUSD declines more than GBPUSD, the EA will open a Buy order for EURUSD and a Sell order for GBPUSD.
The correlation values are calculated based on the timeframe of the open chart, and the EA should calculate for all symbols (both major and minor forex pairs) from a single chart.
The chart should display a correlation matrix, and the correlation value at the time of order entry should be displayed in the chart comments.

**Settings:**

1. **Number of Candles for Correlation Calculation:**
   - If set to 200, the EA will use the last 200 candles of the open chart’s timeframe to calculate the correlation values.

2-1. **Positive Correlation Threshold:**
   - Example: If set to 80, the EA will consider pairs like EURUSD and GBPUSD, with a correlation coefficient of 93, as fulfilling the condition.

2-2. **Negative Correlation Threshold:**
   - Example: If set to -80, the EA will consider pairs like AUDUSD and EURAUD, with a correlation coefficient of -85, as fulfilling the condition.

2-3. **Correlation Difference Threshold:**
   - Example: If set to 10, the EA will open orders if the correlation between EURUSD and GBPUSD drops from +93 to +83, or if the correlation between AUDUSD and EURAUD increases from -85 to -75.

3. **Maximum Number of Groups:**
   - Example: If set to 3, the EA can handle up to 3 groups of trades. A group consists of two symbols, such as EURUSD and GBPUSD, with the same magic number. Additional pairs like AUDUSD and EURAUD would form a second group. Therefore, if set to 3, the maximum number of groups is 3.

4. **Magic Number:**
   - If not automatically assigned in the MQL source code, please include this setting.

5. **Starting Lot Size:**
   - Example: If set to 0.01, the EA will start with a lot size of 0.01.

6. **Averaging Interval:**
   - Example: If set to 300, the EA will open averaging orders when the combined loss of a group reaches -300 USD.
    For instance, if EURUSD (Buy) and GBPUSD (Sell) together reach -300 USD, the EA will open additional Buy and Sell orders for EURUSD and GBPUSD respectively at a fixed lot size defined in the settings.

7. **Close TP (Take Profit):**
   - Example: If set to 10, the EA will close all orders in a group when the combined profit reaches 10 USD.

8. **Auto Lot Settings:**
    8-1 **Auto Lot (true/false):** If true, auto lot sizing is applied.
    8-2 **Auto Lot Step:** Example: If set to 2000, the lot size increases automatically every 2000 USD.
    8-3 **Auto Lot Size:** Example: If set to 0.01, the lot size increases by 0.01 for every step defined.

**Order Execution:**

- Based on the settings from 2-1 to 2-3, if the correlation exceeds or falls below the set values, and the correlation difference threshold is met, the EA will open orders.
  For example, if EURUSD declines more than GBPUSD, the EA will place a Buy order on EURUSD and a Sell order on GBPUSD.

**Process:**

- Example: If EURUSD (Buy) and GBPUSD (Sell) are open and the combined loss exceeds the threshold set in setting 6, the EA will open additional averaging or pyramiding orders as defined.

**Order Closure:**

- Based on setting 7, the EA will close all orders in a group when the combined profit in USD reaches the specified value.

**Additional Features:**

- Include prefix and suffix settings if necessary.
- The chart should display the correlation value at the time of order entry.
- The chart should also show a correlation matrix for all forex symbols.
- The EA must do the symbol correlation coefficient matching itself. So it must be 100% automatic trading.
- The image is an example. This is just an example image showing which symbol is buying and which symbol is selling when a difference in interval occurs.

**Notes:**

- As I am new to MT5, your assistance with backtesting is appreciated. I am proficient with MT4, but I have chosen MT5 for its backtesting capabilities, which will expedite the development process.


Файлы:

Откликнулись

1
Разработчик 1
Оценка
(13)
Проекты
16
13%
Арбитраж
2
0% / 50%
Просрочено
1
6%
Загружен
Опубликовал: 1 пример
2
Разработчик 2
Оценка
(18)
Проекты
28
32%
Арбитраж
8
50% / 25%
Просрочено
3
11%
Работает
3
Разработчик 3
Оценка
(15)
Проекты
34
24%
Арбитраж
3
0% / 33%
Просрочено
2
6%
Работает
Похожие заказы
I’m looking for a custom MT4 or MT5 server setup that looks and feels exactly like a live trading account but gives me full control over the environment. What I need: • A private MT4/MT5 server that connects to the official MT4/MT5 desktop terminal • Live market price feed (real-time quotes for realism) • Ability to: • Create and manage accounts • Set or change balance, equity, margin • Manually add/edit/close trades
Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators
I'm looking for a developer to create a trading bot based on order blocks. Entry: on OB via the indicator CODE Exit and Money Management copied from: https://www.mql5.com/en/market/product/55393?source=Site +Market+MT4+Search+Rating006%3adark+venus CODE Goal so I can do multiple iframes But otherwise EURUSD in M1
Hello I’m looking for a custom MT4 or MT5 server setup that looks and feels exactly like a live trading account but gives me full control over the environment. What I need: • A private MT4/MT5 server that connects to the official MT4/MT5 desktop terminal • Live market price feed (real-time quotes for realism) • Ability to: • Create and manage accounts • Set or change balance, equity, margin • Manually add/edit/close
What I Need I'm looking for solid MQL4/5 and Pine Script developers for ongoing projects. No agencies, no middlemen - just skilled devs who know their stuff. The Deal ~5 projects per month to start Fair pay - I don't lowball good work Per-project rates - we'll agree on price upfront You Should Know MQL4/5 programming (EAs, indicators, scripts) Pine Script for TradingView How trading actually works How to write clean
Sierrachart 30+ USD
Hello, I am new to sierra chart, but very familiar with trading space. I dont want to spend time learning through online videos and want to get to what i want quickly. I need help from someone who knows sierra chart inside and out to help me get setup futures NQ market, chart, footprint, order flow, DOM etc. I will provide you my userid password and you can set it up for me and also let me know exactly what needs
Hallo, ich suche einen erfahrenen MT5-Programmierer, der mir einen Key Structure Range Indikator auf Basis von 3er-Fractals erstellt, inkl. Buffers für spätere EA-Nutzung. Pflichtenheft - Key Structure Range Indikator für MT5 (EA-ready): Projektbezeichnung: "Key Structure Range Indikator für MT5 (EA-ready)" 1. Plattform - MetaTrader 5 (MT5) - Unterstützte Timeframes: M1 bis H12 2. Kerneigenschaften (unbedingt
I'm looking for a developer to maintain and improve an existing trading system based on MT4 (MQL4) and Python . 📌 Communication must be in Polish (written or spoken). The developer doesn’t need to be based in Poland. ✅ What’s already working: A fully functional MT4 Expert Advisor : opens trades based on signals, shifts Stop Loss at TP1, TP2, TP3, reacts to Break Even (BE) signals, A Python script : listens to
Strategy Purpose: Place a trade immediately at the close of a Renko candle or wait for close of 1 st, 2nd or 3rd renko candle (user defined) when color changes (trend reversal) for placing entry, with a confirmation that previous trend had at least 1, 2 (user defined) number of continues same-color bricks. User Inputs (Customizable Parameters): 1. EntryOnCandlenumber = 1 o Enter on 1st, 2nd, 3rd or same-color candle
Hi, I’m looking for a custom MT4 or MT5 server setup that looks and feels exactly like a live trading account but gives me full control over the environment. What I need: • A private MT4/MT5 server that connects to the official MT4/MT5 desktop terminal • Live market price feed (real-time quotes for realism) • Ability to: • Create and manage accounts • Set or change balance, equity, margin • Manually add/edit/close

Информация о проекте

Бюджет
70+ USD
Исполнителю
63 USD
Сроки выполнения
до 1 дн.