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

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 17 giorni

Specifiche

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


Con risposta

1
Sviluppatore 1
Valutazioni
(8)
Progetti
9
0%
Arbitraggio
0
In ritardo
1
11%
Caricato
2
Sviluppatore 2
Valutazioni
(13)
Progetti
20
20%
Arbitraggio
7
29% / 29%
In ritardo
3
15%
In elaborazione
3
Sviluppatore 3
Valutazioni
(8)
Progetti
23
30%
Arbitraggio
1
0% / 0%
In ritardo
1
4%
Caricato
Ordini simili
Good day to you all i will like to modify this indicator The indicator use to produce signal with arrow and draw line i dont trade the arrow signal because it repaint too much i only trade the line signal but i realized that it also use to delete signal after the trend reversed i want you to tell me the problem Also fix the problem I also want you to recode the buffer so we can have buffer for buy and sell i want to
Hello, I have two indicators that i would lke to turn into EA on mt5 . I have the Mq5 file for one and the ex5 for the other . I would like to merge the two of them into one EA . I would like to have the possibilities to keep the exact options of the mq5 file indicator that i will give you . And for the ex5 file , i would the EA to take an entry with the possibilities to choose the lots size , the Sl and the TP
this is my strategy if a bullish candle stick closes and open above (sma) period = 55 method=smoothed apply=to high it must open buy order and if price is above that (sma)it must only buy after take profit and when a bearish candle stick close and open below (sma) period=55 method=smoothed apply=low it must open sell order and it must only sell that market. With take profit=200 and stop loss=100. Add trade count =3
A Trading View EA for Renko Candles that sends Buy / Sell signals to MT5 or MT4 Rules Trades executed on close of Renko Candles on Trading View Only allow one trade at a time. Buy/Long trade closes when Sell/Short trade opens, and visa versa. Buy / Sell signal sent to MT5 or MT4 Ability to exclude certain days from opening trades. E.g. no trades to open on Mondays or Fridays. Ability to exclude certain days from
Existing EA Requring An Update to Include AUD & NZD Pairs Hi, I have an EA which I bought at the end of last year and have been very happy with the performance. I would like to broaden the pairs that it trades to include AUDNZD, AUDCAD, AUDUSD and NZDCAD. WIth the current pairs, the system provides automated and optimised settings. I would, therefore, like automated settings for these pairs as per the existing
MT4 EA PRIVATE 2025 THE EA WORKS WITH 3 GREEN (UP) AND RED (DOWN) INDICATORS: GENERAL NOTES: · +PROGRAMMER MUST PRODUCE 3 VERSIONS OF THE EA (NO EXPIRING DATE, 7 DAYS EXPIRING DATE AND 30 DAYS EXPIRING DATE) · +MUST WORK IN ALL INSTRUMENTS, FOREX, STOCK, COMMODITIES, INCLUDING CRIPTOS. · +MUST WORK IN REGULAR CHARTS AND RENKO CHARTS (OPTION TP AND SL IN PIPS OR RENKO BARS) · +EA MUST
Hello, **Job Description**: I've developed my own subjective support and resistance method based on smart money concepts. Essentially, it's about identifying support and resistance levels at the break of structure or change of character, which can be applied alongside any zigzag indicator. **Developer Requirements**: 1. Understanding of SMC (Smart Money Concepts), BOS (Break of Structure), and CHOCH (Change of
I NEED SOMEONE TO OPTIMISE AND CREATE GOLD.GBPJPY.GBPUSD.EURUSD. NZDUSD SET FILES FOR A MT4 EA ... NO GRIS. OR MARINTINGLE OR TRADE STCCKING. ONLY ONE TRADE OPEN AT ATIME CAN MAKE 8% IN LESS THAN 4 DAY.. VERY VERY VEY LOW RISK
I have an EA called MACross which I can backtest on the custom symbol chart (renko) that is generated by an EA. But I cannot run the EA on live mode on the custom symbol charts. When I put the EA on the custom symbol chart, it does not generated any trades. These are the EA's that are generating the custom symbol charts: https://www.mql5.com/en/code/20254 https://www.mql5.com/en/code/20368 I am looking for a
Currently I have my EA & cutom Indicator whch are working together. Now want the indicator to include inside the EA , so i have to load only EA. Files are in MQ4 and will be provided. Want a good programmer to complete the Job

Informazioni sul progetto

Budget
70+ USD
Per lo sviluppatore
63 USD
Scadenze
a 1 giorno(i)