Notes on building better trading bots.
Practical notes on building, converting and testing MT4 and MT5 trading bots: MQL4 and MQL5 code, Strategy Tester workflows and the mistakes to avoid.
- Fundamental vs. Technical Analysis: Which Should You Use? — — Understand fundamental vs. technical analysis, compare their strengths and limitations, and learn how traders can use both approaches together.
- Gold vs. the US Dollar: How They're Connected — — Learn why gold and the US dollar often move in opposite directions, how interest rates affect both, and why their relationship can change.
- How Interest Rates Affect Stocks, Forex, and Gold — — Learn how interest rates influence stock prices, currency pairs, and gold, and why central bank decisions can affect each market differently.
- How the S&P 500, US Dollar and Gold Move Together — — Learn how the S&P 500, US dollar and gold interact, what drives their movements, and how traders can use these relationships in market analysis.
- The Most Important Prop Firm Rules (and How Traders Break Them) — — Learn the key prop firm rules on drawdown, daily losses, consistency, news trading, and payouts—and how traders accidentally break them.
- What Is Quant Trading? Explained Simply — — Learn what quant trading is, how quantitative strategies work, common examples, and the risks beginners should understand before using them.
- What Is Seasonality in Trading? Larry Williams' Approach Explained — — Learn how market seasonality works, what Larry Williams is known for, and how to test seasonal patterns before relying on them.
- What Is the COT Report? A Simple Explanation for Traders — — Learn what the COT report shows, how to read trader positions, and how to use COT data to understand market sentiment.
- Trend Following EAs: When They Work and When They Die — — Why trend-following Expert Advisors that look great in backtests struggle live, and the regime, cost and correlation filters to build into one.
- Why Many Traders Misuse ATR (and How to Use It Properly) — — ATR is everywhere, and often misused. What Average True Range really measures, why one fixed setting fails, and how to code ATR stops, filters and sizing.
- Coding Custom Indicators in MQL5: A Practical Guide — — Build a custom MQL5 indicator from scratch. The #property setup, indicator buffers, OnCalculate, prev_calculated and the mistakes that slow indicators down.
- Converting MQL4 to MQL5: 7 Things to Remember — — Porting an EA or indicator from MT4 to MT5? The seven MQL4 to MQL5 changes that matter most, from trade requests and positions to indicator handles.
- OnNewBar: Run Your Trading Bot Once per Candle in MQL4 and MQL5 — — MetaTrader has no OnNewBar event. A small, reusable pattern to run your EA's logic once per candle in MQL4 and MQL5, and the mistakes that cause repeat signals.
- MQL4 vs MQL5: The Differences That Matter for Your Code — — MQL4 and MQL5 look alike but work differently. How trading, events, indicator handles and price data differ between MetaTrader 4 and MetaTrader 5 code.