Complete Setup Guide
for DreBot Pro EA
Everything you need to know to get started with automated trading. From installation to advanced configuration.
Quick Start Guide
Get up and running in minutes
Install Dependencies
Install required Python packages
pip install -r requirements.txt
Choose Your Strategy
Select Gold, Forex, or NASDAQ
python main.py --config xauusd
Start Trading
Bot analyzes and trades automatically
Press Ctrl+C to stop
Installation & Setup
System requirements and installation steps
System Requirements
Python 3.8+
Required for running the trading bot
MetaTrader 5 (Optional)
For live trading with real market data
Python Packages
pandas, numpy, matplotlib, MetaTrader5
Windows OS
MT5 connector works on Windows
Installation Steps
Clone or Download
Get the DreBot-Pro-EA files
Install Dependencies
pip install -r requirements.txt
Configure Settings
Edit config files in configs/ folder
Run the Bot
python main.py --config xauusd
Trading Strategies Setup
Configure your preferred trading strategy
Gold (XAUUSD)
python main.py --config xauusd
Best for: Prop firm challenges, conservative trading
Forex Pairs
python main.py --config forex
Best for: Currency trading, more signals
NASDAQ
python main.py --config nasdaq
Best for: Stock index trading, bigger swings
Safety Features
Built-in risk management to protect your capital
Daily Drawdown Limit
Automatically stops trading if daily loss exceeds 4.6% to protect your account.
Automatic Stop Loss
Every trade is protected with intelligent stop loss placement to limit losses.
Profit Target
Automatically stops trading when profit target is reached (e.g., 8% for prop firms).
Trailing Stops
Dynamically moves stop loss to lock in profits as trades move in your favor.
Trading Hours
Only trades during specified hours (default: 02:00-22:00) to avoid low liquidity periods.
Position Sizing
Equity-based position sizing automatically adjusts based on account balance.
How Automatic Trading Works
Understanding the trading cycle
Market Analysis
Bot analyzes H4 and M5 timeframes simultaneously, calculating indicators like RSI, MACD, and moving averages.
Signal Generation
Advanced algorithms generate BUY or SELL signals based on multiple technical indicators and pattern recognition.
Automatic Execution
When a strong signal is detected, the bot automatically opens a position with stop loss and take profit levels.
Position Management
Bot continuously monitors open positions, moves trailing stops, and closes trades when targets are hit.
Risk Management
Every cycle checks daily drawdown limits, account equity, and risk parameters to ensure safe trading.
Advanced Options
Additional features and configurations
Live Trading with MT5
Connect to MetaTrader 5 for real market data and live trading.
python main.py --config xauusd --mt5
Enhanced GUI
Use the graphical interface for easier configuration and monitoring.
python gui_app_enhanced.py
Backtesting
Test strategies on historical data before live trading.
python main.py --mode backtest --config xauusd --days 30
Custom Update Speed
Adjust how often the bot analyzes the market.
python main.py --config xauusd --interval 30
Updates every 30 seconds (default: 60 seconds)
Troubleshooting
Common issues and solutions
No trades are happening
This is normal! The bot is selective and waits for strong signals. To see more trades:
- Lower signal_strength in config file
- Try different market (forex trades more frequently)
- Connect to MT5 for real market data
MT5 connection errors
Ensure the following:
- MetaTrader 5 terminal is running
- Symbol is added to Market Watch
- AutoTrading is enabled in MT5
- MetaTrader5 Python package is installed
How to stop the bot
Press Ctrl+C in the terminal, or click "STOP TRADING" in the GUI. The bot will safely close all positions and stop.
Configuration file errors
Check that your JSON config files are valid:
- Use a JSON validator to check syntax
- Ensure all required fields are present
- Check file paths are correct
- Restore from backup if needed
Get Started with DreBot Pro EA
Follow this documentation to set up and start automated trading today.