Trading Systems Lab
Practical notes on EA building, MT5 testing, risk control, and market timing. Less hype, more systems.
How I Structure a Profitable MT5 EA From Scratch
Learn how to structure a profitable MT5 Expert Advisor from scratch. This guide covers EA architecture, MQL5 file structure, trading logic design, and production-ready best practices used in real trading systems.
MT5 EA development EA architecture MQL5 structure trading logic design algorithmic tradingFixing My Least-Winning MT5 EA: Tokyo Swing Trend (USDJPY H1) — Why Exits, Trailing, and Sizing Matter More Than Entries
I break down my “least winning” MT5 EA (Tokyo_SwingTrend_USDJPY_H1) and explain the real reasons it struggles: an ambitious 2.5R target paired with RSI pullbacks, a too-tight ATR trailing stop, and fixed minimum lot sizing. I also share practical, code-ready optimization directions: 1.5R–1.8R targets, trailing start at 1.5R with wider steps, equity-risk position sizing, and session/time logic driven by data.
MT5 EA development USDJPY algorithmic trading ATR trailing stop risk-based position sizing RSI pullback strategyTags
- Pick a session (Tokyo/London/NY) and test one idea.
- Use fixed risk per trade, then optimize only after stability.
- Bookmark your best setups and keep a track record.