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
評価
(586)
プロジェクト
1047
49%
仲裁
39
28% / 41%
期限切れ
49
5%
類似した注文
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

プロジェクト情報

予算
30 - 70 USD
VAT(付加価値税) (19%): 5.7 - 13.3 USD
合計: 35.7 - 83.3 USD
開発者用
27 - 63 USD
締め切り
最高 10 日