News filter function for mt5 expert advisors

MQL5 エキスパート

仕事が完了した

実行時間13 日
依頼者からのフィードバック
great work. All works as requested
開発者からのフィードバック
Many thanks!

指定

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. 



応答済み

1
開発者 1
評価
(180)
プロジェクト
301
30%
仲裁
54
24% / 56%
期限切れ
98
33%
2
開発者 2
評価
(588)
プロジェクト
1062
50%
仲裁
39
28% / 41%
期限切れ
49
5%
仕事中
パブリッシュした人: 1 article, 8 codes
類似した注文
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
Dear Developer, I am currently experiencing several structural and logical limitations in the existing bot system, and I am seeking a complete professional upgrade to a fully automated, intelligent trading solution. The objective is to preserve the core SMC strategy while significantly improving precision, automation, multi-timeframe alignment, and trade quality. Below are the required specifications: 1. Dynamic
The EA should be designed to react to very fast price movements on the M1 timeframe on XAUUSD. Logic overview: • When price moves up quickly, the EA should place a sell order. • The initial stop loss must be set exactly at the entry price. • A very tight trailing stop must be activated immediately. Sell trade behavior: • If price moves a few pips in favor after entry, the trade should close with a small profit via
Hello there Hpe you are doing good I am in search of a pine script expert developer who can build strategy in apudFlow in pinescript. Kinldy bid on this project if you can do this
Forex 30 - 200 USD
Develop an Expert Advisor trading trend reversals. Reversal signals will be generated based on Price Action patterns. Trend will be determined based on ADX, Alligator and MACD, while the indicator selection should be available in the EA's input parameters
I need a scalping-specific logic MT5 trading bot with a Donchian-channel–based dynamic stop-loss and take-profit system, applies RSI volatility filtering to avoid low-quality setups, and allows asset-specific adjustable parameters for fine-tuning performance Trading details: - Symbol: Any Forex EUR/USD - Platform: MT5 - Strategy type: Scalping (fast trades) - Timeframes: 5sec/ M1 / M5 - Fixed Stop Loss and Take
I am looking for an experienced MQL4/MQL5 developer to build an Expert Advisor with the following specific behavior: • Place buy and sell orders with entry price equal to the stop loss Stop loss should trigger immediately when the trade goes into a small loss Trailing stop should activate immediately once the trade is in profit Designed for micro-scalping (very small price movements) Proper handling of spread
deseo un bot que genere una orden de compra y una orden venta simultanea, con una distancia no muy lejos una de la otra para aplicarla en el par oro/dolar. el bot requiere que al momento que se active una de las dos ordenes, la de compra o la de venta y se cierre la operacion en positivo, vuelva a generar una nueva orden siguiendo la tendencia del mercado
1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is

プロジェクト情報

予算
30 - 70 USD
締め切り
最高 10 日