{"repo":"phatnomenal/blackXAU_AUTOMATED-BOT-TRADE","free":true,"listed":false,"github":"https://github.com/phatnomenal/blackXAU_AUTOMATED-BOT-TRADE","clone":"git clone https://github.com/phatnomenal/blackXAU_AUTOMATED-BOT-TRADE.git","description":"THIS IS AUTOMATED TRADING BOT OF GOLD ON MT5","language":"MQL5","stars":44,"topics":["gold","mql5","bot","trading-algorithms"],"license":null,"category":"trading","readme_excerpt":"H4 Zone Retest EA (MQL5) An automated trading Expert Advisor (EA) for MetaTrader 5, developed in MQL5. The EA trades gold (XAUUSD) using a multi-timeframe breakout and retest strategy: it defines the first H4 candle of each day as a trading zone, detects breakouts on the M5 chart, waits for a retest, and executes trades with risk management, trailing stops, and optional news filtering. --- Features - H4 → M5 breakout and retest trading logic - Configurable fixed lot or risk-based position sizing - Trailing stop management - Smart news filter that avoids trading around high-impact events - Spread and terminal safety checks - Dynamic lot calculation based on risk percentage Strategy Overview 1. Zone identification (H4) The EA marks the first H4 candle of the current day and stores its high and low as the trading zone boundaries. 2. Breakout detection (M5) On each new M5 candle: - A bullish breakout occurs when the candle closes above zoneHigh . - A bearish breakout occurs when the candle closes below zoneLow . When a breakout occurs, the EA starts waiting for a retest. 3. Retest entry - If price returns to the broken zone within a specified window ( MaxWaitSeconds ): - Buy on bullish retest → SL = breakout candle low, TP = 1.5 × risk distance. - Sell on bearish retest → SL = breakout candle high, TP = 1.5 × risk distance. - Uses either a fixed lot ( Lots ) or a risk-based lot ( UseRiskPercent , RiskPercent ). 4. Trade management and protection - Trailing stop control ( UseTrail","default_branch":null,"files":null,"tree":[],"storefront":"/r/phatnomenal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phatnomenal/blackXAU_AUTOMATED-BOT-TRADE/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}