Skip to content

Knowledge library

Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

3,012 documents

MQL5 articles

This installment of the DoEasy library series describes organizing historical bars into a collection indexed by both trading symbol and timeframe. The collection is intended to give an MQL5 program access to the requested number of bars for every configured…

StatisticsExecution
MQL5 articles

This article translates Larry Williams’s short-term and intermediate-term market structure concepts into an MQL5 Expert Advisor. A short-term swing low is a low surrounded by higher lows, while a swing high is surrounded by lower highs; intermediate swings…

Technical indicatorsTrend followingRisk managementPosition sizing
MQL5 articles

This beginner guide explains the Variable Index Dynamic Average (VIDYA), a lagging trend indicator that adjusts its smoothing using the absolute value of the Chande Momentum Oscillator. It describes the calculation in terms of an EMA smoothing factor and…

Technical indicatorsTrend followingMomentumForex
MQL5 articles

The article frames stop-outs as a problem of price moving against a correct directional view before eventually reversing. It argues that simply widening stops creates inconsistent risk, while waiting for confirmation may only delay a stop-out. Its baseline…

ForexMean reversionMachine learningBacktesting
MQL5 articles

In this interview, Boris Odintsov discusses winning the 2010 Automated Trading Championship with an Expert Advisor and returning to the 2011 contest using a revised version. He credits careful modeling and reliable coding, while acknowledging luck and the…

ForexExecutionBacktestingRisk management
MQL5 articles

The article describes an MQL5 system that monitors every open account position and checks whether it has stop-loss and take-profit levels, risk aligned with a set percentage of equity, and a configured risk-to-reward ratio. A timer-driven cycle scans…

Risk managementPosition sizingExecution
MQL5 articles

The article outlines an MQL5 Expert Advisor for the PIRANHA strategy, a volatility-based approach that treats closes beyond Bollinger Bands as potential reversal signals. It describes selling when a bar closes above the upper band and buying when it closes…

ForexMean reversionVolatilityTechnical indicators
MQL5 articles

The article shows how to connect a MetaTrader 5 Expert Advisor to the ICQ instant messaging service using an MQL5 wrapper around a Windows DLL. It describes connecting and reconnecting, sending and receiving text messages, and storing connection state in a…

ExecutionForex
MQL5 articles

The article describes an MQL5 dashboard that ranks currency pairs by price movement across hourly, four-hour, and daily timeframes. Its proposed purpose is to help distinguish whether a pair is moving because its base currency is strengthening or its quote…

ForexMomentumTechnical indicatorsStatistics
MQL5 articles

The article explains how an Expert Advisor can use a Markov transition matrix to classify market behavior and choose between trend-following and mean-reversion approaches. It defines two states from whether a candle closes above or below a moving average,…

ForexTrend followingMean reversionStatistics
MQL5 articles

The article describes the Dingo Optimization Algorithm, a population-based method for searching an optimization space. Each candidate solution is represented as a member of a population, and its position is updated using modeled group attacks, individual…

StatisticsMachine learningBacktesting
MQL5 articles

This article develops an Expert Advisor that uses a Trend Constraint indicator and describes a separate script for drawing risk and reward areas around moving-average crossovers. The script checks fast and slow simple moving averages, identifies bullish and…

Technical indicatorsTrend followingRisk managementBacktesting
MQL5 articles

The article explains how to add a persistent CSV journal to a MetaTrader 5 Expert Advisor that combines automated signals with actions taken through a chart interface. Its central design is a reusable journal class built around the CFileTxt library. The…

ExecutionStatisticsRisk management
MQL5 articles

The article explains how to convert foreign-exchange option quotes from the market’s delta-based format into strikes and a volatility smile. It describes the at-the-money volatility, risk reversal, and butterfly quotes used to define smile pillars, with…

ForexOptionsDerivatives pricingVolatility
MQL5 articles

The article presents a trend-following approach that combines RSI readings with the Acceleration/Deceleration (AC) indicator. RSI is divided into bands that assign a signed index to the depth and direction of a move, while changes across up to five AC bars…

Trend followingMomentumTechnical indicatorsBacktesting
MQL5 articles

This installment describes extending a market replay system to simulate both Bid-based and Last-based tick paths from one-minute bars. It organizes shared price marks and tick counts in a common structure, then separates the mode-specific simulation logic…

ForexBacktestingMarket microstructureStatistics
MQL5 articles

The document turns a Market Entropy Indicator into an MQL5 Expert Advisor with explicit rules for classifying price behavior and generating trades. It calculates entropy over fast, slow, and base periods, alongside momentum, divergence, and compression or…

Technical indicatorsStatisticsMomentumBreakout
MQL5 articles

This article explains why CSV exports from different brokers can produce misleading combined analyses even when they load without errors. It identifies common divergences: pip precision, commission treatment, symbol aliases, server time zones, and account…

StatisticsBacktestingExecutionForex
MQL5 articles

The document outlines an automated gold trading system that pairs EMA crossover entries with a martingale recovery sequence. After a loss, the EA increases position size according to a chosen formula for a limited number of steps; a win resets the sequence.…

CommoditiesTechnical indicatorsRisk managementPosition sizing
MQL5 articles

This article motivates Advantage Actor-Critic by contrasting value-based Q-learning with policy-gradient methods. Q-learning estimates action values and can support stepwise decisions, but its training can be biased and requires exploration choices. Policy…

Machine learningRisk managementBacktestingStatistics
MQL5 articles

This article introduces CatBoost, a gradient-boosted decision tree library that can process categorical features, and describes its ordered encoding and symmetric tree structure. It compares CatBoost with LightGBM and XGBoost, noting tradeoffs in…

ForexMachine learningBacktestingStatistics
MQL5 articles

The article explains MacroHFT, a reinforcement-learning framework for high-frequency cryptocurrency trading. Its original design classifies fixed-length market blocks by trend and volatility, then trains specialized agents for the resulting market regimes. A…

CryptoHigh-frequency tradingMachine learningVolatility
MQL5 articles

This article describes early reliability improvements to an MQL5 market replay system. It introduces a configuration file that lists bar files for historical context and tick files for replay, with checks intended to distinguish the expected file formats and…

BacktestingForexMarket microstructure