CFD correlation Expert

MQL4 Experts

Specification

Hi everyone,

I want to trade on Correlation between two CFDs. As far as I know An expert can not calculate differences between two charts because they work only on one chart. (If it is possible let me know I can change the logic of the EA). That is why TWO EA will work at the same time, one EA will be working on every CFD. Let's explain it with an example. Let's say first CFD is A and Second is B.

To calculate correlated difference between two CFDs EA will open Buy order for CFD A and SELL order for CFD B. (Lots may vary sometimes I can select 0.01k for CFD A and 0.02k for CFD B it should be changeable from settings page). This opened orders will be our difference calculation tool. They will stay open all the  time and I will call them PIVOT OPEN ORDERS. We never touch them until we stop the EA.

Every day on a specific time (Selectable from settings page) Ea will start to calculate Pivot Open Orders total profit or loss according to opened first orders at the beggining and If this open orders profit or loss passes a certain threshold (Again selectable from settings page) EA will create orders.

Example, Let's say Time selected as 14:00, Correlation Difference threshold selected as 10 usd. In the beginning when we started the EA , We opened Pivot orders like BUY for CFD A and SELL for CFD B. Let's say total profit or loss of Pivot opened orders at the time 14.00 is +15 USD. After this time EAs will wait for 10 dollars difference like +5 USD or +25 USD. If total amount of opened orders profit decreases to +5 USD then EAs will create same orders like the beginning. ( Buy order for CFD A and SELL order for CFD B).  If total amount of opened orders profit increases to +25 USD. Then EAs will create opposite orders like SELL order for CFD A and BUY order for CFD B. This was the open order logic.

Eas will work like grid so according to above example every 10 dollar difference of first opened PIVOT OPEN ORDERS EAs will create the same orders with same lot. This number of grid levels should be selectable from settings page.(If we select 5 for example for this example if profit of +15 (Pivot open orders)  starts to increase at levels  +25 USD +35 USD +45USD +55USD +65USD at every level EAs will create  SELL order for CFD A and BUY order for CFD B.

To close the orders If opened orders cross a certain threshold of profit (Selected from settings page EX: 20 usd) then When total of opened orders is 20 USD (Except our Pivot orders they should not count as profit or loss) EA will close opened orders EXCEPT OUR PIVOT OPEN ORDERS they will stay open all the time to get a pivot point to calculate correlation. 

To close the orders also there will be a loss close type. If total of this opened orders cross a certain number (Selectable from settings page like 80 USD) Then if the open orders total reaches the - 80 USD (Except our Pivot orders they should not count as profit or loss) of losses then EA will also close the opened orders. Again  EXCEPT OUR PIVOT OPEN ORDERS.

To close the orders If this profit or loss numbers are not reached until 23.00 EA will close orders anyway.(Again except our Pivot Open Orders).


 If you have any questions let me know I can give more examples and screenshots. Thank you all.


I wish you a Great Day.


Mert



Responded

1
Developer 1
Rating
(233)
Projects
414
34%
Arbitration
52
37% / 40%
Overdue
153
37%
Loaded
2
Developer 2
Rating
(116)
Projects
137
36%
Arbitration
15
13% / 67%
Overdue
9
7%
Free
Similar orders
Experience programmer needed who can build a sample double top and double bottom pattern EA that send signal alerts to telegram the must send signal alerts to telegram only after the pattern confirm
I’m looking for a developer who can build a profitable EA for MT5. EA should have no major equity drops or daily drawdown. Looking for a solid trading system. NO martingale or Grid strategy EA should make around 10% a week Risk per trade should be 1% EA should use SL and TP
I'm looking for a experience programmer to build me a EA that send signal alert to telegram Moving average convergence/divergence (MACD) and RSI is a technical indicator to help investors identify market entry points for buying or selling. The MACD line is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA. The signal line is a nine-period EMA of the MACD line Moving
I am looking for a day trading bot with over 95% success ratio for gold and forex. It should use all the relevant strategies like moving averages (10, 20, 50), volume, RSI and trend into consideration and then generate buy and sell trade automatically with trailing SL and generate max profit
an ea that is based on a custom indicator, currently it works very fine but would like to add following... 1.make sure tp and sl values are calculated in points and are calculated from previous bar close (the one before our entry current bar) 2.check if a trade is already far from previous bar close than dont allow it, set the distance value in points (if current signal candle that is still formin and we would enter
I need a feature setup that will input the Sunday opening price as a horizontal ray on any chart and can be used by another EA as part of a trading strategy. Like this TradingView example below
I need a mobile phone EA that is similar to no limitz EA mobile bot which will use an ea converter for scalping strategy that will execute trade automatically, set tp and sl for different pairs using integrated trading strategies . It must hedge for both action to buy and sell under 1 min and 5 min based on scalping strategy to execute trades
Hello everyone, I am looking for a talented developer who can help me create my EA. I have several indicators that I want to combine in the EA. I will take care of the integration of the indicators and the trading strategy myself, I need someone to program all the trading operations for me. This is probably absolutely standard, someone with experience has certainly programmed this several times before. Here are the
Hi there, I am looking for someone to build a Martingale/Cost Averaging Expert Advisor (EA) with the following features and functions: Martingale and Cost Averaging Features: 1. **Martingale Calculation Settings:** - Standard Martingale system allowing the trader to set the initial trade size and the pip step for subsequent trades. - Option for averaging up and averaging down: - **Averaging Up:** Lot size
Job Title: MQL5 Trading Bot Code Debugging and Optimization** **Description:** We are seeking an experienced MQL5 developer proficient in debugging and optimizing trading bot codes. The current project involves fixing existing code that runs into debugging issues without errors and optimizing it for efficient performance in live trading environments. **Responsibilities:** - Debug existing MQL5 trading bot code to

Project information

Budget
50+ USD
For the developer
45 USD
Deadline
from 1 to 5 day(s)