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

MQL5 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 4 gün
Müşteri tarafından geri bildirim
All the best.
Geliştirici tarafından geri bildirim
Thank you for the interesting project.

İş Gereklilikleri

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!


Dosyalar:

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(169)
Projeler
204
30%
Arabuluculuk
25
40% / 44%
Süresi dolmuş
12
6%
Ücretsiz
2
Geliştirici 2
Derecelendirme
(251)
Projeler
402
38%
Arabuluculuk
82
41% / 20%
Süresi dolmuş
70
17%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(62)
Projeler
84
26%
Arabuluculuk
22
23% / 50%
Süresi dolmuş
23
27%
Ücretsiz
4
Geliştirici 4
Derecelendirme
(76)
Projeler
129
49%
Arabuluculuk
5
80% / 0%
Süresi dolmuş
6
5%
Ücretsiz
Benzer siparişler
The logic is simple and sound. You just need to mark recent high and low on M5 timeframe and place buy and sell stop. I will provide proper instruction with word file and a ex4 file you just need to follow the instruction
Hello I want to change my TREND indicator. The conditions for the alerts do not need to be changed, the indicator works very very well. I would like to add visible Stop and Tp level lines. Attached is the source code and text file. If you think you could do this job, let me know. Thanks in advance
hello DEVELOPERS bid this project, i need to create a MT5 expert advisor with some indicators (mt4 indicators), so we should convert mt4 indicators to mt5 and then create a new ea with my requirements, it's not urgent
Hi all, looking for somebody to build me a trading bot. Something that is good. Fairly new to trading but I know the basics and how everything runs. Due to working a 9-5 looking for a bot to help out with trades and etc
i have an existing EA that takes trades when you reach a preset value of Demarker ( or RSI , or MACD, or combination of those 3) it buys at oversold zones it sells at overbought zones. I currently have an option to take more than one trade but it is not a typical martingale style. it just takes the same trade every certain distance that you set. i need someone to modify that and let EA make martingale trades with a
HELLO AL DISCRIBTION OF THE JOB : I HAVE MY OWN SUBJECTIVE SUPPORT AND RESISTANCE METHOD THAT BASED ON THE SMART MONEY CONCEPTS IT IS LIKE HAVING SUPPORT AND RESISTANCE ON THE BREAK OF STRUCTURE OR CHANGE OF CHARECTER that can be used by any zig zag indicator . ========================================================================================= REQUIRMENTS OF THE DEVOLPER : 1 - UNDERSTANDING THE SMC , BOS
Hi there! I am looking to automate one of my trading strategy, fully info will be provided via pdf If you are an experienced programmer please feel free to apply for the job. Just to make sure that i will not assign anyone before i see and test the file as i been scammed many times by now " assigning the job and loosing money because i didn't receive the files... " Also to mention that i am looking for a low budget
Hi everyone, I’m excited to connect with someone who can help me test and optimize a strategy and then code an EA bot. The strategy is based on engulfing theory. The pattern is identified on a 4-hour timeframe, and the buy or sell signal is confirmed on a 5-minute timeframe If you think you can assist, I’d love to hear from you! Thank you so much! Best regards, Kathrine
So looking to prevent multiple trades opening at the same time and fine a way to remove the draw down spikes that i see happening when optimising and converting it mt5 and what's your budget for this
I have existing Ctrader automated strategy that I am using but will like to add and remove some features and after that I will like to convert it to mt5 ea…if this what you kindly bid now and let discuss what I need to add and remove

Proje bilgisi

Bütçe
30+ USD
Geliştirici için
27 USD