Documentation

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

1

Install Dependencies

Install required Python packages

pip install -r requirements.txt
2

Choose Your Strategy

Select Gold, Forex, or NASDAQ

python main.py --config xauusd
3

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

1

Clone or Download

Get the DreBot-Pro-EA files

2

Install Dependencies

pip install -r requirements.txt
3

Configure Settings

Edit config files in configs/ folder

4

Run the Bot

python main.py --config xauusd

Trading Strategies Setup

Configure your preferred trading strategy

Gold (XAUUSD)

python main.py --config xauusd
Symbol: XAUUSD
Balance: $100,000
Lot Size: 0.25
Profit Target: 8%
Stop Loss: 1,700 points

Best for: Prop firm challenges, conservative trading

Forex Pairs

python main.py --config forex
Symbol: EUR/USD
Balance: $100,000
Lot Size: 0.5
Stop Loss: 600 points

Best for: Currency trading, more signals

NASDAQ

python main.py --config nasdaq
Symbol: NAS100
Balance: $100,000
Lot Size: 1.0
Stop Loss: 15,000 points

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

1

Market Analysis

Bot analyzes H4 and M5 timeframes simultaneously, calculating indicators like RSI, MACD, and moving averages.

2

Signal Generation

Advanced algorithms generate BUY or SELL signals based on multiple technical indicators and pattern recognition.

3

Automatic Execution

When a strong signal is detected, the bot automatically opens a position with stop loss and take profit levels.

4

Position Management

Bot continuously monitors open positions, moves trailing stops, and closes trades when targets are hit.

5

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
MetaTrader 5 terminal must be running
Symbol added to Market Watch
AutoTrading enabled in MT5

Enhanced GUI

Use the graphical interface for easier configuration and monitoring.

python gui_app_enhanced.py
Tabbed interface for all settings
Save and load configurations
Real-time trading dashboard

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
Ready to Start?

Get Started with DreBot Pro EA

Follow this documentation to set up and start automated trading today.