Turnstile Order Gateway
Pre-Trade Checks & Guarded Order Execution for MT5
What it does
Developer library for MetaTrader 5 that sits between your EA and OrderSend. Every request passes nine broker-rule checks (connection, Algo Trading, symbol mode, session, order type, volume, stop level, margin, OrderCheck) before it is sent; closes and modifications blocked by the freeze level, a closed session or a lost connection are queued and retried automatically. 22 functions, fully documented; it never trades on its own.
Features
- 9-Gate Pre-Flight Check Before Every OrderSend
- Session, Symbol-Mode, Stop-Level & Freeze-Level Guards
- Risk-Money & Margin-Capped Volume Sizing
- Retcode-Aware Retries with Automatic Filling Fallback
- Deferred Close/Modify Queue for Freeze Zones & Closed Sessions
- Reason Codes, Retcode Classes & Execution Statistics
Risk warning: trading on margin carries a high level of risk and can lose more than you expect. Tools and indicators do not guarantee results, and past or simulated performance does not predict future results. Test on a demo account first.