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
Alphalens
14 documents
WonderTrader
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

The article presents a polynomial regression channel for describing price trends that curve or accelerate, which a straight regression line may not capture well. It fits a polynomial to prices over a configurable lookback window, then calculates upper and…

Technical indicatorsStatisticsVolatilityBreakout
MQL5 articles

This article describes an Expert Advisor built around two Commodity Channel Index readings, a 34-period exponential moving average, and optional Average True Range-based stops and targets. A long setup requires the faster CCI to be above zero, the slower CCI…

ForexMomentumTechnical indicatorsRisk management
MQL5 articles

The article explains how to organize economic calendar information in a SQLite database from MQL5. It introduces the platform’s native database functions and a reusable database class for opening databases, creating tables, issuing queries, and working with…

Multi-assetEvent-drivenStatistics
MQL5 articles

This article describes a tool that measures the relationship between two currency pairs, using EUR/USD and GBP/USD as its example. It explains correlation coefficients from negative to positive values and discusses how strongly related pairs can create…

ForexStatisticsPortfolio construction
MQL5 articles

This article explains how to collect government bond yields from web pages and use them to derive interest rate differentials for forex analysis. It describes finding the data source in a page or its linked resources, extracting the quoted yield, and…

ForexFixed incomeTechnical indicatorsMachine learning
MQL5 articles

This article presents a MetaTrader 5 class that substitutes limit orders for a position’s built-in take profit. The proposed approach can support staged or partial exits by assigning limit orders volumes smaller than the position. It integrates by routing an…

ExecutionRisk managementPosition sizing
MQL5 articles

The article shows how to extend the MQL5 Wizard with a custom trailing module derived from the Standard Library’s CExpertTrailing class. It explains the module’s initialization and validation hooks, indicator setup where needed, and the long- and…

Risk managementExecutionPosition sizing
MQL5 articles

The article presents a proof of concept for developing a C++ shared library on Linux that can be consumed by MQL5 and run in MetaTrader 5 on Windows. It explains the roles of Wine, which runs Windows applications in a Linux environment, and MinGW, which…

ExecutionHigh-frequency trading
MQL5 articles

The article explains how to encode common candlestick formations in MQL5 and mark detected patterns on a chart. It covers single-candle Doji and Hammer patterns, two-candle formations such as Engulfing, Piercing Line, and Dark Cloud Cover, and three-candle…

Technical indicatorsForexEquities
MQL5 articles

The article describes an MQL5 module that checks account-wide daily profit and loss on each tick and halts its host Expert Advisor when a configured loss threshold is reached. It calculates realized results from closing deals since broker server midnight,…

Risk managementExecutionStatistics
MQL5 articles

This tutorial explains a workflow for using a neural network trained in NeuroSolutions 5 from an MQL5 Expert Advisor. Its example strategy predicts a daily bar’s close at the bar’s opening, using OHLC data from five previous bars represented as changes…

ForexMachine learningBacktestingExecution
MQL5 articles

This article outlines a foreign-exchange forecasting system that combines a fine-tuned Llama language model with a Self-Evolving Adversarial Learning agent. It describes building labeled examples from MetaTrader data, balancing upward and downward classes,…

ForexMachine learningStatisticsBacktesting
MQL5 articles

The article describes an automated strategy for regular RSI divergence. It stores recent confirmed swing highs and lows, then compares price and RSI across swing pairs separated by a configurable number of bars. A lower price low alongside a higher RSI low…

ForexTechnical indicatorsMomentumMean reversion
MQL5 articles

This article presents an execution filter for a multi-symbol trading system. It tracks each symbol’s spread, compares spread with an absolute limit and an ATR-based threshold, and ranks eligible markets by cost efficiency. Symbols with unfavorable spreads…

Multi-assetExecutionMarket microstructureTechnical indicators
MQL5 articles

The article introduces Nelder–Mead as a derivative-free method for minimizing an objective function by moving a simplex through parameter space. It describes sorting simplex vertices by objective value, calculating the centroid excluding the worst vertex,…

StatisticsMachine learningBacktesting
MQL5 articles

This interview profiles Ilnur Khasanov’s Automated Trading Championship 2011 Expert Advisor and his early experience with automated Forex trading. He describes a simple trend-following system on a five-minute chart: a moving average forms the core signal,…

ForexTrend followingTechnical indicatorsRisk management
MQL5 articles

The article explains ST-Expert, a neural forecasting framework intended to handle changing relationships among financial assets. It frames market data as a sequence of regimes, each with its own correlation structure, and proposes combining learned…

Machine learningStatisticsMulti-assetEquities
MQL5 articles

This article describes an automated divergence strategy using RSI, a 200-period EMA, and the Stochastic Oscillator. The EMA filters direction: the strategy seeks buys above it and sells below it. RSI and corresponding price swings identify hidden bullish or…

Technical indicatorsMean reversionRisk managementPosition sizing
MQL5 articles

This article walks through a single-layer neural network intended to predict a continuous market price value. It explains the forward pass as matrix multiplication of inputs by weights, addition of biases, and application of an activation function. It…

Machine learningStatisticsEquities
MQL5 articles

This article describes a deliberately speculative Expert Advisor designed to multiply a deposit with some probability while accepting a high chance of losing it. The proposed method enters randomly in either direction, holds for a chosen period, then exits…

ForexRisk managementPosition sizingStatistics
MQL5 articles

This article uses Monte Carlo resampling to examine how an Expert Advisor’s historical trade outcomes might vary in future sequences. Its main method is a bootstrap: sample historical relative trade returns with replacement, generate many sequences, and…

BacktestingStatisticsRisk managementPosition sizing
MQL5 articles

This tutorial explains how long short-term memory (LSTM) and gated recurrent unit (GRU) networks process sequences. It describes their gates and state updates, and contrasts them with simple recurrent networks, which can struggle to learn long-range patterns…

ForexMachine learningStatisticsBacktesting
MQL5 articles

This tutorial explains object-oriented programming concepts in MQL5 through a visual interface project. It introduces event-driven program flow and the roles of encapsulation, inheritance, and polymorphism, then applies them to a hierarchy of cells, rows,…

Execution
MQL5 articles

The article introduces logistic regression as a binary classification method. It explains how a linear combination of features is passed through a sigmoid function to produce a probability between zero and one, then describes using a threshold to assign a…

Machine learningStatistics