I need a fully automated trading bot for MetaTrader 5 that can open and close positions around major U.S. news releases, specifically Non-Farm Payrolls (NFP) and CPI. Before each release I will enter the exact price level where I want to sell; at the scheduled announcement the bot must instantly check that price and, if it is reached or crossed, execute the trade without manual intervention. To achieve this, the code has to: • Pull the NFP and CPI release times automatically via a reliable news-feed API so I never have to update the calendar by hand. • Monitor price in real time on the selected symbol up to the second of the announcement, then trigger the order logic I define (sell at my preset level, with my chosen lot size, stop-loss and take-profit). • Handle basic risk controls—slippage guard, maximum spread filter, and automatic shutdown after a set number of consecutive losses. • Run smoothly on the latest MT5 build and be packaged as an Expert Advisor that I can attach to any chart. Acceptance criteria: after installation on a demo account the EA must execute at least one test trade at a simulated news time using the above logic, log all actions clearly, and show no compile errors or terminal warnings.