Version 3.0 2026.01.21
Profit tracking has been added.
Controlled from settings.
From TrailingStop.
Controlled by setting the trailing stop to a number of pips from the trade opening.
From TrailingStep.
Version 2.0 2026.01.08
Update / What’s New in Version 2.00

Date: 2026

Changes and Improvements:

USD News Filter Added

Added the ability to automatically pause trading during high-impact USD news events.

Configurable options:

UseNewsFilter → Enable/Disable USD news filtering

NewsMinutesBefore → Minutes to stop trading before the news

NewsMinutesAfter → Minutes to resume trading after the news

IncludeMediumImpact → Option to include medium-impact news

CloseOpenOrders → Option to close open positions during news

The EA now automatically detects USD high-impact news events using MQL5 Calendar Functions (CalendarValueHistory, CalendarEventById, CalendarCountryById) and pauses/resumes trading accordingly.

Print statements are included for news detection and pause/resume notifications in the log.

Safety and Stability Improvements

Optimized trading pause/resume logic to prevent trades during volatile news events.

Minor bug fixes in grid and gap detection logic.

Summary:
This update significantly improves the EA’s risk management by avoiding trading during critical USD news events, reducing unexpected losses, and providing configurable options for safer automated trading.