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 am Searching for a Profitable EA Trading Bot. Backtest before is required. We need EA as well as Source Code. Should work on Forex, Gold or BTC. We want to backtest the EA before. Happy for your offers
Trade copier 100+ USD
hello great developer This is what I need: I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size
Hello I want to copy the trades from a cTrader Strategy Provider (Copy Trading system) to a MT5 Account. At the moment cTrader allow me only the copy the trades from the strategy provider if i allocate funds to a subaccount which cTrader opens for me automatically without account number and without password if i follow the trades from strategy provider. It copies the trades from strategy provider account to my
I will send the source code privately Note that the tradingview indicator is profitable so should be the conversion to mql5 ea... ONE WORD EA SHOULD BE PROFITABLE when fully converted.. I created the source code of the indicator and fully analyzed the data.... I NEED A WELL COOKING CODER TO FULLY WORK WITH URGENT let's work towards the future
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
Hello I'm looking for professional to create a robot to me that will enter us30 or nasdaq around 16H29-minute55-Second New York session opening Monday to Friday and put stop loss 3800 points away from entry hedging strategy
hello every one i have a sample strategy i need a expert for automatical trade on vps pls let me know if every one can summer of expert : mixed 2 EMA and hicenashi + money managment i will need test befor pay
Looking for an experienced developer to build an AI-driven trading system for MetaTrader 5. The bot should be able to: Analyze market structure (accumulation, manipulation, distribution) and 45-min pullback zones (25%, 50%, 70%) for trade decisions Integrate with Bookmap via API for real-time order flow, liquidity, and footprint data
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
Hello, I am seeking assistance in setting up a trade copier or bridge to facilitate the copying of trades from MetaTrader 5 to the Tradovate platform. I am looking for someone who can help automate my trading process, allowing trades generated by my Expert Advisor in MT5 to be copied to different accounts on Tradovate using their API.Something like in the attached image

プロジェクト情報

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