r/learnpython • u/Tight-Firefighter369 • Sep 19 '26
I’m a beginner building my first XAUUSD trading bot with Python + MT5
I’m a beginner learning to build a trading bot with Python + MT5
Hi everyone,
I’m from Brazil and I’m currently learning Python and algorithmic trading.
I’m building my first trading bot for MetaTrader 5, focused on XAUUSD (Gold).
So far, I have built:
MT5 connection with Python
XAUUSD market data collection
EMA and RSI analysis
Trend and candle analysis
A macroeconomic context module
A decision engine
Shadow mode to test signals without sending real orders
I’m currently testing everything on a demo account.
My goal is not to make money quickly. I want to learn, collect data, find problems and improve the system step by step.
I’m still a beginner, so I would really appreciate advice from more experienced developers and algo traders.
What would you recommend I focus on next?
1
u/TheRNGuy Sep 19 '26
If stock market have simulation, do it first to test algorithms, so you don't lose money.
0
u/cyrixlord Sep 19 '26
this sounds like a prompt you give to github copilot to create an application