Initial commit: Mad Turtle v2.0 ML EA for XAUUSD H1 with Python inference server and MQL5 EA

This commit is contained in:
Visi
2026-06-13 15:27:41 +01:00
commit a5bfac82e4
21 changed files with 13055 additions and 0 deletions
Executable
+25
View File
@@ -0,0 +1,25 @@
#!/bin/bash
# setup.sh — One-command environment setup for Mad Turtle v2.0
set -e
echo "=== Mad Turtle v2.0 Setup ==="
# Python venv
if [ ! -d .venv ]; then
python3 -m venv .venv
echo "Created .venv"
fi
source .venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install numpy onnx onnxruntime fastapi uvicorn pydantic
# Optional: for training real models (requires Python 3.11/3.12 + Xcode CLT)
# pip install scikit-learn skl2onnx pandas
echo "=== Setup complete ==="
echo "Activate venv: source .venv/bin/activate"
echo "Start server: python python/run_server.py"
echo "Then attach MadTurtle.mq5 to MT5."