8.8 KiB
🎓 QuantumBotX Beginner's Guide
Welcome to QuantumBotX, your personal AI-powered trading assistant! This guide will help you get started with the platform, understand its core concepts, and begin your journey toward automated trading success.
🚀 Getting Started
What is QuantumBotX?
QuantumBotX is an intelligent, modular trading bot platform built for MetaTrader 5 (MT5). It combines professional trading strategies with beginner-friendly features, educational tools, and cultural awareness to create a comprehensive trading experience.
Key Features for Beginners:
- 🎯 Progressive Learning Path: Structured learning from Week 1 to Month 3
- 📚 Strategy Difficulty Ratings: 2-12 complexity scale with automatic recommendations
- 🛡️ Beginner Safeguards: Parameter validation prevents dangerous settings
- 🎓 Educational Framework: Every setting explained in plain English
- 🤖 ATR-Based Risk Management: Automatic position sizing that adapts to market volatility
🛠️ Installation & Setup
Prerequisites
- MetaTrader 5 Terminal: Must be installed and running on your computer
- MT5 Account: Demo or live account with your broker
- Python 3.10+: Required for running the application
Installation Steps
-
Clone the repository:
git clone https://github.com/chrisnov-it/quantumbotx.git cd quantumbotx -
Create a Python virtual environment:
python -m venv venv # On Windows .\venv\Scripts\activate # On macOS/Linux source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt -
Configure your environment:
cp .env.example .env # Edit the .env file with your MT5 credentials -
Run the application:
python run.py
🎮 Navigating the Dashboard
Once the application is running, open your web browser and go to http://127.0.0.1:5000 to access the dashboard.
Main Navigation
- Dashboard: Overview of your trading performance and statistics
- Trading Bots: Create, manage, and monitor your trading bots
- Backtester: Test strategies with historical data
- AI Mentor: Get personalized trading advice and education
- Strategy Switcher: Automatic strategy optimization system
- Portfolio: Track your overall trading performance
- Market Data: View real-time market information
🤖 Creating Your First Trading Bot
Step 1: Choose a Strategy
For beginners, we recommend starting with these simple strategies:
- MA_CROSSOVER: Simple moving average crossover (Complexity: 2/10)
- RSI_CROSSOVER: Relative Strength Index momentum strategy (Complexity: 3/10)
- TURTLE_BREAKOUT: Breakout trading strategy (Complexity: 2/10)
Step 2: Set Up Your Bot
- Navigate to the "Trading Bots" page
- Click "Buat Bot Baru"
- Fill in the basic information:
- Bot Name: Give your bot a descriptive name
- Market: Choose your trading pair (e.g., EURUSD, XAUUSD)
- Risk per Trade: Start with 1.0% (never exceed 2%)
- SL/TP Multipliers: Use the default ATR-based values (2.0 for SL, 4.0 for TP)
- Timeframe: H1 (1 hour) is recommended for beginners
- Check Interval: 60 seconds is fine for most strategies
Step 3: Configure Strategy Parameters
For your first bot, use the beginner-friendly defaults:
- MA_CROSSOVER: Fast period 10, Slow period 30
- RSI_CROSSOVER: RSI period 14, MA period 7
- TURTLE_BREAKOUT: Entry period 15, Exit period 8
Step 4: Start Trading
- Save your bot configuration
- Click the "Start" button to begin trading
- Monitor your bot's performance on the dashboard
📊 Understanding Risk Management
ATR-Based Position Sizing
QuantumBotX uses Average True Range (ATR) to automatically adjust your position size based on market volatility:
- Low Volatility: Larger positions (safe markets)
- High Volatility: Smaller positions (protects your capital)
Special Protections
- Gold (XAUUSD) Protection: Ultra-conservative settings automatically applied
- Crypto Protection: Weekend mode and volatility filters for cryptocurrencies
- Emergency Brake: System automatically skips dangerous trades
🎓 Learning Path for Beginners
Week 1-2: Foundation
- Strategy: MA_CROSSOVER
- Focus: Learn basic trend following
- Practice: Demo trading with 0.01 lots
- Goal: Understand moving averages and crossovers
Week 3-4: Momentum
- Strategy: RSI_CROSSOVER
- Focus: Learn momentum analysis
- Practice: Combine with moving averages
- Goal: Understand RSI and momentum concepts
Week 5-6: Breakouts
- Strategy: TURTLE_BREAKOUT
- Focus: Learn breakout trading
- Practice: Practice entry/exit timing
- Goal: Identify support/resistance levels
🧪 Backtesting Your Strategies
Before trading live, always backtest your strategies. Backtesting allows you to test your strategies on historical data to see how they would have performed.
How Backtesting Works
Backtesting in QuantumBotX works completely offline - you don't need an internet connection or MT5 terminal running. All you need is historical data in CSV format.
Getting Historical Data
QuantumBotX provides a convenient script to download historical data from your MT5 account:
- Ensure MT5 terminal is running and you're logged in
- Configure your MT5 credentials in the
.envfile - Run the download script:
python lab/download_data.py
This script will automatically download data for popular symbols and save CSV files to the lab/backtest_data/ directory.
Manual Data Download
If you prefer to download data manually or have data from other sources:
- Navigate to the
lab/backtest_datadirectory - Place your CSV files there with the naming convention:
{SYMBOL}_{TIMEFRAME}_data.csv(e.g.,EURUSD_H1_data.csv) - Ensure your CSV files have the required columns: time, open, high, low, close, volume
Running a Backtest
- Go to the "Backtester" page in the dashboard
- Select your strategy and market
- Choose a historical data period
- Run the backtest
- Review the results:
- Profit factor (aim for >1.5)
- Win rate (aim for >55%)
- Maximum drawdown (<30% is acceptable)
- Total trades executed
Interpreting Backtest Results
- Profit Factor: The ratio of gross profits to gross losses (>1.5 is good)
- Win Rate: Percentage of winning trades (>55% is acceptable)
- Maximum Drawdown: Largest peak-to-trough decline (<30% is acceptable)
- Sharpe Ratio: Risk-adjusted return (higher is better)
🎯 Best Practices for Success
For Demo Trading
- Treat Demo Like Real Money: Make emotional decisions as if you were risking real capital
- Keep a Trading Journal: Record every trade and your reasoning
- Focus on One Strategy: Master it completely before trying others
- Review Every Trade: Analyze both wins and losses
Risk Management Rules
- Never risk more than 2% of your account per trade
- Always use stop losses - no exceptions
- Maintain a 1:2 risk-reward ratio minimum
- Diversify across markets but not strategies
Moving to Live Trading
- Demo for at least 30 days with consistent profitability
- Start with micro lots (0.01) even with a live account
- Monitor emotions - fear and greed are your biggest enemies
- Gradually increase position size only after consistent profits
🌙 Cultural Features
QuantumBotX automatically adapts to religious holidays:
Ramadan Trading Mode
- Automatically activates during Islamic holy month
- Respects prayer times with trading pauses
- Includes Zakat calculator and charity tracker
- Features patience reminders and optimal trading hours
Christmas Trading Mode
- Activates during Christmas period
- Reduces risk during holiday season
- Applies special UI themes and decorations
🆘 Getting Help
AI Mentor
The AI Mentor provides personalized trading advice:
- Click the AI button on the dashboard
- Ask questions about strategies or market conditions
- Get educational explanations for trading concepts
Error Handling
If you encounter issues:
- Check the application logs in the
logs/directory - Ensure MT5 terminal is running
- Verify your
.envconfiguration - Restart the application if needed
📈 Next Steps
After mastering the basics:
- Explore Advanced Strategies: Try BOLLINGER_REVERSION and PULSE_SYNC
- Use Strategy Switcher: Enable automatic strategy optimization
- Customize Parameters: Fine-tune strategies for specific markets
- Expand to Multiple Markets: Trade Forex, Gold, and Crypto
Remember: Trading involves significant risk. Always start with demo accounts and never risk money you cannot afford to lose. QuantumBotX is designed to help you learn and trade more effectively, but success depends on your discipline and risk management.