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)
Проекты
18
11%
Арбитраж
4
50% / 50%
Просрочено
1
6%
Работает
Опубликовал: 1 пример
2
Разработчик 2
Оценка
(19)
Проекты
31
32%
Арбитраж
8
50% / 25%
Просрочено
3
10%
Работает
3
Разработчик 3
Оценка
(16)
Проекты
35
23%
Арбитраж
4
0% / 50%
Просрочено
2
6%
Работает
Похожие заказы
저는 20 년 경력 의 나스닥 트레이더입니다 . 리스크 관리 규칙을 자동화해 줄 전문 MT5 Expert Advisor가 필요합니다. 요구 사항 은 다음과 같습니다. 1. 종목: 나스닥(US100/NAS100)만 지원 2. 최대 총 거래량: 0.20랏 (보통 0.02랏씩 여러 번 진입) 3. 자동 손절매: 신규 포지션 진입 시 $75 USD 손절매 자동 설정 4. 일일 손실 제한 : 일일 손익 이 - $ 150 USD 이하일 경우 모든 포지션 청산 및 당일 거래 차단 5. 안티 마틴 게일 : 기존 순 포지션이 손실 상태일 경우 신규 진입 차단 6. 피라미 딩 허용 : 기존 포지션 이 수익 상태 일 경우 추가 포지션 진입 허용 (최대 총 0.20 랏) 7. 손익분기점 기능 : 총 수익이 $100 USD 이상일 경우 모든 손절매 를 ( 평균 가격
I am in search of a profitable bot for scalping Gold. The bot should be ready as at now to trade in a live market with good consistency. It should have a low drawdown. No martingale or grid system. The developer should be able to send a demo so I can test. If you have any profitable EA, pls
Основной стандартный и единственный индикатор Параболическая SAR. Непосредственно работа робота. 1. Производится 1 сделка при начале нового тренда, тренд определяется индикатором Parabolic SAR. Пример: если точки расположены ниже цены - значит тренд восходящий, открывается покупка (по рынку), при смене тренда на снижение - точки становятся выше цены, происходит закрытие предыдущей сделки (если она была открыта), и
Hi, I’m looking to build an automated backtest for an ORB breakout strategy on NQ using 1-second data. Every trading day the opening range is built from 09:25:00 to 09:29:49 (New York time). At 09:29:50 two stop orders are placed: buy stop at OR high + offset points sell stop at OR low − offset points. Whichever triggers first becomes the trade and the other order is cancelled. The trade is managed with stop loss
I have a divergence indicator that I would like to use as an EA, with the following settings added: - Divergence length in bars, min and max values. - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry. - Time, day and month filter for long and short positions. I do not have the source file for the indicator. Many thanks
I am in search of a profitable bot for scalping Gold. The bot should be ready as at now to trade in a live market with good consistency. It should have a low drawdown. No martingale or grid system. The developer should be able to send a demo so I can test. If you have any profitable EA, pls holla
Hello everyone, I am looking for an expert who is experienced with the Matriks IQ platform for the Turkish stock market. The project requires proficiency in C# coding within this environment. If you have prior experience or have developed algorithms on this platform, please reach out to me so we can discuss the details. Regards
I am looking for an experienced MQL5 developer to build a very fast AI-assisted scalping Expert Advisor, with special focus on XAUUSD (Gold). Core Strategy Designed mainly for XAUUSD, but should also work on all forex pairs and metals Opens multiple trades in the same direction Closes trades immediately once they are in profit (very small, fast profits) Optimized for high-speed scalping No martingale and no risky
hello guys i have a job for you,which is a mt5 account trading history ,and some screen shot of the trading history i want to reverse this enginerring and make a robot like it,or may be u could find the exact robot and let me tell u how is the trading at early of new york time he open sell and buy at the same time,when price goes up may be 20 30 pips he look for some signal in an indicator or in an expert advisor to
hello great developer I’m hiring a developer to build a local-only trade copier that sends trades from MT4 and MT5 to NinjaTrader 8 (NT8) in real-time. This copier must be reliable, fast, and fully executable without cloud dependence. I require a short test/demo period before full delivery to ensure quality and performance. here is the full project specs in the file check it please

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

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