A mt4 AND mt5 EA which Enables/Disables Auto-Trading by News Data stored in a CSV File

MQL5 Experts

Job finished

Execution time 4 days
Feedback from customer
All the best.
Feedback from employee
Thank you for the interesting project.

Specification

A mt4 AND mt5 EA which Enables/Disables Auto-Trading by News Data stored in a CSV File

 

Task:

Create an EA similar to the very famous IceFXNews to disable trading before news events and enable trading after news events

Both MQL4 and MQL5 versions are required.

The indicator/EA reads events from a csv file. The csv file has a strict format / data structure as attached example.

The CSV file is saved under C:\Users\username\AppData\Roaming\MetaQuotes\xxxx, so I would not need to update this csv file in each mt4/mt5 directory separately.

 

Parameters and functions:

 

Parameter

Type

Note

Calender data name

text

xxxx.csv. Format is identical as attached example csv file.

Enable news filter

True/false

General switch of news filter

GMT-Offset broker server

int

GMT-Offset broker server to csv file. For example broker server is in GMT3, csv file time and date is for GMT0, then this value should be 3-0=3

Trading currencies in this terminal

Text array

I will manually type in the traded currencies in this array like

“USD,CAD,EUR,…” so that the EA will only take care of USD,CAD and EUR relevant news events.

Only consider forex currencies.

For example, a SGD related news will not stop auto-trading in terminal, which trades only EURUSD and AUDUSD.

If this array is empty, then controll all currencies by news events

This setting controls all parameters/functions below!

Text to identify speech

Text arry

“peech,speak,speaks” means events containing any of these 3 strings is a speech-type-event. Case insensitive!

enable low impact news

True/false

General switch of actions by low impact news

Include (enable) low impact  speech

True/false

Treat speech as news

* (star) Close all relative positions before low impact news/speech

True/false

Pay attention: this switch has 2 threshold values below!

Close positions FL/FP threshold

Number

Calculate the to-be-closed-positions’ floating loose/floating profit. For example “-0.8” means only if ALL to-be-closed positions’ FL<=0.8 account currency unit, then close all relative positions.

“15” means only if SUM FP>=15, close all relative positions.

“0” means ignore this setting, close all relative positions if the * (star) parameter is “true”.

Close positions lot size threhold

number

For example, 0.5 means close relative positions lot size >= 0.5, “0” means close all relative positions if the * (star) parameter is “true”.

Close position action time before low impact news/speech

number

5 means close positions 5 minutes before news schedule.

Close positions if low impact news is bad for pending positions

True/false

The EA should record the FL/FP of news relative positions before disable auto-trading.

After auto-trading is enabled after news event, the EA compare FL/FP with the value before disable auto-trading.

If FL/FP after news is worse (more floating loose, less floating profit) than before news, then close all news relative positions.

Disable auto-trading by low impact news/speech

True/false

 

Disable auto-trading action time before low impact news/speech

number

70 means disable auto-trading 70 minutes before news schedule.

Enable trading minutes after low impact news

number

In minute.

Enable trading minutes after low impact speech

number

In minute. Since speech takes more time than news. The time will be different as above.

Repeat above points for mid impact news/speech

Repeat above points for high impact news/speech

 

EA should pop-up warning if close position is later than disable auto-trading (wrong setting, wrong logic).

 

Panel

 

EA should have an very easy panel to show following information:

1.     Next relevant event: time, subject and related currency, action.

Example:

   Position of the Text is chart right down corner.

Next event: 2021.09.15, Nonfarm Payroll Data release, USD, close currency related positions if FL<=0.8 30 minutes before event, disable auto-trading 25 minutes before event, enable auto-trading 30 minutes after event.

 

Thank you!


Files:

Responded

1
Developer 1
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
2
Developer 2
Rating
(250)
Projects
400
38%
Arbitration
82
41% / 20%
Overdue
69
17%
Loaded
3
Developer 3
Rating
(62)
Projects
84
26%
Arbitration
22
23% / 50%
Overdue
23
27%
Free
4
Developer 4
Rating
(76)
Projects
129
49%
Arbitration
5
80% / 0%
Overdue
6
5%
Free
Similar orders
Create a MT5 EA based on certain strategy creating a proprietary automatic trading strategy for our private investment portfolio. This is a unique opportunity to work on an exclusive project that demands creativity, strategic thinking, and a deep understanding of financial markets. Project Description: We are looking for a developer to design and implement an advanced automatic trading strategy tailored to our
i want someone that will recode my ea from using icustom function from an indicator, he will put the indcator drectly inside the +ea, i have the source code for the indicator. i want the ea fast and accurate. the indicator is attached below
I'm new to this trading system wishing to get something that will guide me through the process of creating a new lifestyle. So I wish to grow my pockets in any circumstance coz life thing ain't easy any more
I like to put 4 input to the EA. symbol 1, symbol 2, symbol 1 lot, symbol 2 lot. When the EA wants to open buy position, close all positions then buy on the symbol 1 and sell on the symbol 2. When the EA wants to open sell position, close all positions then sell on the symbol 1 and buy on the symbol 2. Thank you
This is a Ready Made grid Automatic EA 1.Need some bug fixing and little modification. This EA has some bug like -Place Random Trade after MT4 Restart . Also not follow custom parameter grid distance, grid slippage . like if i set 300pips grid distance, some time it place trade at 400 pips distance . fix this bug 2.first trade open by RSI logic if rsi30 open buy trade
Hi, Coding Skills Required: Experience in coding trading robots for MT5. Ability to implement increasing coefficients for the distance between orders and lot size 1. Project Objective: Develop an automated trading robot for MetaTrader 5 (MT5) as per the specified trading strategy. 2. Trading Strategy: The robot must execute a strategy that includes the following elements: Opening initial orders. Placing pending
I have this EA that I have build with another developer. I tried backtesting and optimizing it but the test runs too slow. The EA gets instructions from a number of custom indicators to produce orders, I think that's what makes it to slow when testing. I need an experienced MQL4 developer who can dismantle the coded EA and rewrite it in a more logical way, without using the iCustom function. I want everything to be
simple job code I want u to revers my ea pending orders to limit orders and add a time filter.... my budget is 10$ cuz the ea code are too simple
I need ea trade copier reversal.. I have an ea if u can revers pending orders stops to limit orders I'll be glad and add time filter my budget is 10usdt
olá. preciso de um robô para me alertar no telegram quando as medias moveis cruzarem. esse alerta tem que ser instantâneo. o expert precisa também reconhecer qualquer operação que esteja aberta e colocar em breakeaven essa operação assim que o preço avançar o tamanho equivante ao stop loss pré definido manualmente. o robô também deve recolher a operação em aberto e me informar quando ela for fechada, seja com stop

Project information

Budget
30+ USD
For the developer
27 USD