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

This article introduces K-nearest neighbors as a non-parametric method for classification and regression, then walks through a classifier implemented in MQL5. For a new observation, the method calculates its Euclidean distance from labeled examples, selects…

Machine learningStatisticsEquitiesBacktesting
MQL5 articles

This programming tutorial explains how a fixed-size ring buffer can support efficient calculations on streaming market data. A conventional moving-average implementation rescans the full window whenever a new observation arrives, so its work grows with the…

Technical indicatorsExecution
MQL5 articles

The article uses Monte Carlo simulations to examine how per-trade risk affects growth, drawdowns, and the ability to withstand losing streaks. It compares synthetic systems with different win rates and reward-to-risk ratios, all presented as having positive…

Risk managementPosition sizingStatisticsBacktesting
MQL5 articles

This tutorial extends an earlier risk-management tool by adding functions to estimate maximum volume from free margin, adjust lot size to a per-trade risk limit, and derive a stop-loss distance from a selected risk and lot. It also explains MQL5 chart…

Risk managementPosition sizingExecution
MQL5 articles

This article compares a EURGBP daily moving-average crossover system with an AI-assisted version. The baseline combines exponential moving averages, a stochastic oscillator, and ATR-based exits. The proposed method trains models on earlier data to estimate…

ForexTechnical indicatorsMachine learningBacktesting
MQL5 articles

The article introduces Mamba, a selective state space model architecture, as an approach to processing long financial time series with linear sequence-length scaling. It explains the hidden-state formulation, input-dependent selection of information, and…

Machine learningStatisticsExecution
MQL5 articles

This article explains how to estimate a market’s dominant cycle and use it to adapt technical indicators. It represents a cycle as a complex signal with in-phase and quadrature components, derives those components with a truncated Hilbert transform, and…

Technical indicatorsStatistics
MQL5 articles

This installment explains how a MetaTrader 5 position-view indicator can work with an Expert Advisor, Chart Trade, and a mouse interaction indicator. The EA manages when the position indicator is added or removed, while the indicator remains a separate…

ExecutionPosition sizing
MQL5 articles

The article presents NRTR, a dynamic channel indicator that signals when closing prices cross a trailing level set from recent highs or lows. Its lookback period grows as a trend develops and resets after a reversal, so earlier prices are excluded from the…

BreakoutTrend followingVolatilityTechnical indicators
MQL5 articles

This article walks through a feed-forward neural network in MQL, from the weighted sums and biases of individual neurons to a network with two hidden layers. It uses hyperbolic tangent activations in the hidden layers and softmax outputs for three trading…

Machine learningForexBacktesting
MQL5 articles

This article explains the Square of 9 as a spiral arrangement of numbers used to project possible price levels and time cycles. It describes the square’s construction, the role of angular and numerical relationships, and the use of price transformations and…

Technical indicators
MQL5 articles

This article introduces dimensionality reduction as a way to manage large, correlated sets of trading indicators. It presents truncated singular value decomposition (SVD), which projects centered data onto a smaller number of components, and non-negative…

Machine learningStatisticsBacktestingTechnical indicators
MQL5 articles

The document examines the tension between non-stationary price levels, which retain historical information, and integer differencing, which can discard that memory. It introduces long-range dependence and fractional differentiation as a way to seek…

StatisticsMachine learningTechnical indicatorsBacktesting
MQL5 articles

This article describes a hand-built candlestick pattern recognizer split between MQL5 and Python. The proposed system extracts open, high, low, and close data, applies geometric rules to candles, and labels formations such as hammers, shooting stars,…

Technical indicatorsStatistics
MQL5 articles

The document explains an automated approach to the Quasimodo reversal pattern. It identifies a sequence of confirmed swing pivots: a shoulder, a pullback leg, a more extreme head, and a break through the leg that signals a possible reversal. The program…

Technical indicatorsBreakoutRisk managementPosition sizing
MQL5 articles

The document introduces Recurrence Quantification Analysis (RQA) as a way to measure repeated patterns in time series. It explains time-delay embedding, distance calculations between reconstructed states, and thresholding those distances to form a recurrence…

StatisticsTechnical indicatorsMachine learning
MQL5 articles

The document describes a custom MQL5 indicator for marking confirmed smash day reversal patterns. A bullish setup begins when a bar closes below the lows of a selected number of earlier bars without being an outside bar; confirmation occurs when price rises…

Technical indicatorsBreakoutMean reversion
MQL5 articles

The document explains the Dream Optimization Algorithm (DOA), a population-based method that could be used to tune trading-system parameters. It divides candidate solutions into groups with different numbers of dimensions to modify. During exploration, group…

Machine learningBacktestingStatistics
MQL5 articles

This article describes a cross-market trend-following method that combines each market’s own momentum with momentum from markets that tend to lead it. It first scales price changes by estimated volatility, then forms moving-average crossover oscillators at…

Multi-assetForexTrend followingMomentum
MQL5 articles

The article presents ACEFormer, a neural architecture for forecasting financial time series, especially noisy and irregular high-frequency data. Its pipeline first smooths inputs with convolutional filters, then applies an adaptive ensemble empirical mode…

Machine learningStatisticsHigh-frequency trading
MQL5 articles

This article explains how a MetaTrader 5 trade request moves from the terminal to the server, becomes an order, and may produce deals that change positions. It distinguishes request validation from execution: a successful basic check or an accepted request…

ExecutionMarket microstructureRisk management
MQL5 articles

This beginner guide walks through building a C++ dynamic library in Visual Studio 2017 and connecting it to MetaTrader. It covers project setup, Unicode configuration, copying the build output into the terminal’s library folder, and exporting functions with…

Execution
MQL5 articles

This article describes an MQL5 program that connects to an AI chat service and presents a multi-turn conversation in a scrollable chart-based interface. The interface design includes timestamps, conversation history, scrollbar display modes, mouse-wheel…

Machine learningExecution
MQL5 articles

This MQL5 cookbook installment adapts an existing Expert Advisor to use a selectable indicator as part of its position-opening conditions. The example offers a Moving Average, Commodity Channel Index, or custom price-channel indicator. It explains how to…

Technical indicatorsBacktestingExecution