Enhance Existing News Protector EA – Auto Cleanup with FXStreet News via DLL (Currency Filter + Impact Colors)

Termos de Referência

Project Description

I already have a working Protector EA (Version 1.00) that connects to the FXStreet Economic Calendar via DLL and can automatically enable or disable trading activity around high-impact news events.

Now I need an extension that adds:

Automatic cleanup of pending orders,

Variable pause and resume times around news events,

Selectable impact levels (High / Medium / Low),

Currency filtering (for example USD only),

and a visual newsboard in the chart with color-coded upcoming events.


⚠️ Important:
This EA must not disable or interfere with any other Expert Advisors running in the same terminal.
It should only manage its own cleanup logic.


---

✅ Required Features

1️⃣ News Integration (FXStreet via DLL)

Continue using the existing FXStreet DLL feed already used by Protector V1.00.

Automatically read and process upcoming economic events, including:

Event time

Currency

Impact (High / Medium / Low)

Event title



2️⃣ News Display (Chart Newsboard)

Show upcoming news events directly on the chart (top-left corner).

Display should include event time, currency, impact, and title.

Limit the number of displayed events (e.g. top 5).

Automatically refresh when new data is received.


3️⃣ Impact Colors

Use distinct colors for each impact level for better visibility:

High = Red

Medium = Gold

Low = Silver


These colors should be user-adjustable through inputs.


4️⃣ Currency Filter

Add a user input to define which currencies are relevant (e.g. “USD” or “USD,EUR”).

The EA should only pause its cleanup routine for news events that match one of the listed currencies.

Example: for Gold trading, only USD-related news should trigger a pause.


5️⃣ Cleanup Logic

The EA should continuously monitor and delete all pending orders that are too close to the current market price.

Example: if the distance is less than a user-defined number of pips (e.g. 500 PIPs), the order should be removed.

Only pending orders (Buy/Sell Limit/Stop) should be affected; market orders remain untouched.


6️⃣ Pause / Resume Timing Around News

Stop the cleanup process a set number of minutes before a news event (e.g. 1 minute).

Resume cleanup a set number of minutes after the event (e.g. 120 minutes).

Both pre- and post-news times must be user-configurable.

The pause should apply only to the selected impact levels and filtered currencies.


7️⃣ Impact Filter

The user can choose which news types affect the cleanup process (High, Medium, Low).

Cleanup should continue for all other news events that do not match the selected impact levels.



---

🧠 Technical Info

Existing EA: Gold Scalping Expert Protector V1.00

News Source: FXStreet Economic Calendar (via DLL)

Platform: MetaTrader 4 (MQL4)

The EA must compile cleanly (no warnings or errors).

The EA must not interfere with or disable other EAs in the same terminal.



---

🕒 Timeline

Development time: 1 day

Testing period: 5 days (to verify DLL data, chart display, pause/resume accuracy, and cleanup behavior)


Respondido

1
Desenvolvedor 1
Classificação
(83)
Projetos
142
51%
Arbitragem
8
13% / 75%
Expirado
21
15%
Trabalhando
1
Desenvolvedor 1
Classificação
(295)
Projetos
473
40%
Arbitragem
103
41% / 23%
Expirado
78
16%
Ocupado
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(1)
Projetos
2
0%
Arbitragem
0
Expirado
1
50%
Livre
3
Desenvolvedor 3
Classificação
(1)
Projetos
0
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Pedidos semelhantes
I need a professional MT5 Expert Advisor (MQL5). Strategy requirements: - Works on XAUUSD and XAGUSD (Gold & Silver) and Forex pairs - Scalping strategy: small frequent profits - Timeframe: M5 and M15 - Very safe risk management - Fixed Stop Loss and Take Profit - No martingale - No grid - No hedging Entry logic: - Based on breakout + trend confirmation - Use EMA 50 and EMA 200 - Use RSI filter - Trade only in strong

Informações sobre o projeto

Orçamento
30 - 100 USD
Prazo
para 7 dias