⬡ FREE DOWNLOAD · OPEN SOURCE

Download a real trading bot — commented line by line.

Python and MQL5 code, a risk management spreadsheet and the next tutorials by email. No promises of easy money. Just the material we wish we had had when we started.

robo_exemplo.py
# Sample bot — moving average crossover # MIT License · use it, adapt it, share it import MetaTrader5 as mt5 import pandas as pd def sinal(df): df['ma_curta'] = df['close'].rolling(9).mean() df['ma_longa'] = df['close'].rolling(21).mean() if df['ma_curta'].iloc[-1] > df['ma_longa'].iloc[-1]: return 'compra' return 'venda' def executar(): mt5.initialize() rates = mt5.copy_rates_from_pos(...)

What comes in the package

📄 robo_exemplo.pyPython + MT5
📄 robo_exemplo.mq5Native MQL5
📊 gestao-risco.xlsxSpreadsheet
📕 guia-instalacao.pdfStep by step

Get it in your inbox.

Send us your best email and we send you the full package + the next tutorials (1 a week, no spam).

  • Bot commented in Python and MQL5
  • Editable risk management spreadsheet
  • MT5 installation guide
  • Weekly tutorials by email

No spam. No promises of easy money. Unsubscribe whenever you want. Privacy policy.

+1.200downloads
MITopen license
0strings attached
4.8/5average rating

Related reading