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
(261)
Projects
424
38%
Arbitration
86
44% / 19%
Overdue
70
17%
Busy
3
Developer 3
Rating
(63)
Projects
84
26%
Arbitration
23
22% / 48%
Overdue
23
27%
Working
4
Developer 4
Rating
(77)
Projects
133
50%
Arbitration
5
80% / 0%
Overdue
6
5%
Free
Similar orders
in this document i have explained the EA requirements in details and given some pictures of needed options . please Grid EA expert apply to my job . and do not come with no experience. https://docs.google.com/document/d/1Y_Vbv87Ep5BQavRxgDlsWT7GH5VjSgVDnm6C1wtVtj0/edit?usp=sharing i can pay 30 USD now but later on if EA get successful . i'll gift with tip of 50 USD after successful month
All information is detailed in the attached EA diagram. I need a risk management EA build that calculated % amounts based on a snapshot of the starting balance each day, the initial balance and the floating balance. I then need to close positions based on this targets and also disable/enable algo trading. Quite basic ideas. Please see the attached image for all/more details and please let me know what you think/your
Halo These ACS&Csdash indicators work in the same way but provide signals of different currency pairs. And Either of these two ACS indicators should be selected any one and set to trade. It provides signals of multiple currency pairs in the interface So the EA should work like that to trade multiple currency pairs on one chart. CsDash should analyze whether it is a strong signal to show on the dash board and make a
Hello, Please I need help to connect a script to crypto Triangular Arbitrage to binance api to buy sell sell and buy buy sell step A Step B Step C minimum profit 0,3 and minimum 100 usdt , bnb in value 100 usdt and eth in value 100 usdt .Thanks
RSI 9 level 90/10 EA Indicators are 1. PSAR with step 0.01 max 0.02 2. Zigzag 3. SwR 1. At the close of candle at 0630 Pacific Standard Time. draw up and down of candles at 0625 and 0630 including the wick (allow in input) 2. Allow a breakout of either trend on up for buy and down for sell 3. Before buy. Ensure PSAR is in the buy position of candles above the PSAR line dot (Allow entry in input for setting) 4. TP1 on
I need a gold scalper EA which can trade in real environment. EA should open trades based on candlesticks close. Must have TP, Open SL, and should have DD control settings. If you can do just let me know. I may meed a test to make sure it opens real trades
Good morning. I would like to create HFT bot to trade on Prop Firm without breaking the rules. It should scalp. EA should have SL, TP, BE and even Trail Loss inputs. The EA should also have daily loss and profits target so when met the EA stops for the day
EA improvements 60+ USD
Hi, I want to improve an existing EA Ability to modify the main time frame and indicators settings. I will give you clear specifications and I will send you the source code. Best regards
Basil 50+ USD
thanks alot Very nice concept , but if I want to write a price action indicator with multiple prices (high,low,close,open)which calculates indicator value based on i.e difference of high and low there is a problem of having only one array of data (m_source_data in CIndicator class),is there a way to work around this or do you suggest to modify the CIndicator class and make the m_source_data an array of (mqlRates or
I want to deal in triangular forex arbitrage trading. I want an automated trading robot for the same. It is also expected that the developer advises me about the setting up the operations. I live in India, so he/she must know the ethical way to do it, be it international broker account or whatever. I just need to start this sooner but in the efficient way. The developer is expected to have some experience and should

Project information

Budget
30+ USD
For the developer
27 USD