News filter function for mt5 expert advisors

MQL5 Experts

Job finished

Execution time 13 days
Feedback from customer
great work. All works as requested
Feedback from employee
Many thanks!

Specification

I need a news filter function that I can implement into different EA's. The news filter will detect upcoming news and disable the ea from trading(opening new positions and deleting open pending orders) x minutes before news releases and enable the ea to continue trading x minutes after the news release.


Inputs in user menu: 

Enable news filter? true/false 
Only symbol news? true/false 

(if true-> only news that impact the currencies in the traded symbol will be used/ if false -> all news releases will be used)

Disable trading during US news? true/false (if true, the function will disable trading during US related news regardless of the symbol the EA is trading on)


Stop trading during high impact news: true/false
Minutes before high impact news release to stop trading: mm
Minutes after high impact news to continue trading: mm

Stop trading during medium impact news: true/false
Minutes before medium impact news release to stop trading: mm
Minutes after medium impact news to continue trading: mm

Stop trading during low impact news: true/false
Minutes before low impact news release to stop trading: mm
Minutes after low impact news to continue trading: mm

Delete pending orders before news: true/false
Close positions in profit before news: true/false
Close positions in loss before news: true/false

Show news comments: true/false
- If true, the EA will print a comment in the bottom right corner of the chart displaying the following: 
Server time and GMT time of the next news release
Level of next news release, ie High impact/ Medium impact or Low impact
Symbol the next news release will impact, for example USD
Name of the next news release, for example FOMC

The print should be a single line of text. Here is an example of how it should look: 
Next news release: 16:00 server time/ 17:00 GMT time, High Impact, USD, FOMC

Draw lines at news events: true/false

If "Draw lines at news events" is set to true, the EA will draw vertical lines at the time of future news releases. The lines must stay on the chart after the news release has happened also if the terminal is closed and opened again. 

- The EA will only draw lines for the news releases the user wants to stop trading during. For example if the user only wants to stop trading during high and medium impact news, then no lines will be drawn for low impact news. 

- The lines should be color coded.
Color, width, and style of the lines should be adjustable from the menu.
Default settings will be: 
High impact news: clrRed, width:1, style:dotted
Medium impact news: clrYellow, width:1, style:dotted
Low impact news: clrGreen, width:1, style:dotted


The EA will still manage open positions during the news. For example, if a position is open that was opened before the news release the EA will still update trailing stop and break even functions etc of that position. 



Responded

1
Developer 1
Rating
(180)
Projects
301
30%
Arbitration
54
24% / 56%
Overdue
98
33%
Free
2
Developer 2
Rating
(588)
Projects
1062
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Working
Published: 1 article, 8 codes
Similar orders
Yash Agrawal 30+ USD
// Simple EMA Bot input int FastEMA = 9; input int SlowEMA = 21; void OnTick() { double fast = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,0); double slow = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,0); if(fast > slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_BUY,0.01,Ask,10,0,0); } if(fast < slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_SELL,0.01,Bid,10,0,0); } }
Gold robot Ga1 30 - 200 USD
mport pandas as pd import numpy as np def detecter_tendance(data): # Code pour détecter la tendance pass def identifier_niveaux(data): # Code pour identifier les niveaux de support et de résistance pass def calculer_stop_loss(tendance, support, resistance): # Code pour calculer les stop loss pass def calculer_profils(tendance, support, resistance): # Code pour calculer les profils mport pandas as pd
I need modifications and restructuring of an existing MetaTrader 5 Expert Advisor (MQL5) . The current EA works with only one filter for trade entry. I need it redesigned to support 10 optional filters , with flexible configuration and improved Renko logic. I will provide the full .mq5 source code . The EA currently opens trades only when the selected filters agree in direction. 1) 10 Optional Filters System The EA
Seeking an experienced quantitative developer to build a custom, AI-powered Telegram signal parsing and trade execution system. The goal is to automatically copy trading signals from multiple Telegram providers to MetaTrader 5 with ultra-low latency and intelligent signal interpretation. Body: Looking for an experienced developer to build a custom signal copier system. Skills Required: - MQL5 / MetaTrader 5
I need a hft bot that works well on live market. I have tested some bot and they only perform on demo market. If you have any one that is profitable in the live market, pls send a message. I will need to test it before paying. Pls make sure the bot is profitable in LIVE MARKET
Mt4 ea 50 - 150 USD
looking for create ea for mt4 or mt5 which for gold which open buy and sell stop order on previous day high and previous day low , after enter the trade it will trail aggressively. need optimization and back test report. have selectable profiles for gold, forex and index. selection for trade based on fixed lot or equity base
I am looking to purchase a ready-made, proven Multi-Currency Expert Advisor MT5 (EA) from a developer/vendor. I do not have a custom strategy yet — I want to acquire a completed EA product that already trades multiple currency pairs (ideally with configurable risk management and trade management features). This is a purchase (not a custom build). What I Want ✅ EA Must Trade Multiple Instruments (Portfolio) Trades
I want a bot like the one uploaded in the video.Urgently and as soon as possible, I need a professional who can create something like what I uploaded in the video
I need an Expert Advisor based on AOX signals. It must have check and handling of trade operations errors. The main criteria for opening and closing a position: * moving average direction *the price is higher than the previous bar. Trade lots is an input parameter
Dear Developers, I am seeking a professional developer to build an institutional-grade automated trading system that operates exclusively using pending orders, with advanced and fully customizable trade management logic. This is not a basic Expert Advisor. The goal is to create a structured, intelligent, and long-term trading system with clean architecture and professional execution standards. Project Requirements

Project information

Budget
30 - 70 USD
Deadline
to 10 day(s)