Laboratório de Sistemas de Trading

Notas práticas sobre desenvolvimento de EAs, testes no MT5, controle de risco e a hora de entrar. Menos alarde, mais sistema.

Dica: use palavras curtas como “Londres”, “ATR”, “spread” ou “JPY”.

The Track Record Starts at One

Live is the one window you cannot re-run or retune. The bug that made every backtest run a different program, a reporting pipeline that cannot lose a trade, the divergences nobody warns you about — and our own record, published from its first trade rather than its thirtieth.

MQL5 MT5 expert advisor live trading track record backtest vs live reporting
2026/09/16

A Backtest Is Not Evidence

The MT5 strategy tester will always find settings that would have worked. The nine-rule gate we run our own presets through, the two rules we had to add after our own results slipped past the first seven, and why every rejected tune stays published.

MQL5 MT5 backtesting strategy tester out of sample overfitting walk-forward
2026/09/16

A Bad Day Is Not a Bad Strategy

Three layers decide whether an EA may trade at all, watching three different lengths of time: this bar, today, and this quarter. Session and spread gates, account-level caps that count currencies rather than symbols, and the rolling profit factor that notices when a regime edge stops working.

MQL5 MT5 risk management expert advisor kill switch drawdown backtesting
2026/09/16

Every Failure Must Fail Toward Zero

Sizing is the only code in an EA that can end the account in one order. Lot size from real tick values, why risk-based sizing must refuse rather than round up, the floating-point bug that eats a whole volume step, and what happens when the broker widens the stop you already sized for.

MQL5 MT5 position sizing risk management expert advisor lot size
2026/09/16

The Numbers Are Not in the Code

A backtest belongs to a set of values, not to the source that produced it. Input schemas, three kinds of version, why every number should carry its reason, and the .set file format trap that turns generated presets into junk.

MQL5 MT5 Expert Advisor EA development preset files backtesting reproducibility tutorial course
2026/09/16

One File Decides, Another File Acts

Where you draw the line between deciding and trading is the most consequential decision in an EA. A strategy module you can call with plain numbers, a verdict that explains itself — and the failed strategy that proved it was worth it.

MQL5 MT5 Expert Advisor EA development architecture testing tutorial course
2026/09/16

Your First EA Places No Trades

Your first Expert Advisor should read the market and publish what it thinks — nothing more. Build the signal-only EA that fills our signals page, from its real source, and learn why every read uses the last closed bar.

MQL5 MT5 Expert Advisor EA development closed bars tutorial course
2026/09/16

Categorias

Como usar este blog
  • Escolha uma sessão (Tóquio/Londres/Nova York) e teste uma ideia de cada vez
  • Mantenha o risco fixo por operação e só otimize depois que o resultado estabilizar
  • Guarde as configurações que funcionaram e vá montando um histórico