CFD Correlation trader on MT4

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 6 días
Comentario del Cliente
Very helpful coder thank you for the job
Comentario del Ejecutor
Good customer

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(236)
Proyectos
418
34%
Arbitraje
53
36% / 40%
Caducado
153
37%
Ocupado
Solicitudes similares
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
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
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

Información sobre el proyecto

Presupuesto
30 - 70 USD
Para el ejecutor
27 - 63 USD
Plazo límite de ejecución
de 1 a 4 día(s)