MT5 API guides for developers
Working notes on connecting MetaTrader 5 to real software — REST endpoints, webhook delivery, copy-trading mechanics, and the constraints that actually bite in production.
- 6 min read
Buy limit vs buy stop: MT5 pending orders explained
Buy limit vs buy stop, sell limit vs sell stop: where each pending order sits relative to price, when to use which, and how to place them in MT5 or over an API.
Order TypesMetaTrader 5Pending OrdersTrading Basics - 5 min read
ECN vs STP vs market maker: how forex brokers execute
ECN, STP and market maker brokers explained: how each fills your order, A-book vs B-book, how they make money, and how to tell which is yours.
Forex BrokersOrder ExecutionTrading CostsForex Basics - 5 min read
Export MT5 trade history to Excel or CSV
How to export MT5 trade history to Excel: the built-in report, what it leaves out, and a short Python script that exports any number of accounts to CSV.
Trade HistoryMetaTrader 5ExcelPython - 5 min read
What is spread in forex? Why it widens at rollover and news
Forex spread explained: bid and ask, spread cost in pips and dollars, why spreads widen at rollover and news, raw vs standard accounts.
SpreadTrading CostsForex BasicsMetaTrader 5 - 6 min read
Forex trading sessions: the best time to trade forex
Forex market hours in UTC for Sydney, Tokyo, London and New York, the overlaps that matter, how DST shifts them, and how to find your own best session.
Forex SessionsTrading BasicsMarket HoursTrading Analytics - 5 min read
How to sell trading signals: from MQL5 to your own service
How to become a forex signal provider: three ways to sell signals, what subscribers check before paying, and delivering by Telegram or copier.
Trading SignalsSignal ProviderCopy TradingTelegram - 5 min read
Kelly criterion in trading: why traders use half-Kelly
The Kelly criterion formula for trading, worked from win rate and win/loss ratio, why full Kelly is too aggressive, and how to turn it into lots.
Position SizingKelly CriterionRisk ManagementTrading Metrics - 4 min read
Leverage in forex explained: margin, risk and the real limits
What leverage in forex means: how 1:30 to 1:500 change margin but not pip value, effective leverage, regulatory caps, and choosing a safe level.
LeverageMarginForex BasicsRisk Management - 5 min read
Martingale and grid strategies: the risk math backtests hide
How martingale and grid strategies work, the exact math of why they blow accounts, why backtests look so good, and how to cap the damage.
MartingaleGrid TradingRisk ManagementExpert Advisors - 5 min read
How to backtest in MT5: the Strategy Tester, done properly
How to backtest an EA in the MT5 Strategy Tester: modelling modes, spread and delay settings, optimisation without overfitting, and live checks.
BacktestingStrategy TesterMetaTrader 5Expert Advisors