CFD Correlation trader on MT4

MQL4 Experts

Tâche terminée

Temps d'exécution 6 jours
Commentaires du client
Very helpful coder thank you for the job
Commentaires de l'employé
Good customer

Spécifications

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

Répondu

1
Développeur 1
Évaluation
(248)
Projets
444
34%
Arbitrage
56
36% / 38%
En retard
163
37%
Chargé
Commandes similaires
Zzz 30+ USD
// กำหนดค่าตัวแปรพื้นฐาน input double lotSize = 0.1; // ขนาดล็อตที่ต้องการ input int takeProfit = 50; // ระยะ Take Profit (จุด) input int stopLoss = 50; // ระยะ Stop Loss (จุด) input int magicNumber = 123456; // หมายเลข Magic Number input int smaPeriod = 14; // ช่วงเวลา Simple Moving Average (SMA) // เวลาที่ออเดอร์ล่าสุดถูกเปิด datetime lastOrderTime = 0; // ฟังก์ชั่นหลักของ EA void OnTick() { //
Mobile robot 50 - 100 USD
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market

Informations sur le projet

Budget
30 - 70 USD
Pour le développeur
27 - 63 USD
Délais
de 1 à 4 jour(s)