I need a small “Gatekeeper” EA that sits alongside my existing main EA and decides, in real time, whether the main EA is allowed to open new trades. Core logic • A trade block toggles ON or OFF only when BOTH the Volume indicator and the ATR indicator hit the custom thresholds shown in the reference image I’ll supply. • The body-strength filter must also be met: candle body ≥ 60 % of its range (user input; 0 disables the check). Alerts & interface • When the block status changes, I want a single combined pop-up (and mobile push) that simply reads “ON <symbol> Trading” or “OFF <symbol> Trading”, where <symbol> is drawn from the chart the Gatekeeper is attached to. • Because it is one alert for all pairs, the EA must loop through every attached chart and generate its message accordingly. Behaviour options • The same ON/OFF logic must work whether price is moving above or below the thresholds, flipping direction automatically. • When trading is OFF I need an input switch that, if set to true, immediately closes every open position the main EA owns; if false, positions remain untouched. Technical notes • The Gatekeeper cannot rely on MT5’s top-right One-Click panel; it must work entirely through code, sending any trade-lock commands externally to the running main EA (you may need to verify this is technically permitted before we start). • Clean, well-commented MQL5; no crashes, freezes, or unhandled errors. If a defect appears in live use, the job is not complete. Deliverables 1. Compiled EA (.ex5) and full source (.mq5). 2. Brief setup guide outlining input parameters, installation, and how the Gatekeeper communicates with the main EA. If any requirement is unclear, please highlight it before coding so we avoid rework.