⬡ FREE DOWNLOAD · OPEN SOURCE

Download a real trading bot — commented line by line.

Code in Python and MQL5, a risk-management spreadsheet and upcoming tutorials by email. No promise of easy profit. Just the material we wish we'd had to start.

example_bot.py
# Example bot — moving-average crossover # MIT License · use, adapt, share import MetaTrader5 as mt5 import pandas as pd def signal(df): df['ma_short'] = df['close'].rolling(9).mean() df['ma_long'] = df['close'].rolling(21).mean() if df['ma_short'].iloc[-1] > df['ma_long'].iloc[-1]: return 'buy' return 'sell' def run(): mt5.initialize() rates = mt5.copy_rates_from_pos(...)

What's in the package

📄 example_bot.pyPython + MT5
📄 example_bot.mq5Native MQL5
📊 risk-management.xlsxSpreadsheet
📕 install-guide.pdfStep by step

Get it in your inbox.

Send your best email and we'll send the complete package + the upcoming tutorials (1 a week, no spam).

  • A bot commented in Python and MQL5
  • An editable risk-management spreadsheet
  • An MT5 installation guide
  • Weekly tutorials by email

    No spam. No promise of easy profit. Cancel anytime. Privacy policy.

    1,200+downloads
    MITopen license
    0obligations
    4.8/5average rating