Files
sigitholic 98507e3a47 Initial commit
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-24 20:22:43 +07:00

59 lines
1.5 KiB
Batchfile

@echo off
echo ========================================
echo SmartBot MT5 Setup Script
echo ========================================
echo.
echo [1/4] Checking Python installation...
python --version >nul 2>&1
if errorlevel 1 (
echo ERROR: Python not found! Please install Python 3.8+ first.
echo Download from: https://www.python.org/downloads/
pause
exit /b 1
)
echo Python found:
python --version
echo.
echo [2/4] Installing Python dependencies...
pip install -r requirements.txt
if errorlevel 1 (
echo ERROR: Failed to install Python dependencies!
pause
exit /b 1
)
echo Dependencies installed successfully!
echo.
echo [3/4] Setting up MT5 files...
echo Copying SmartBot files to MT5 directory...
copy "smart-bot.mq5" "C:\Program Files\MetaTrader 5\MQL5\Experts\smart-bot\"
if errorlevel 1 (
echo WARNING: Could not copy to MT5 directory automatically.
echo Please manually copy smart-bot.mq5 to your MT5 Experts folder.
)
echo.
echo [4/4] Creating directories...
if not exist "logs" mkdir logs
if not exist "data" mkdir data
echo Directories created!
echo.
echo ========================================
echo Setup Complete!
echo ========================================
echo.
echo Next steps:
echo 1. Open MetaTrader 5
echo 2. Navigate to Navigator > Expert Advisors
echo 3. Find "smart-bot" and drag to chart
echo 4. Configure settings in the EA properties
echo 5. Set AutoTrade = false for testing
echo 6. Run AI endpoint: python ai_endpoint_example.py
echo.
echo For help, see README.md
echo.
pause