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

MQL5 Uzman Danışmanlar

İş Gereklilikleri

### 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.


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
0
Süresi dolmuş
0
Yüklendi
2
Geliştirici 2
Derecelendirme
(13)
Projeler
20
20%
Arabuluculuk
6
33% / 17%
Süresi dolmuş
3
15%
Yüklendi
3
Geliştirici 3
Derecelendirme
(8)
Projeler
23
30%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
1
4%
Çalışıyor
Benzer siparişler
We are seeking an experienced MQL5 developer to create a custom trading bot for automated trading in the financial markets. The primary responsibilities include: Developing a robust MQL5 script to execute trades on shares and indexes (indices) based on predefined rules and inputs. Implementing logic for opening one initial order per market working day, timed at the market's opening moment. Incorporating user-defined
### Detailed ICT Fair Value Gap Strategy for Developer **Objective**: Develop a profitable Inner Circle Trader (ICT) Fair Value Gap (FVG) strategy for the 1-minute and 5-minute time frames focused on four key ICT kill zones per day. ### Components: #### 1. Market Structure Identification: - **Swing Highs and Lows**: Automatically detect and plot swing highs and lows to understand market structure and trends. -
Persian 50+ USD
Hello, I want to trade on the gold chart using the trader robot in Metatrader 4 between 50 and 100 dollars in a week to check the result. I want a free robot to test
Strategy To Be Used 1. Order Blocks (4HR, Daily And Weekly) 2. FVG (For Entry) 3. Fibonacci Levels (TP) 4. HH/LL ( SL) Works in 1HR & 4HR (TF) Risk to reward minimum 2:1 (Default) Winrate 53.21% (Accuracy) tested on Live account of 1000$ May 14th to May 31st You can change the risk per trade percent Per day DD Limit *it should takes multiple entries at the same price point when the price touches weekly/ daily
i need to add some functions to existing indicator, so i need to create a new one with a panel, fixing repaint and i would see some informations on chart
I want to develop a NinjaTrader automated strategy that has a high win rate for trading futures. So the strategy will automatically enter and exit for an account. Do you have any experience with this? If so, can you please share some past results? I want to develop the ICT Silver Bullet strategy to trade futures with Ninjascript. Please reference the attached document for a briefing. Let me know if this is something
Find a good Indicator 30 - 100 USD
As the title says, I need to find an Indicator with the function of scanning Accurate SMC signals on backtest with a nice control panel and can report signals to phone/email. Includes source code and export license for business. Please send Demo or pictures
Our current EA .ex4 file was earlier compatible with all mt4 updates, however in the recent 1420 update it’s not running, we need to make the same EA compatible with the current mt4 version, we only have the .ex4 file, no mql4 file
HI i am looking for any EA which can get me 10 to 15 trades Daily With $1 to $3 SL with 1: 2 Profit Ratio. Any Strategy will do. Say if if are getting 3USD SL and 5USD Profit with 50 % Winning Ration or $2 SL and 3$ Profit With 50% Winning Ratio. or 2$ SL and 10$ Profit 30% Wining Ration
### Strategy Description for Developer: **Objective**: Develop a profitable Inner Circle Trader (ICT) strategy for the 1-minute and 5-minute time frames. **Components**: 1. **Market Structure**: Identify market structure using swing highs and lows. 2. **Order Blocks**: Utilize bullish and bearish order blocks for potential entry points. 3. **Fair Value Gaps**: Use Fair Value Gaps (FVG) as alternative or complementary

Proje bilgisi

Bütçe
70+ USD
Geliştirici için
63 USD
Son teslim tarihi
to 1 gün