Auto-close when you exceed your rules
If you configure Risk-config for an account, the journal watches every 60s. If you've exceeded any limit (daily drawdown, losing streak, etc.), it tries to close all open positions via the platform's connector.
The essentials
- Binance, ByBit (via REST API). cTrader (via OAuth2). MT4/NinjaTrader/Tradovate.
- MT5 (from JTTS_EA v4.1) — double-layer architecture: EA evaluates limits every tick + server evaluates every 60s as backup.
- The EA ONLY executes closes — never opens trades, never modifies orders (propfirm compliance).
Platforms with active auto-close
- ✓ Binance, ByBit (via REST API).
- ✓ cTrader (via OAuth2).
- ✓ MT4, NinjaTrader, Tradovate.
- ✓ MT5 (from JTTS_EA v4.1) — double-layer architecture: EA evaluates limits every tick (~ms latency) and closes positions immediately; server acts as backup via command polling every 60s.
Technical guarantees on MT5
- The EA ONLY executes closes — never opens trades, never modifies orders (propfirm compliance).
- If you try to open a position while blocked by risk, the EA closes it instantly.
- The block holds until UTC day change (00:00).
- Every EA action is logged in Risk → History tab for audit.
Important
Requirements on MT5: JTTS_EA loaded on a chart (any one) with AutoTrading on. Risk-config rules download automatically and refresh every 5 minutes.
Related
Custom risk rules
The Risk page (menu, Accounts group) lets you define your own discipline limits per account, with two tabs: Configuration and History. They're not the propfirm's rules — they're yours, stricter, to stop you BEFORE violating the broker's.
Risk History
In Risk → History tab (/risk-config/events) you have the full history of risk events: every time JTTS_EA or the server engine has blocked your account, auto-closed positions or rejected an opening for exceeding a limit.
Connect MT5 with JTTS_EA
JTTS_EA is the MetaTrader 5 Expert Advisor that syncs your trades and applies Risk-config rules in real time.