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)
プロジェクト
1061
50%
仲裁
39
28% / 41%
期限切れ
49
5%
仕事中
パブリッシュした人: 1 article, 8 codes
類似した注文
write me a fast eurusd and btc scalping robot using ema trend filter m1 and m5 entries lowspread check, less trades, strict risk management fixed tp/sl ssesion filter and tick based exists
need an MT5 Expert Advisor for XAUUSD. The EA logic is based on Asian session range and London continuation. Main rules: 1. Asian session - User-defined start and end time - Calculate Asian High and Low - Calculate Asian range 2. Quality filter - Trade only if Asian range is between minimum and maximum values (inputs) 3. Entry - One trade setup per day - If BUY bias: Place Buy Limit at Asian Low minus buffer - If
I want to create an intraday EA designed to trade RSI pullbacks in the direction of the dominant trend during sufficient volatility, scales out profits, and automatically stands aside when market conditions stop supporting its edge. It should have the following features and are based on the following indicators: Trade FX on M15 Enter based on RSI, EMA and ATR Scale out profits using a multi-TP structure Trade only
I need a marketer who can actively sell my MetaTrader EA and generate real purchases. Offer Upfront: $50 (to start work immediately) Commission: 30% per sale on NET price (after payment processor/platform fees; VAT/taxes excluded) Commission is paid only on verified sales tracked through unique links/coupons. Your Job (what “SELL” means here) You must: Bring targeted buyers (traders, forex/crypto communities
hello great developer I am looking for a trading bot that can automatically execute trades on my behalf. I am a member of a premium Telegram signals group, and I would like the bot to place all trades automatically and atomically as soon as the signals are posted in the group. The primary issue I am facing is that the group operates during London trading hours, and I occasionally miss signals due to time differences
Strategy Development: Suggest a high-probability trading strategy based on Technical Analysis (using indicators like RSI, MACD, or Price Action). Risk Management: Explain how to calculate position sizing so I don't lose more than 1-2% of my capital per trade. Market Analysis: Teach me how to identify Support and Resistance levels and how to spot a trend reversal. Psychology: Give me 5 golden rules to maintain
A Grid EA with a hedge that open trades on a percentage based on whats is opened on the other side, closes losing trades with current profits made and utilizes a grid trading strategy combined with hedging technique to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial
I need an MT5 remote trade copier EA (manual trading mirror). Scope: Master EA + Client EA (MT5) Copies manual trades: open, close, SL/TP changes, partial close, pending orders Remote / internet-based copying via server/hosting (not LAN-only) Works across different brokers and VPS/PC locations Basic reconnect / retry logic Full MQ5 source code Assist with testing until stable
MQL5 Expert Advisor Development (MT5) I need a professional MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 with high accuracy, low drawdown, and fast execution . 🔹 Strategy Requirements: Timeframe: Scalping-friendly (M1 / M5) Indicators Used: EMA 9 EMA 12 EMA 21 VWAP (as a trend filter) RSI (for trade confirmation) 🔹 Trade Logic: Buy and Sell entries based on EMA crossover + VWAP direction
Project Summary We are looking for a highly experienced MetaTrader 5 (MT5) developer to build a pattern-based Expert Advisor (EA) focused on low-time-interval automation (15-second & 30-second logic). This is a pure MT5 project — no external platforms, no shortcuts. It should be very clean ,Efficient ,Precised ,Accurate ,No copy paste ,Low latency. If you have real experience with MT5 tick-based logic and

プロジェクト情報

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