MT5 Inside Bar S&D Bot

Заказчик: AI | Опубликовано: 26.09.2025

I need a MetaTrader 5 Expert Advisor that opens and manages trades only when an inside-bar pattern forms inside the Supply or Demand zones I draw on the chart. The EA must read my manually marked rectangles / lines, so there is no automatic zone detection—just respect what I place. Core logic • Detect inside-bar setup on the active timeframe. • Confirm the pattern lies completely within my drawn Supply or Demand zone before taking a position in the zone’s direction. Risk management • Stop Loss on the opposite side of the zone (or the mother-bar, selectable). • Take-Profit distance fully adjustable. • Lot size manually set by me from the inputs (fixed value; no need for auto-percentage sizing). Essential features • Works in the MT5 Strategy Tester for forward and visual back-tests. • Clear, editable inputs for SL/TP, lot size, timeframe filter, and zone colors/labels. • Non-repainting, event-driven code that handles reconnections and platform restarts cleanly. Deliverables 1. Well-commented .mq5 source file. 2. Compiled .ex5 ready to attach to charts. 3. Brief PDF or text guide explaining every input and how the EA identifies my zones. Please include examples of past MQL5 EAs or indicators you have coded and let me know your estimated turnaround time. Clean, efficient code and reliable execution are more important to me than flashy extras.