A fully autonomous multi-strategy trading system spanning crypto perpetual futures, CME micro futures, and forex pairs. Donchian breakout, Connors RSI mean reversion, and cointegration pairs trading, validated across 15 years of market data. Built for resilience. Hardened in production.
Each market gets the strategy that fits its structure. Crypto perpetuals run a 5-gate hourly breakout system. CME futures run a daily Donchian champion plus Connors RSI mean reversion. Forex pairs use 4H Connors RSI mean reversion plus z-score cointegration pairs trading.
Price exceeds 8-bar high/low channel plus ATR buffer, confirming genuine range expansion
Average Directional Index confirms a trending market, filtering out ranging and choppy conditions
Fast EMA(9) and Slow EMA(21) confirm directional bias matches the breakout direction
RSI > 55 for longs, RSI < 45 for shorts—momentum aligns with entry direction
4-hour EMA(55) must align with trade direction—ensures macro trend agreement
Hard bracket order on exchange
Bracket TP at 1.2R — primary profit exit (v5.8.0)
50% position closed early
SL moved to lock 1R profit (WebSocket sub-second)
Follows price at 1.5 ATR via WebSocket — no profit ceiling
Bracket SL edited to match trailing level via WS — crash-safe
Force close stale positions
939 parameter combinations tested across 39 products. One champion emerged with 100% hit rate. Out-of-sample validated across 15 years (2010–2026).
Price exceeds 20-day high or low — pure Turtle Trading entry signal on daily bars
Only long above the 200-day moving average, only short below — aligns with the macro trend
Key discovery: TP3 beats TP5 on 112 of 156 comparisons — captures the meat of the move before reversal
MGC (Gold), SIL (Silver), MES (S&P), MNQ (Nasdaq), M2K (Russell), MYM (Dow) — all validated OOS
Enter long when RSI(3) drops below 15 — extreme short-term exhaustion
Price must touch lower BB(20,2) — confirms price is truly stretched
Only buy dips above the 200-day — avoids catching knives in bear markets
Exit when price crosses back above SMA(10) — mean reversion complete
576 MR parameter combinations swept across 7 forex pairs. 1,944 pairs parameter combinations tested. Two complementary strategies on IG Markets demo, both validated OOS.
Enter long when RSI(3) < 20, short when RSI(3) > 90 — extreme short-term exhaustion on 4H bars
Price must touch lower/upper BB(20,2) — confirms price is truly stretched from the mean
Only long above 200-SMA, only short below — trade with the macro trend, not against it
Exit when price crosses back through SMA(3) — mean reversion complete, 95% of exits are clean
Enter when spread z-score exceeds threshold — pairs are statistically mispriced
Exit when z-score returns to zero — spread has normalized
30-bar OLS regression maintains dollar neutrality between legs
Force close if spread doesn’t revert within 25 bars
Markets change character. Trends, ranges, and crises each demand different behaviour. GateKeeper classifies the regime for every engine, every four hours, using the native reference instrument each asset class actually responds to — then adjusts risk parameters automatically. No manual intervention. No guesswork.
GateKeeper runs as a systemd timer every 4 hours (00:30, 04:30, 08:30, 12:30, 16:30, 20:30 UTC). State persists in JSON with transition history. The dashboard Command Center shows regime status, VIX gauge, live countdown to next scan, and full transition log — all in real time.
Every component runs as a managed systemd service with automatic restart, crash monitoring, and real-time alerting. Zero manual intervention required.
Every layer operates independently. A failure in any single layer cannot cascade—the remaining six continue protecting capital.
Hardware stop-loss and take-profit orders live on-exchange. Execute even if the bot is completely offline. The ultimate backstop.
Every position size is clamped so that (size × SL distance) / equity never exceeds 2%. Prevents outsized risk on high-volatility assets.
1R locks, partial exits, and trailing stops run sub-second via WebSocket price feed. Time-based exits and bracket detection run every 60 seconds via REST fallback. 5-attempt retry with exponential backoff on failures.
If the exchange API returns zero positions while the bot tracks active ones, the cycle is skipped entirely. Prevents catastrophic state wipe from transient API glitches.
Products that hit negative R thresholds are automatically paused. Re-reads from disk each cycle so pauses can never be silently overwritten.
7-day average daily volume must exceed $2M, plus a 4-hour short-window check catches faded pump-and-dumps. All checks use USD notional, never raw base units.
Failed close attempts, orphaned positions, and API errors trigger immediate Telegram alerts with priority escalation for human review.
Not a weekend project. This is a production system with 50+ edge cases identified and resolved through live market experience.
Hybrid mode combines core assets with algorithmically discovered trending products. Every candidate must pass ADX/ATR/volume screens AND a mini-backtest before admission.
WebSocket-powered monitoring with live equity curve + drawdown overlay, per-product breakdown, scanner with breakout levels, trade history, and 9-stat metrics grid. PWA-enabled for mobile.
Five-condition entry checklist across all universe products. Color-coded signal dots show exactly how close each market is to triggering. Scan on demand or auto-refresh.
Full strategy simulation with realistic fees, slippage, and risk-capped position sizing. Multiprocessing parameter sweep (--workers N) for parallel optimization across market regimes.
All state writes use write-to-temp-then-rename with backup files. fcntl advisory locking prevents concurrent read-modify-write races between services. Crash-proof.
Trend-following on commodities and crypto, mean reversion on equity indices. Strategies are anti-correlated — MR profits in bulls, Donchian profits in bears. Asset class diversification across metals, energy, equities, and crypto.
Every fix below was discovered through real trading, not theoretical review. The system gets stronger with every edge case encountered.
Designed for unattended operation. The system monitors itself, restarts crashed services, and alerts on anomalies.
# Verify all services with one command $ for s in cb-perp-bot ibkr-bot ig-bot pairs-bot trade-alerts bot-monitor dashboard log-watcher; do printf '%-20s %s\n' $s $(systemctl is-active $s) done cb-perp-bot active ibkr-bot active ig-bot active pairs-bot active trade-alerts active bot-monitor active dashboard active log-watcher active # Timer-based services universe-updater active # every hour ibkr-univ-updater active # daily 22:30 UTC daily-summary active # midnight UTC performance-tracker active # periodic stats
Receive trade signals across crypto perpetuals, CME micro futures, and forex. Every signal is generated by the same sweep-validated strategies running in production. Information only — no fund management, no API key access.
Information-only service. GateSig provides trade signals and market analysis. We do not manage funds, access your exchange accounts, or provide API keys. All trading decisions are yours. Past performance does not guarantee future results. Crypto payments accepted.