CFD Correlation trader on MT4

MQL4 Experts

Job finished

Execution time 6 days
Feedback from customer
Very helpful coder thank you for the job
Feedback from employee
Good customer

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
(236)
Projects
418
34%
Arbitration
53
36% / 40%
Overdue
153
37%
Busy
Similar orders
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en

Project information

Budget
30 - 70 USD
For the developer
27 - 63 USD
Deadline
from 1 to 4 day(s)